Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 44

Advertising
background image

38

Rockwell Automation Publication 2080-QS002A-EN-E - April 2013

Appendix A MSG_CIPSYMBOLIC Function Block

Status

Output

CIPSTATUS

Instruction execution status. When a MSG is triggered (or re-triggered), all elements inside Status
are reset. This is a structured data type. It consists of the following elements:

Status.Error (Boolean)

This bit is set to TRUE when function block execution encountered an error condition.

Status.ErrorID (UINT)

Error code value. See

CIP Error Message Codes on page 45

.

Status.SubErrorID (UDINT)

Sub Error code value. See

CIP Error Message Codes on page 45

.

Status.ExtErrorID (UINT)

CIP extended status error code value

Status.StatusBits (UINT)

This parameter can be used to verify various control bits.
- Bit 0: EN – Enable
- Bit 1: EW – Enable Wait
- Bit 2: ST – Start
- Bit 3: ER – Errors (same state as Q)
- Bit 4: DN – Done (same state as Q)
- Other bits are reserved.

DataLength

Output

UINT

CIP read message response data length and CIP write message request data length (Unit: Byte).
When a read MSG is triggered (or re-triggered), ResLength is reset to 0.
Range: 0...490

MSG_CIPSYMBOLIC Parameters

Parameter

Parameter
Type

Data Type

Description

Advertising
This manual is related to the following products: