RE: Access to Axioline module from linux using C# or python

Thanks We will use this solution then.

                                             * I also would like to know if I can acces to the AXL F IF CAN 1H 2702668 module thru the GDS bus on the linux side ([Part 3 - Reading and writing Axioline I/O](https://github.com/PLCnext/SampleRuntime/blob/master/getting-started/Part-03/README.md))
                                             * Is it possible to define ZeroMQ interface on the PLCnext Engineer project like the modbus library ?

I have branched this as a separate question, since the original question was marked as „resolved“.

                                             * The tutorial you reference shows how to use the ANSI-C interface to access Axioline I/O data from a C++ application. The process data from a AXL F IF CAN 1H module also appears in Axioline input and output variables, so this process data can be accessed via the ANSI-C interface in a similar way to other Axioline I/O data.
                                             * There is no support in PLCnext Engineer for ZeroMQ, as far as I am aware. Perhaps there is a way to implement this, but not using PLCnext Engineer libraries currently authored by Phoenix Contact (sorry).

~ Martin.

My apologies, I looked more closely to the input/ouput variables and find those from the can module. I successfully implemented the runtime to read and write the Axioline I/O, however when reading the Axiomline status through „Arp.Io.AxlC/AXIO_DIAG_STATUS_REG“. The value stay at 0 also the input variable of the can module stay at 0 even if there is data on the canbus. Did I miss something ? Is there something to do before to get access to the axioline bus?

Are you able to access I/O in simpler Axioline I/O modules, like the digital input/output modules used in the Sample Runtime example? If so, then you only need to make sure that the Axioline module configuration in the PLCnext Engineer project exactly matches the physical configuration - including the CAN IO module - then, it should work OK. Did you configure the CAN module (baud rate etc.) in the PLCnext Engineer project? Are you able to successfully communicate on the CAN bus using only a PLCnext Engineer project? This will confirm that the CAN bus setup is OK. Then you can remove the logic in the PLCnext Engineer project and replace it with the logic in your C++ application. ~ Martin.

PLCnextEngineer_BasicLicense_2nd.zip
image.png
PLCnextEngineer_BasicLicense_2nd.zip
image.png
image.png
image.png
image.png