
PCCC Commands
Chapter 5
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
89
Request Format: [packet offset] [total transaction][PLC-5 system address] [size]
•
[packet offset] 2 bytes, offset in number of 16-bit words
•
[total transaction] 2 bytes, number of 16-bit words in complete transaction
•
[PLC-5 system address]
•
[size] is 1 byte, number of bytes and must be even in number
Reply Format: [data]
[data] up to 244 bytes
See also
The word range write command writes a block of words starting at the
PLC-5 system address plus the word offset.
Request Format: [packet offset] [total transaction][PLC-5 system address] [data]
•
[packet offset] 2 bytes, offset in number of 16-bit words
•
[total transaction] 2 bytes, number of 16-bit words in complete transaction
•
[PLC-5 system address]
•
[data]
Reply Format:
no data; only status
See also
The Bit Write (CMD=0F, 4F; FNC=02) command sets and resets bits in a
single word specified by the PLC-5 logical address. It changes a single word
in a command.
For the 3-field sequence, the Bit Write (CMD=0F, 4F; FNC=02) command:
•
Copies the specified word.
•
Sets the bits specified in the [SET mask].
•
Resets the bits specified in the [RESET mask].
•
Writes the word back.
Request Format: [PLC-5 system address][SET mask][RESET mask]
•
[PLC-5 system address] specifies the word to be modified.
•
[SET mask] is 2 bytes (low byte first) specifying which bits in the word to set (1=set to 1)
•
[RESET mask] is 2 bytes (low byte first) specifying which bits in the word to reset (1=reset to 0)
Reply Format:
no data; only status
Word Range Write (CMD=0F, 4F;
FNC=00)
Bit Write (CMD=0F, 4F; FNC=02)