Raspberry Pi 2 B
Codesys V3.5 SP6 Patch 4+
I am having a problem with some PDO mappings to a Beckhoff (BK5120) Remote I/O. It is currently configured with a KL3162 (2x analog input), KL1862 (16 digital input), KL2872 (16 digital output) cards. I am having a problem getting the PDO setup correctly to make the IO functional. With my current configuration only 8 of the digital inputs, 8 of the digital outputs work, the analog is not functioning. When I check the CANopen I/O Mapping tab all of the nonworking digital I/O are greyed out but the analog I/O shows as if it should work but its state never changes. I know that everything actually works it just doesn't respond in Codesys. I have the KS2000 Beckhoff software for monitoring the unit directly form the port on the BK5120 bus coupler. I can apply a AA battery to the analog input and see analog levels get measured correctly.
Please let me know if anyone can help me understand what I am doing wrong. I have tried multiple configurations including making sure the PDO is full, but I am open to ANY suggestions as this is for my own personal learning.