Rockwell Automation 61C613 16 Channel Analog Input Module User Manual
Page 26
![background image](/manuals/580566/26/background.png)
4Ć10
4.3.4
Reading Data with the AutoMate
The following example is an AutoMate program that will read data
converted in the continuous mode from the module.
EN
EN
MOVMR
LENGTH: 1
40.04
EN
EN
MOVMR
LENGTH: 1
40.05
EN
EN
MOVMR
LENGTH: 1
DEST: 2002
VALUE:
I/OĆM: M
B,H,W,S: B
40.06
After the ready bit is enabled, the read can be reĆ
quested using the move memory to register
(MOVMR) command.
These blocks read slot #4 at base address 0, 1, and
2 or M+0, M+1, and M+2.
SOURCE
ADDRESS IS 400000
SOURCE
ADDRESS IS 400001
SOURCE
ADDRESS IS 400002
DESTINATION
REGISTERS
ARE
2000 Ć 0013 Ć M+0 Ć RESETOK
2001 Ć 0000 Ć M+1 Ć 0
2002 Ć 0000 Ć M+2 Ć 0
READY
2003.00
READY
2003.00
READY
2003.00
ADDRS: 400002
DEST: 2001
VALUE:
I/OĆM: M
B,H,W,S: B
ADDRS: 400001
DEST: 2000
VALUE:
I/OĆM: M
B,H,W,S: B
ADDRS: 400000
The MOVMR function block is used for both the setup data feedback
and reading the analog inputs.