beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 259

background image

12Ć7

12.1.4

Example of an I/O Read Instruction

When switch1 is true, the instruction reads one

word of data from register 300 of the I/O

module in slot 4 of the AutoMax rack. This data

is placed in the variable pump.

If you were to use an address instead of a slot

and register location, the example would look

like the instruction below. The Address of

240258H is derived by this formula:

base register address of slot 4 + 2

the register number

Consequently, 240000H + 2(300)=240258H.