Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-09-30 16:54:38

hendrik
Member
Registered: 2015-11-01
Posts: 49

Modbus - ASCII protocol

I have a 3rd party controller which uses ASCII syntax commands over Ethernet (Modbus - TCP/UDP) My question is how do I  send ASCII syntax commands from Rex target device to 3rd party controller and vice versa?

Offline

#2 2016-10-02 14:31:04

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Modbus - ASCII protocol

Hi Hendrik,
the Modbus driver of the REX Control System does not support ASCII format, sorry.

You can still implement arbitrary communication protocol using the REXLANG programmable function block. Here is an example on UDP communication and here is one on TCP communication.

Hope this helps,
Jaroslav

Offline

#3 2016-10-03 16:27:29

hendrik
Member
Registered: 2015-11-01
Posts: 49

Re: Modbus - ASCII protocol

Thanks, not sure if I need to add the Modbus drivers to the EXEC?

Offline

#4 2016-10-03 16:49:33

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Modbus - ASCII protocol

Hi Hendrik,
no need to include Modbus driver in your case. You will implement your own inside the REXLANG block.

Jaroslav

Offline

Board footer

Powered by FluxBB