FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
03-15-2023 09:35 AM - edited 03-15-2023 10:22 AM
Hello Dear ,
It is necessary to send a command to the printer via PLC and read data from the USB containing the *.csv file.
Is this possible according to the following topology?
So, can we do this using the USB ports on the HMI(WR2110)?
please take a look topology file...
Thanks in advance
Solved! Go to Solution.
03-15-2023 09:55 AM
Why not plug them into the core instead (Using a usb hub)?
Then you can use NodeRED to read and write data to serial printer using node-red-node-serialport.
There are examples to read csv files in NodeRED here: https://cookbook.nodered.org/basic/parse-csv
03-15-2023 10:07 AM - edited 03-15-2023 10:23 AM
Thanks for reply,
as I see and understand no USB port on the drive(with core)?
and illustration is wrong(updated again , take a look) , ı have no plc core , I have drive with core.pls consider this.
03-16-2023 02:09 PM
In therory it is possible, but afaik it involves writing your own Android App to handle it, and I'm not sure its allowed to install custom apps into the WR panels.
And even if it was, the development effort will be much more costly then rethinking the layout and get an external core X3. Because then you have the USB interface and can get it working in a few hours using NodeRED.
07-14-2023 08:42 AM
Hi,
you can write your own application, compile it into an apk file and install it on the webpanels. At this point, the WebPanel works like a tablet/smartphone.