Programming examples chapter 8 – Rockwell Automation 1775-KA PLC-3 Communication Adapter Module User Manual User Manual

Page 97

Advertising
background image

Programming Examples

Chapter 8

8Ć3

Figure 8.3

Writing Data to a Remote PLC/PLC-2 Station

10034-I

Data Type

Assignment Statement

File

#H021$040 = $B3

Destination PLC/PLC–2 file

Word range

#H021$040 = $B3:5,20

Destination file must be large
enough to accept all words
being transferred.

20 words starting at
word 5 of binary file 3

Word

#H021$040 = $B3:5/13

Bit

#H021$040/5 = $B3:5/13

Decimal bit numbers

must be at least as large as
source PLC–3 file.

Priority Write

#H021$040 <= $B3:5

Priority assignment
command

Unprotected Write ––
(refer to publication 1771–802 or 1774–6.5.8.)

affected by switch settings at remote PLC/PLC–2 station

#H021$040 = $B3:5

U Unprotected command

Space required

Advertising