Communication instructions Chapter 9
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 175
Parameter Parameter type Data type Description
ResData Input USINT[1..1] CIP message response data. The array size should not be less than the
‘ResLength’ size.
When a MSG is triggered or re-triggered, data in the ResData array is cleared.
Q Output BOOL
Outputs of this instruction are updated asynchronously from the program scan.
Output Q cannot be used to re-trigger the instruction since IN is edge triggered.
TRUE - MSG instruction is finished.
FALSE - MSG instruction is not finished.
Status Output CIPSTATUS Function block execution status
When a MSG is triggered, or re-triggered, all elements inside Status are reset.
See CIPSTATUS data type on page 178.
ResLength Output UINT CIP message response data length:
• 0 - 490
When a MSG is triggered, or re-triggered, ResLength is reset to 0.
MSG_CIPGENERIC function language examples
Function block diagram