Rockwell Automation 1756-XXXX ControlLogix Digital I/O Modules User Manual

Page 220

Advertising
background image

220

Rockwell Automation Publication 1756-UM058G-EN-P - November 2012

Appendix C

Use Ladder Logic To Perform Run Time Services and Reconfiguration

CST_Information SINT[20]

Current CST Time from Module

CST_Information[0]

Current_Time DINT[2]

8

Status of CST in Module
Bit0: 0 = timer OK, 1 = timer fault
Bit1: 0 = no ramping, 1 = ramping (ramping indicates that once
time is synchronized, it will correct errors by slowly ramping to
the master’s time)
Bit2: 0 = not time master, 1 = time master (that is, controller)
Bit3: 0 = time not synced, 1 = time synced with master

CST_Information[8]

CST_Status INT

2

Size of timer in bits

CST_Information[10]

CST_Timer_Size INT

2

Unused

CST_Information[12]

CST_reserved

8

WHO_Information SINT[47]

Device manufacturer’s vendor ID (1 = AB)

WHO_Information[0]

WHO_vendor
INT

2

Device’s product type (7 = Digital I/O)

WHO_Information[2]

WHO_product_type
INT

2

Device’s catalog code which maps to its catalog number

WHO_Information[4]

WHO_catalog_code
INT

2

Device’s major revision

WHO_Information[6]

WHO_major_revision
SINT

1

Device’s minor revision

WHO_Information[7]

WHO_minor_revision
SINT

1

Device’s internal status
Bit 0: 0 = unowned, 1 = owned
Bit 2: 0 = unconfigured, 1 = configured
Bits 7…4: forms a 4-bit number indicating Device Specific Status
For Digital I/O:

0 = Self-Test
1 = Flash update in progress
2 = Communication fault
3 = Not owned
4 = Unused
5 = Internal fault (module needs to be flash updated)
6 = Run mode
7 = Program mode (N/A for input modules)

Bit 8: 0 = no fault, 1 = Minor recoverable fault (that is, backplane
error detected)
Bit 9: 0 = no fault, 1 = Minor non-recoverable fault
Bit 10: 0 = no fault, 1 = Major recoverable fault
Bit 11: 0 = no fault, 1 = Major non-recoverable fault (that is,
module needs to be reflashed)
Bits 15…12: unused

WHO_Information[8]

WHO_status
INT

2

Device’s serial number

WHO_Information[10]

WHO_serial_number
DINT

4

Number of characters in the text string

WHO_Information[14]

WHO_string_length
SINT

1

Device’s ASCII text string describing the module

WHO_Information[15]

WHO_ascii_string

32

Table 58 - Copy Instruction Parameters for Module Services—Required for RSLogix 5000 Software, Version 9.00.00 or Earlier (continued)

Source/Destination Tag
in MSG Instruction

Description

Copy Instruction (COP) - This instruction moves data to/from
generic source/destination buffers

Source

Destination

Length
(bytes)

Advertising