MSG_PCCC (programmable controller communication commands message)
The MSG_PCCC instruction sends a PCCC message over an Ethernet channel or a serial port.
The commands supported: SLC Typed Read and SLC Typed Write.
Operation details:
- When sending the PCCC message over an Ethernet channel and more than four function block requests are in queue for CIP_GENERIC_FB, CIP_SYMBOLIC, or PCCC_MSG_FB, up to four messages per channel can be processed in one scan.For ladder diagram programs, message requests are executed at the end of a ladder scan.
- When sending the PCCC message over a serial port and more than eight function block requests are in queue for serial communication, a total of eight messages on all channels can be processed in one scan.For ladder diagram programs, message requests are executed at the end of a ladder scan.
Languages supported: Function block diagram, ladder diagram, structured text.
The instruction applies to the L70E and L50E controllers.
MSG_PCCC

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
IN | Input | BOOL | Rung input state.
|
CtrlCfg | Input | CIPCONTROLCFG | Function block execution control configuration. Use the CIPCONTROLCFG data type to define CtrlCfg. |
TargetCfg | Input | CIPTARGETCFG | Target device configuration. Use the TARGETCFG data type to define TargetCfg. |
Q | Output | BOOL |
|
Status | Output | CIPSTATUS | The execution status of the function block. When an MSG instruction is triggered or retriggered, all the Status elements are reset. The Status output is defined in CIPSTATUS data type. |
DataLength | Output | UINT | The number of data bytes for CIPPCCC message response. When an MSG is triggered or retriggered, DataLength is reset to 0. DataLength is supported when a PCCC message is sent over an Ethernet channel. |
MSG_PCCC examples
MSG_PCCC function block diagram example

MSG_PCCC ladder diagram program example

MSG_PCCC structured text program example

Provide Feedback