
PCCC Commands
Chapter 5
Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
85
See also
This command provides a bit write capability for the PLC-2 commands.
For each 3-field set, this command performs th
is
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
See also
Each PLC-5 command requires a
system address
in one of these forms:
•
Logical binary or logical ASCII
, which addresses data by
file
and
element
.
•
The first level of the logical binary must be 0. This is required to
access controller-scoped tags.
•
The second level is the
file
number. This is also the level following
the letters in the logical ASCII form.
•
The next 1, 2, or 3 levels correspond to the array dimension indices
as follows: data[1][2][3].
•
Any subsequent levels of logical address access parts of the
complex types. See CIP data types
Important:
Logical addressing requires use of data table mapping. Use a Logix array tag that matches the data type of the PLC5 file.
Members of SINT, INT, DINT, and REAL arrays are contiguous in Logix memory. For more information on Logical
addressing, see the
DF1 Protocol and Command Set Manual
•
Symbolic,
which addresses data directly by a tag name.
Unprotected Bit Write
(CMD=05, 45; FNC not present)
PLC-5 Communication
Commands