plcpeople / nodepccc

Library for node.js to communicate with some Allen-Bradley programmable controllers (PLCs)
MIT License
81 stars 24 forks source link

Bad Values ControlLogix Slot 8 #34

Closed AlexCastro-Prog closed 2 years ago

AlexCastro-Prog commented 2 years ago

Hello Gus I'm trying to connect nodepccc to ControlLogix but I'm getting error. My EBNT is on slot 1 but my CPU is on Slot 8. What's the correct routing for that it?

plcpeople commented 2 years ago

Try routing: [0x01,0x00,0x01,0x08]

First 01,00 means there is 1 word in the path 01,08 = Backplane port of Ethernet module (01), Slot 8 of Chassis (08)

I don't think the slot of the ENBT matters when constructing the path.

AlexCastro-Prog commented 2 years ago

Hello Guys, Thank you so much it worked like supposed to do.

I appreciate.

plcpeople commented 2 years ago

Good to hear it's working I will close the issue