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

Singulation on a Zero-Pressure Accumulation Conveyor: The Release Rule That Stops Two Boxes Leaving Together

Four accumulation zones with eye positions, the 1.5 m pitch, and the length of conveyor that no photo-eye covers

On a 1.5 m zone pitch at 0.28 m/s, a 600 mm carton is invisible to both photo-eyes for 3.2 seconds of its journey between them. An upstream zone whose release permissive is nothing more than “the next eye is clear” will use that window to send a second carton, and the two of them … Read more

A Conveyor Jam Timer That Does Not Nuisance-Trip: Setting the Time From Zone Length and Belt Speed

Three zones of an accumulation conveyor with zone length, photo-eye position and belt speed marked, and the eye-to-eye pitch that sets the transit timer

Time it with a stopwatch before you type anything into the preset: the longest carton you run, crossing the photo-eye, on the slowest zone. A 1219 mm carton at 0.28 m/s sits on that eye for 4.35 seconds, which is why the 2000 ms that came across with the copied project trips every time the … 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

Advertisement