I would like to read and write on I/O cards (for example DI8/1 DO8/1 ref 2701916) connected to AXC F 2152 PLC in Python program executed on this PLC. Where I can find the name of the I/O variables to do this and the instructions to write and read on these variables. I find example with C program but nothing with Python language. If you a have a tutorial on this subject, I’m interested. Thank you for your help
Hi Siauve, we’ve currently no “PLCnext IO” packet for Python available, so it would be tough to access directly the IO of the PLC. I guess the easiest you could currently do is to utilize the PLCnext REST Data Access interface.
You can not directly interact with the IO ports, but you’ve access to all HMI variables and ports… We’re working on a more convenient solution for Python, but it will take a bit more time to have something ready. Take care Frank