Specify CIP Messages
The CIP Data Table Read and Write message types transfer data between
Logix 5000
controllers.Select this command | If you want to |
---|---|
CIP Data Table Read | Read data from another controller. The Source and Destination types must match. |
CIP Data Table Write | Write data to another controller. The Source and Destination types must match. |
Reconfigure an I/O Module
Use the Module Reconfigure message to send new configuration information to an I/O module.
During the reconfiguration, the following occurs:
- Input modules continue to send input data to the controller.
- Output modules continue to control their output devices.
A Module Reconfigure message requires this configuration properties.
In this property | Select |
---|---|
Message Type | Module Reconfigure |
Example
Follow these steps to reconfigure an I/O module.
- Set the required member of the configuration tag of the module to the new value.
- Send a Module Reconfigure message to the module.When reconfigure[5] is set, set the high alarm to 60 for the local module in slot 4. The Module Reconfigure message then sends the new alarm value to the module. The one shot instruction prevents the rung from sending multiple messages to the module while the reconfigure[5] is on.TIP:We recommend that you always include an XIO of the MSG.EN bit as an in-series MSG rung precondition.
Relay Ladder
Structured Text
IF reconfigure[5] AND NOT reconfigure[6]THEN Local:4:C.Ch0Config.HAlarmLimit := 60;
IF NOT change_Halarm.EN THEN MSG(change_Halarm);
END_IF; END_IF;
reconfigure[6] := reconfigure[5];
Specify CIP Generic Messages
IMPORTANT:
ControlLogix modules have services that can be invoked by using a MSG instruction and choosing the CIP Generic message type.
If you want to | In this property | Type or select | |
---|---|---|---|
Perform a pulse test on a digital output module | Message Type | CIP Generic | |
Service Type | Pulse Test | ||
Source | tag_name of type INT [5] | ||
This array contains | Description | ||
tag_name[0] | Bit mask of points to test (test only one point at a time) | ||
tag_name[1] | Reserved, leave 0 | ||
tag_name[2] | Pulse width (hundreds of , usually 20) | ||
tag_name[3] | Zero cross delay for ControlLogix I/O (hundreds of , usually 40) | ||
tag_name[4] | Verify delay | ||
Destination | Blank | ||
Get audit value | Message Type | CIP Generic | |
Service Type | Audit Value Get | ||
Source Element | Cannot change this field, blank | ||
Source Length | Cannot change this field, set to 0 bytes | ||
Destination Element | This array contains | Description | |
tag_name of type DINT[2] or LINT | This tag contains the Audit Value for the controller. Important: Rockwell Automation recommends using the DINT[2] data type to avoid limitations when working with LINT data types in Allen-Bradley® controllers. | ||
Get controller events monitored for changes | Message Type | CIP Generic | |
Service Type | Changes to Detect Get | ||
Source Element | Cannot change this field, blank | ||
Source Length | Cannot change this field, set to 0 bytes | ||
Destination Element | This array contains | Description | |
tag_name of type DINT[2] or LINT | This tag represents a bit mask of the changes monitored for the controller. Important: Rockwell Automation recommends using the DINT[2] data type to avoid limitations when working with LINT data types in Allen-Bradley controllers. | ||
Set controller events monitored for changes | Message Type | CIP Generic | |
Service Type | Changes to Detect Set | ||
Source Element | This array contains | Description | |
tag_name of type DINT[2] or LINT | This tag represents a bit mask of the changes monitored for the controller. Important: Rockwell Automation recommends using the DINT[2] data type to avoid limitations when working with LINT data types in Allen-Bradley controllers. | ||
Source Length | Cannot change this field, set to 8 bytes | ||
Destination Element | Cannot change this field, blank | ||
Reset electronic fuses on a digital output module | Message Type | CIP Generic | |
Service Type | Reset Electronic Fuse | ||
Source | tag name of type DINT This tag represents a bit mask of the points to reset fuses on. | ||
Destination | Leave blank | ||
Reset latched diagnostics on a digital input module | Message Type | CIP Generic | |
Service Type | Reset Latched Diagnostics (I) | ||
Source | tag_name of type DINT This tag represents a bit mask of the points to reset diagnostics on. | ||
Reset latched diagnostics on a digital output module | Message Type | CIP Generic | |
Service Type | Reset Latched Diagnostics (O) | ||
Source | tag_name of type DINT This tag represents a bit mask of the points to reset diagnostics on. | ||
Unlatch the alarm of an analog input module | Message Type | CIP Generic | |
Service Type | Select which alarm that you want to unlatch. • Unlatch All Alarms (I) • Unlatch Analog High Alarm (I) • Unlatch Analog High High Alarm (I) • Unlatch Analog Low Alarm (I) • Unlatch Analog Low Low Alarm (I) • Unlatch Rate Alarm (I) | ||
Instance | Channel of the alarm to unlatch. | ||
Unlatch the alarm of an analog output module | Message Type | CIP Generic | |
Service Type | Select which alarm that you want to unlatch. • Unlatch All Alarms (O) • Unlatch High Alarm (O) • Unlatch Low Alarm (O) • Unlatch Ramp Alarm (O) | ||
Instance | Channel of the alarm to unlatch. |
Get/Set Controller Events Monitored for Changes Bit Definitions
Tag Names | Data Type | Bit Definition |
---|---|---|
Get Controller Events Monitored for Changes Set Controller Events Monitored for Changes | DINT[0] | Each bit has a specific meaning: 0 Store to removable media through Logix Designer application 1 Online edits were accepted, tested, or assembled 2 Partial import online transaction completed 3 SFC Forces were enabled 4 SFC Forces were disabled 5 SFC Forces were removed 6 SFC Forces were modified 7 I/O Forces were enabled 8 I/O Forces were disabled 9 I/O Forces were removed 10 I/O Forces were changed 11 Firmware update from unconnected source 12 Firmware update via removable media 13 Mode change via workstation 14 Mode change via mode switch 15 A major fault occurred 16 Major faults were cleared 7 Major faults were cleared via mode switch 118 Task properties were modified 19 Program properties were modified 20 Controller timeslice options were modified 21 Removable media was removed 22 Removable media was inserted 23 Safety signature created 24 Safety signature deleted 25 Safety lock 26 Safety unlock 27 Constant tag value changed 28 Constant tag multiple values changed 29 Constant tag attribute cleared 30 Tag set as constant 31 Custom log entry added |
DINT[1] | 32 Change that affects correlation 33 Helps protect signature in Run mode attribute set 34 Helps protect signature in Run mode attribute cleared 35…63 Unused |
TIP:
- Selecting theCIP Genericmessage type enables theLarge Connectionoption on theCommunicationtab. Use large CIP Generic connections when a message is greater than 480 bytes. 500 bytes is typical, but there are headers at the front of the message. Large CIP connections are for messages up to 3980 bytes.
- TheLarge Connectionbox is enabled only when theConnectedbox is checked andCIP Genericis selected as the message type on theConfigurationtab.
- TheLarge Connectionoption is available only in Logix Designer application, version 21.00.00 or later and RSLogix 5000 software, version 20.00.00 or later.
Provide Feedback