Thanks for helping ORS!
I only had the the old example projects downloaded (from V1.15).
With the help from the Advanced commands in V1.19 I was able to see that the commands was OK. It turned out to be a hardware problem. The sensor (ECD DS80 conductivity sensor) was not 100% rs485 compatible so I had to turn of the resistors on the CPU and use a 1k resistor instead.
By the way, do you know why it is 2 resistors on the CPU? And what size and how are the resistors connected?
The CPU manual does not give any details and normally only one 150ohm is used for cable termination. Is the two resistors for "pull up" and "pull Down" so that the line termination must be added externally?
A simulator would be great, I work on over 30 sites and the only way I can test code is to visit a site which isnt always so easy as we dont own the sites. Is there any sign of a simulator in development?
If you download to the PLC then the PLC will lose the file (compiled project in the PLC).
If the original download did not include an "Upload", then the original project cannot be restored (The PLC only have the compiled results in that case).