Page 1 of 1

TD240 Modbus by C code

Posted: 11/04/2019, 19:05
by RamonGC
Hello
I already have communication by RS485 with other device, by Ladder code.
I want to change the slave address by a screen on TD240, now im communicating the PLCs by ladder code, but i tried to communicate by C code and it does not works, im having troubles using the following instruction:

I want to send the variable 150 of the TD240 to the variable 150 of the EPL101 (Modbus address: 1150)
It already works with the coil EXP_ of ladder program, but i want to make it in C so i can make a template for any application and just change the device address in field easly by a screen.

Re: TD240 Modbus by C code

Posted: 12/04/2019, 10:23
by Pixsys tecnico 6
Hi,
please can you send your PLProg project to support@pixsys.net so we can check it? It is necessary we can check all project files. With the only information posted on the forum we can not fix your issue.

Best Regards.