Chapter 9
Communication instructions
Parameter
Cancel
TriggerType
StrMode
190
CIPCONTROLCFG data type
The following table describes the CIPCONTROLCFG data type.
Data type
Description
BOOL
TRUE - Cancel the execution of the function block.
Bit is cleared when the message is enabled.
USINT
Represents one of the following:
• 0: Msg Triggered Once (when IN goes from False to True)
• 1 to 65535: Cyclic trigger value in milliseconds. Msg is triggered periodically when IN is True. Set the
value to 1 to trigger the MSG as quickly as possible.
USINT
Reserved for future use.
Message cancellation
If the Cancel parameter is set, and the message is enabled (EN bit is set) and not
done (DN bit is not set), then the message execution is aborted and the ER bit is
set.
CIP message triggering
A CIP message can be triggered periodically by setting a non-zero value to the
TriggerType parameter. The following table describes what happens when the
TriggerType parameter is used.
Action
Message is enabled
Trigger timer expires before the message
completes
Message completes before the trigger time
expires
Example: message triggering
In the following example, the TriggerType value is set to 100.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Results
Trigger timer starts
Message is immediately triggered in the next ladder
scan cycle.
Message is triggered when the trigger time expires.