FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
06-12-2023 08:49 AM
Hello,
I am trying to make a PLC-program read a barcode scanner connected to the CORE via the USB connection. For this, I am using the SysCom library and wants to add the connection /dev/ttyACM1 as COM1 in the PLC. However, I can not edit plc_system.cfg to add this port. It is write protected in the web-interface.
Using WinSCP with WebDAV protocol generates an "403 Forbidden"-error and the file cannot be edited from there either.
How do I edit plc_system.cfg? Or or there other ways of adding the serial connection /dev/ttyACM1 to the PLC project?
CORE, PLC, and WORKS all version 1.20.
Thanks,
Daniel
Solved! Go to Solution.
06-12-2023 04:22 PM - last edited on 06-13-2023 06:40 AM by CodeShepherd
Hello,
you are only able to edit the cfg file by writing a short PLC programm as it is part of the PLC internal data. So implement the following code sequence in a PLC project, add the library "CmpSettings" to the library manager and download it to the controller. Before running the program set variable DoIt to TRUE.
Afterwards you have to reboot the controller to activate the setting.
kind regards
please implement this program sequence in a PLC program and transfer it to the controller.
Simply add the "CmpSettings" lib to the IEC program and program the following
06-14-2023 12:19 PM
Thank you! Will try as soon as I get the oportunity!