Is there someone who tried to use Use RS232/485 serial adapters on ctrlx core?
if yes with succes or not?
Solved! Go to Solution.
we provide a possible solution with our S20 IO modules in combination with PLC function blocks.
In ctrlX you can use S20-EC-BK with S20-RS-Uni and the PLC function block IH_S20RSCom in CXA_S20 lib.
If you know this PLC solution from CMLx5 or XM generation, you can re-use your code, because the function block interface remain fully compatible.
thanks for the answer 🙂.
I didn't know the existance of that. is that compatible with the node-red node too?
I hoped it was possible to use the usb serial since inside the node-red app there is already the serial node.
Yes, I tried it some weeks ago with the same result as you. I tried to read out data from a CISS sensor in our Node-RED app via USB-serial interface. With a rasperry pi and also with a windows-pc and Node-RED it was very easy. For me it was just a test for the openess of the control. Unfortunalety the test was not successful. I will try it again with the next release (1.10). I’m not sure, but I think the USB interface is not “open” up to now (security issues).
I will try again in the next release too. Meanwhile for my customer(s) the RS s20 module could be a partial solution
By the way...
I tested the USB interface with version 1.10 (RM21.07) and now it's possible to use the serial communication t.e. within the REXROTH Node-RED app. As a attachment you can find two Node-RED import files from a demo with a CISS sensor with USB interface:
Did this require any particular set of hardware? I have an application that would use serial to the ctrlX with something like this.
My hope is that I can get a continuous stream of data and parse it in NodeRed.