84 Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
This Protected Write command provides a protected write capability for the
PLC-2 commands.
Request Format: [PLC-2 address] [data]
[PLC-2 address] 2-bytes; byte offset from start of file, on 16-bit boundary, low byte first
• [data]
Reply Format:
no data-only status
See also
PCCC Commands on page 81
PLC-2 Communication Commands on page 83
This command provides a basic write capability for the PLC-2 commands.
Request Format: [PLC-2 address] [data]
• [PLC-2 address] 2-bytes; byte offset from start of file, on 16-bit boundary, low byte first
• [data]
Reply Format:
no data-only status
See also
PLC-2 Communication Commands on page 83
The Protected Bit Write (CMD=02, 42; FNC not present) command provides
a protected bit write capability for the PLC-2 commands.
For each 3-field set, the command performs this sequence:
1. Copy the specified byte from limited areas of memory
2. Set the bits specified in the [SET mask]
3. Reset the bits specified in the [RESET mask]
4. Write the byte back.
Request Format: [PLC-2 address][SET mask] [RESET mask] + repeats(1)
[PLC-2 address] 2-bytes; byte offset from start of file, on 16-bit boundary, low byte first
• [SET mask] is 1 byte (1=set to 1)
• [RESET mask] is 1 byte (1=reset to 0)
Reply Format:
no data-only status
Protected Write (CMD=00, 40;
FNC not present)
Unprotected Write (CMD=08,
48; FNC not present)
Protected Bit Write (CMD=02,
42; FNC not present)