cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Use RS232/485 serial adapters

Use RS232/485 serial adapters

MauroRiboniMX
Contributor

Hi, 

Is there someone who tried to use Use RS232/485 serial adapters on ctrlx core?

if yes with succes or not?

8 REPLIES 8

cc2go
Occasional Contributor

Hello,
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.

Hi cc2go, 

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. 

MauroRiboniMX_0-1621235658146.png

 

 

 

Ciao Mauro
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).

Best regards

Hi Lunati, 

I will try again in the next release too. Meanwhile for my customer(s) the RS s20 module could be a partial solution

Marc_Smaak
Long-established Member

We are using a RS485 gateway from ADF web to convert RS485 to MQTT and run a MQTT broker as a snap on the core. 

I checked again and can confirm the the usage of serial ports is available in the version 1.10 coming up end of July as part of RM21.07.

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:

LunatiX_0-1627905305900.png

 

aFouraker
Occasional Contributor

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. 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist