Python-based PLC simulator with NC Virtual Machine for ATC Umbrella Emulation

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • In numerical control, I had to develop a new tool change macro for 21-position ATC carousel that was, however, partially managed by an external PLC and in connection with the CNC via Modbus TCP/IP. So I built a PLC simulator with Python, to which I added the visualization of the virtual machine of the CNC (via VTK), and access to the CNC via the API server in order to send MDI commands to the numerical control. This made it easier to create both the PLC operating logic (which will be implemented with the relevant language) and to debug the communication protocol, application level, used between the PLC and the NC.

Комментарии • 2