Rice Lake Allen-Bradley Remote I/O User Manual

Page 26

Advertising
background image

22

Remote I/O Installation and Programming Manual

5.3

Using Block Transfer to Set and Read Setpoint Values

The following program example uses block transfer commands to write setpoint values to the

520

,

820i

, or

920i

indicator (block write/block read command 335), then read the values for the setpoint (block write/block read
command 319). See Section 4.0 for more information about the Set and Read Setpoint Value block transfer
commands.

[END]

BTW

1

BTR

BTW

2

BTR

N10:0

N10:5

15

BTR

enable bit

15

BTW

enable bit

N10:0

N10:5

15

BTR

enable bit

15

BTW

enable bit

N10:0

N10:5

15

BTR

enable bit

15

BTW

enable bit

N10:0

N10:5

15

BTR

enable bit

15

BTW

enable bit

0

3

BLOCK TRANSFER WRITE COMMAND 335:SET SETPOINT VALUES

BLOCK TRANSFER READ COMMAND 319:SET SETPOINT VALUES (READ RESPONSE CODE)

BLOCK TRANSFER READ COMMAND 319:SET SETPOINT VALUES

BLOCK TRANSFER WRITE COMMAND 335:READ SETPOINT VALUES

Rack 3
Group 2
Module 0
Ctl Blk

#N10:5

Data File #N11:10
Length 10
Continuous NO

Rack 3
Group 2
Module 0
Ctl Blk

#N10:0

Data File #N11:0
Length 2
Continuous NO

Rack 3
Group 2
Module 0
Ctl Blk

#N10:5

Data File #N11:10
Length 2
Continuous NO

Rack 3
Group 2
Module 0
Ctl Blk

#N10:0

Data File #N11:0
Length 10
Continuous NO

Advertising