-
Notifications
You must be signed in to change notification settings - Fork 11
CIP Library
Jeremy edited this page Jan 30, 2023
·
26 revisions
This collection of diagnostic instructions align to their corresponding Common Industrial Protocol object.
Enumerated by the UDT ST_Sys_Identity (52 bytes):
- VendorID (UINT, attribute 1)
- DeviceType (UINT, attribute 2)
- ProductCode (UINT, attribute 3)
- MajorRevision (USINT, attribute 4)
- MinorRevision (USINT, attribute 4)
- Status (UINT, attribute 5)
- SerialNumber (UDINT, attribute 6)
- ProductName (STR_32, attribute 7)
Unpacks the response bytes of a GET_ATTRIBUTES_ALL service request of the Identity Object.
Enumerated by the UDT ST_Sys_Port (240 bytes):
- Type (UINT, attribute 1)
- Number (UINT, attribute 2)
- LinkObjectPath (STR_12, attribute 3)
- Name (STR_64, attribute 4)
- TypeName (STR_64, attribute 5)
- NodeAddress (SINT[82]), attribute 7)
Unpacks the response bytes of a GET_ATTRIBUTES_ALL service request of the Port Object.
Enumerated by the UDT ST_Sys_TCPIPInterface (156 bytes):
- Status (UDINT, attribute 1)
- Capability (UDINT, attribute 2)
- Control (UDINT, attribute 3)
- IPAddress (UDINT, attribute 5)
- IPMask (UDINT, attribute 5)
- IPGateway (UDINT, attribute 5)
- DNS1 (UDINT, attribute 5)
- DNS2 (UDINT, attribute 5)
- DomainName (STR_48, attribute 5)
- HostName (STR_64, attribute 6)
Unpacks the response bytes of a GET_ATTRIBUTES_ALL service request of the TCPIP Interface Object.
Enumerated by the UDT ST_Sys_EthernetLink (160 bytes):
- Speed (UDINT, attribute 1)
- Flags (UDINT, attribute 2)
- PhysicalAddress (USINT[6], attribute 3)
- InOctets (UDINT, attribute 4)
- InUnicastPackets (UDINT, attribute 4)
- InNonUnicastPackets (UDINT, attribute 4)
- InDiscards (UDINT, attribute 4)
- InErrors (UDINT, attribute 4)
- InUnknownProtocol (UDINT, attribute 4)
- OutOctets (UDINT, attribute 4)
- OutUnicastPackets (UDINT, attribute 4)
- OutNonUnicastPackets (UDINT, attribute 4)
- OutDiscards (UDINT, attribute 4)
- OutErrors (UDINT, attribute 4)
- AlignmentErrors (UDINT, attribute 5)
- FCSErrors (UDINT, attribute 5)
- SingleCollisions (UDINT, attribute 5)
- MultipleCollisions (UDINT, attribute 5)
- SQETestErrors (UDINT, attribute 5)
- DeferredTransmissions (UDINT, attribute 5)
- LateCollisions (UDINT, attribute 5)
- ExcessiveCollisions (UDINT, attribute 5)
- MACTransmitErrors (UDINT, attribute 5)
- CarrierSenseErrors (UDINT, attribute 5)
- FrameTooLong (UDINT, attribute 5)
- MACReceiveErrors (UDINT, attribute 5)
- ControlBits (UINT, attribute 6)
- ForcedSpeed (UINT, attribute 6)
- Type (USINT, attribute 7)
- State (USINT, attribute 8)
- AdminState (USINT, attribute 9)
- Label (STR_32, attribute 10)
Unpacks the response bytes of a GET_ATTRIBUTES_ALL service request of the Ethernet Link Object.