Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Great work on Advanced HMI!
I have connected to all our control logix processors however I cannot connect to the PLC5's through ethernet. The processors are a type 1785-L40E and a 1785-L20E. The processor type in AllenBradleyPCCC.vb for each processor is 132 and 160 at line 440 in the vb code. Can these drivers be added to the drvers in the support folder?
The processor type 132 (&H84) should already be in there. If not try this driver patch:
Unzip the files and replace the DLLs in the support folder with these
Now the PLC 1785-L20E works great, but the 1785-L40E still does not work. The 1785-L40E processor is one of the new ones so it has an ethernet plug built into it meaning you do not have to use the black box. Not sure if that matters, but figured I would let you know. When I run the code the data for that particular PLC remains zero no matter what address I point to and it gives no error of not communicating. Do you know what may be the problem?
The code 160 (&HA0) is not recognized in the data link layer as a PLC5. There is a quick work around. In AllenBradleyPCCC.vb at line 450, insert this line of code:
m_ProcessorType = DataPackets(TNSLowerByte)(13)
If m_ProcessorType = &HA0 Then m_ProcessorType = &H84
That fixed it.