MSG_CIPSYMBOLIC (common industrial protocol symbolic message)

The MSG_CIPSYMBOLIC instruction sends a common industrial protocol (CIP) symbolic message over an Ethernet channel or a serial port.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
MSG_CIPSYMBOLIC
MSG_CIPSYMBOLIC

MSG_CIPSYMBOLIC operation

When the function block is enabled, the receive buffers for the Read operations are cleared on the rising edge of Enable.

Arguments

MSG_CIPSYMBOLIC parameters
Parameter
Parameter Type
Data Type
Description
IN
Input
BOOL
Rung input state.
  • TRUE: Rising edge detected, start the instruction block with the precondition that the last operation has been completed.
  • FALSE: Rising edge not detected, idle.
CtrlCfg
Input
CIPCONTROLCFG
The instruction block execution control configuration. Use the CIPCONTROLCFG parameters to define CtrlCfg.
SymbolicCfg
Input
Information for the symbol for Read and Write.
TargetCfg
Input
CIPTARGETCFG
Target device configuration.
Use the CIPTARGETCFG parameters to define TargetCfg.
Data
Input
USINT[1..1]
Read command stores the data returned from the server.
Write command buffers the data to be sent to the server.
When an MSG is triggered or re-triggered, Data is cleared for the MSG Read command.
Q
Output
BOOL
Outputs of this instruction are updated asynchronously from the program scan. Output Q cannot be used to re-trigger the instruction because IN is edge triggered.
  • TRUE: MSG instruction finished successfully.
  • FALSE: MSG instruction is not finished.
Status
Output
CIPSTATUS
Function block execution status
When an MSG is triggered, or re-triggered, all elements inside Status are reset.
The Status output is defined in  CIPSTATUS data type.
DataLength
Output
UINT
Number of data bytes for Read service. For Write service, it's 0.
When an MSG is triggered or re-triggered, DataLength is reset to 0 for MSG Read command.

MSG_CIPSYMBOLIC examples

MSG_CIPSYMBOLIC function block diagram example
MSG_CIPSYMBOLIC function block diagram example
MSG_CIPSYMBOLIC ladder diagram example
MSG_CIPSYMBOLIC ladder diagram example
MSG_CIPSYMBOLIC structured text example
MSG_CIPSYMBOLIC structured text example
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal