Arrays, UDTs and Structures Over OPC UA: What the Client Actually Sees

The TR14_Belt user-defined type listed twice side by side with byte offsets, as built at 28 bytes and again at 32 bytes after a DINT called Jam Count is inserted after the State member, with the six members that changed offset marked in red and the hidden host SINT and pad bytes shown in grey

Arrays, UDTs and Structures Over OPC UA: What the Client Actually Sees Insert one DINT called Jam_Count into the TR14_Belt user-defined type, put it after the State member where it belongs logically, and download to the 1756-L83E. Fault_Code moves from byte 4 to byte 8, and Starts, Run_Seconds, Speed_mps, Motor_Amps and Last_Fault_S each move four … Read more

COP and CPS Instructions on a ControlLogix: Which One Copies What

Worked byte arithmetic for a COP with Length 20 from a five-element SINT array into a ten-element DINT array: the source drawn as five one-byte cells, the destination as ten four-byte cells, then the three limits stacked as requested 80 bytes, destination tag 40 bytes and source tag 5 bytes, with the five-byte answer boxed

COP and CPS Instructions on a ControlLogix: Which One Copies What A COP with a Length of 20 moved five bytes. The source was Packer_Raw, a SINT[5]; the destination was Packer_Scaled, a DINT[10]; the rung went true on every scan of a 1756-L71 and nothing faulted, nothing latched, nothing appeared in the Minor Faults tab. … Read more

A Safety Signal Between Two GuardLogix Controllers: CIP Safety Produced and Consumed

plc programming cip safety produced consumed tags two guardlogix 1 plc

The infeed conveyor’s GuardLogix 5580 consumes one safety tag from the case packer’s 5580, CP_Safe, and at 02:04 every night for a week CP_Safe.ConnStatus.ConnectionFaulted went to 1 for between two and nine seconds, the consumed data went to zero, the conveyor’s CROUT dropped its contactors, and the shift lead reset it and wrote “network” on … Read more

Advertisement