B - msg_cipgeneric function block, Msg_cipgeneric function block, Msg_cipgeneric – Rockwell Automation 2080-LC50 Micro800 Controllers: Getting Started with CIP Client Messaging User Manual

Page 45: Appendix

Advertising
background image

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

39

Appendix

B

MSG_CIPGENERIC Function Block

This diagram shows the arguments in the MSG_CIPGENERIC function block.

The following table explains the arguments used in this function block.

MSG_CIPGENERIC Parameters

Parameter

Parameter
Type

Data Type

Description

IN

Input

BOOLEAN

If Rising Edge (IN turns from 0 to 1), starts function block and the precondition is that last operation
is completed.

CtrlCfg

Input

CIPCONTROLCFG

Control Configuration. This is a structured data type, it consists of the following elements:

CtrlCfg.Cancel (Boolean)

- When this value is true, the execution of MSG_CIPGENERIC is cancelled.
- The bit is cleared when message is enabled.

CtrlCfg.TriggerType (UDINT)

- If set to “0”, then the message only trigger once when “IN” is true.
- If set to 1 to 65535 (unit : milliseconds), then triggers periodically when “IN” is true. For
example a value of 100 means when “IN” is true, the message is triggered every 100
milliseconds.

CtrlCfg.StrMode (USINT)

- Reserved.

Advertising
This manual is related to the following products: