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

Page 47

Advertising
background image

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

41

MSG_CIPGENERIC Function Block Appendix B

ResData

Input

USINT

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 ResData array is cleared.
This is an Input/Output parameter.

Q

Output

BOOLEAN

TRUE: MSG instruction is finished successfully.
FALSE: Not finished.
After ‘Q’ is true, even when ‘IN’ turns to false, the Q stays true until ‘IN’ is triggered again.

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 – Error (same state as Q)
- Bit 4: DN – Done (same state as Q)
- Other bits are reserved.

ResLength

Output

UINT

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

MSG_CIPGENERIC Parameters

Parameter

Parameter
Type

Data Type

Description

Advertising
This manual is related to the following products: