Rockwell Automation 1770-KF2 Data Highway or Highway Plus Interface Module User Manual User Manual

Page 127

Advertising
background image

Message Packet Formats

Chapter 5

5-48

The STS and EXT STS bytes contain status and error code information.
For more information on these bytes, see the “Error Codes” section in this
document.

Read-Modify-Write

Use this command to take the contents of each location specified:

AND them with the appropriate AND mask.
OR them with the appropriate OR mask.
Restore them to their location, one word at a time.

The command parameters that follow the FNC byte in the example can be
repeated up to a length of 243 bytes.

TNS

STS

CMD

0F

SRC

DST

FNC

26

AND

MASK

OR

MASK

PLC-5 SYSTEM

ADDRESS

Command Format:

The PLC-5 system address must point to a word, and can be either a
logical binary address or a logical ASCII address with up to 51 bytes of
specification.

The AND and OR masks are two bytes each with the low byte first.

Reply Format:

TNS

STS

CMD

4F

SRC

DST

EXT

STS

The STS and EXT STS bytes contain status and error code information.
For more information on these bytes, see the “Error Codes” section in this
document.

Set Processor Mode

Use this command to set the Operating mode of the processor at the next
I/O scan. The Operating mode is set to the mode indicated in the flag byte
(shown below). A no privilege error is returned if the requestor does not

Advertising