Hi all,
I am in a tricky situation regarding a function that I am attempting to implement in my Codesys 3.5 project. So I am reverting to the Wago community for some wisdom, thanks in advance for any ideas or leads.
I have a PFC200, the 8210 variant with many 750 cards including a 750-658. I have the latest installation of Codesys approved by Wago, and the up to date ESI and library files. I am running two 354 Ethercat slaves, and all works perfectly. Also Modbus TCP is up an running.
However, I have no CAN data coming through, even after adding the correct “FbModuleConfigurationAndStatus” Function block, along with any of the FBs to read frames, either in Transparent mode or Mapped mode.
I have confirmed I have data on IO-Check, and tried Transparent and Mapped mode, etc…All good there, data is showing. But in Codesys, nothing, nada.
I spent a extensive time making sure I have the correct libraries and data types (as I had compiling errors before), that’s resolved.
Now when I execute the FbModuleConfigurationAndStatus it reads the 250Baud rate, Can mode (transparent), 29Bit extended, etc…correctly as I set in IO-Check, but it times out and throws the output “xError”, but does not give any error diagnostic information.
When I go to the 658 on the Kbus module list, I see that the configuration variables (K-Bus IEC Objects) show default values (wrong Baud rate, mode), certainly not what I have setup in IO-Check.
I believe I am pointing to the right device in the FB, as I read the baud and mode correctly, but somethings not right.
Attached are some images. Any advice is greatly appreciated, as I’m going round in circles now.