Command = 0x16
Register ID = 0x0005
Data = 0
20160005:;
80160005:3382145;
Command = 0x16
Register ID = 0x0005
Data = 3382145
Status = 0x10 (success)
Command = 0
Register ID = 0
Data = 0
Status = 0x1 (in progress)
EIP Rincmd
Result Instance
(read by PLC)
Rincmd
Protocol
EIP Rincmd
Initiate Instance
(written by PLC)
Command change initiates command and clears result
Rincmd message
sent to C500-K501
Response to command populates result
Operating the simple operation initiate and result assembly object instances
The PLC should populate the simple operation initiate structure to initiate a simple operation. The simple
operation is translated internally into a rincmd message sent to the C500. The command should be selected
from the simple operations Section 20.3.3, or 0 to clear the previous command. The data should be set as
required for the simple operation, otherwise set to 0 for reads (although not strictly necessary). Once the
command has completed, the command and data will appear in the simple operation result instance, along
with status flags to indicate the success or otherwise of the simple operation.
The order of writing to initiate a simple operation must be:
1. Set the initiate instance command to 0
2. Set the initiate instance data
3. Set the initiate instance command to the desired command to initiate the simple operation
Polling the simple operation result assembly instance to get the result:
1. While the simple operation is in progress, the in progress flag will be set
2. Once the simple operation has completed, one of the success, or error flags will be set
3. Verify the command value matches the command set in the simple operation initiate instance
4. Read the data from the data value
Example: Setting the target 1 (simple operation 1000) to value 12345
1. Set the initiate instance command to 0
2. Set the initiate instance data to 12345
3. Set the initiate instance command to 1000 (set target 1)
4. Poll the result instance status flags until the success flag is set
5. Confirm the result instance command matches the initiate instance command (1000)
6. The result data field is not required in this example
111 C500-600-2.0.3