Serial port communication (RS232): “Box PC - EPC 1522 - 1185423”.
Hello.
I would like to make a RS232 connection with “ EPC 1522 - Edge Device
1185423 “. I have added the library “AXL_ComSerial_10” and checked the example “ACS_10_EXA_AXL_SE_RS232”. In this example I see how to configure the serial port speed... in the “Axioline F” section but my project with “EPC 1522” is not available. My “EPC 1522” has 2 serial ports (X7:COM and X8:COM), how do I link PLCnextEnginer (software) with the serial ports (hardware)? The library supports “Box PC - EPC 1522 - 1185423” but the examples there are not suitable for this unit. Can someone help me, thanks.
Regards
Comments
Hi,
The serial port is not supported by the PLCNext runtime. It can be used from Python or Node-Red.
Best Regards,
Kelley
Kelley VanBuskirk
Application Engineering Supervisor
AS HMI/IPC Product Support Group
Certified PROFINET Network Engineer
Phoenix Contact
1-800-888-7388 x5453
kvanbuskirk@phoenixcontact.com
Hi,
The RS232 communication does not work Node Red, where can I get more information about what kind of protocols are supported on the 2 serial ports of an EPC 1522? thank you.
You can find more information on this topic in the User Manual for the EPC 15x2 devices, which is available on the Phoenix Contact Website.
From the manual:
Thank you for your answer, if I change RS232 barcode scanner for USB barcode scanner, can I read data from plcnext Engineer? And from Node-Red? Where can I get documentation for the 2 port USB ports?
if I change RS232 barcode scanner for USB barcode scanner, can I read data from plcnext Engineer?
No, PLCnext Engineer doesn't provide any way to access serial or USB ports on the EPC.
And from Node-Red?
Maybe. It depends on what USB driver the barcode scanner needs, and if that's installed on the EPC already. If the barcode reader emulates keyboard input then it should be possible to receive that information on the command-line on the EPC. You can check this by plugging a USB keyboard into the USB port on the EPC. If that works, then the barcode reader might work - if it emulates a keyboard.