Problem with delay in sending commands with Modbus on RTU 540

Hello. I am using an RTU 540 device to convert the IEC60870-104 protocol to MODBUS. To send a command to the DO of the measuring device, the command sent via IEC 60870-104 is converted to the Modbus protocol and sent to the measuring device with function code 05. But the problem I have is that to send the DO closing command to this device, first another memory location must be activated with function code 05 and then the command is sent. The SCADA system in which I am sending the command does not have the ability to send two commands with a time interval. How can I create this delay in the RTU 540?

You could try using scripting (system.opc.writeValue) to write to the areas one after the other.

Please explain further.

There are examples at the bottom of the page in the manual

In a script, something like:

system.opc.writeValue("[device]1.C1", True)

system.opc.writeValue("[device]1.C2", True)

obviously with your device unit id, name, addresses, etc... in place.

I can send the command I want with the modbus poll software. My problem is that I cannot send the command from the SCADA software after converting it to modbus.

My SCADA software is Farad Sea.

This is a forum for Ignition SCADA software.

4 Likes