Reading a Logix Tag into Node-RED on a Raspberry Pi Without Writing Code

plc programming logix tag node red raspberry pi no code 1 plc

A Node-RED Logix tag read takes one install script, one palette install and two dialogs on a Raspberry Pi 4: Zone7_Speed from a 5069-L306ER appears in the debug sidebar as 30.0, and none of it involves typing a line of code. The node that does it is node-red-contrib-cip-ethernet-ip 1.1.3, installed from the palette manager, configured … Read more

Reading a CompactLogix Tag from a Raspberry Pi with pycomm3

Raspberry Pi, switch and CompactLogix 5380 on one subnet, with the IP plan, the EtherNet/IP port and the direction of the request marked

Four lines of Python on a Raspberry Pi 4 read a CompactLogix tag – a REAL out of a 5069-L306ER – and nothing at either end is licensed. pycomm3 1.2.16 speaks EtherNet/IP to TCP port 44818 itself, which takes the OPC server, the Windows box it used to live on and the licence out of … Read more

A MSG Instruction That Actually Works: Path, Type and the Error Codes

16#0204 appears twice in the same Rockwell reference manual with two different meanings, and which of the MSG instruction error codes tables you are reading decides where you spend the next hour. In the extended error codes for error 0001 it is Unconnected message timeout. In the module fault codes it is Connection Request Error: … 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

Speed Matching Two Conveyor Sections So Product Does Not Bunch at the Transfer

The transfer in side view: the takeaway at 0.500 m/s handing over the nose-over to the palletiser infeed at 0.462 m/s, a 1219 mm carton bridging the gap with its nose on the slow belt, the pitch closing from 1429 to 1320 mm, the 210 mm gap becoming 101, and PE_X 0.6 m past the transfer

Two PowerFlex 525s with 42.50 Hz on both keypads were running the takeaway at 0.500 m/s and the palletiser infeed it hands over to at 0.462 m/s, and every carton that crossed the transfer between them arrived 7.6% closer to the one in front than it had left. A 1219 mm carton that left the … Read more

Commanding a PowerFlex 525 from a ControlLogix: The Command Word, the Reference and the Status Bits

Bit 0 of the PowerFlex 525 logic command word is Normal Stop, and it has to be sitting at 0 before bit 1 will ever start the drive. That footnote under the table in Appendix D of 520COM-UM001 is behind most of the drives that show a green connection in the I/O tree and still … Read more

Advertisement