MODBUS RTU lag between two redlion g3 graphites

leblar1

Member
Join Date
Oct 2008
Location
HOUMA la
Posts
3
To make things simple. I am have sometimes severe lag between a G12(slave) and G10(master). When I say severe I mean 1 minute. The G12 is the only slave on that port. I am using Datablocks to in the slave and assigning the tags to the 400001 to 400091 range.

I have set the baud to 38400, 8, 1, even.

This is the master settings are attached.

Thanks for any info.

Andre

master_setting_g10_fuel.jpg
 
To make things simple. I am have sometimes severe lag between a G12(slave) and G10(master). When I say severe I mean 1 minute. The G12 is the only slave on that port. I am using Datablocks to in the slave and assigning the tags to the 400001 to 400091 range.

I have set the baud to 38400, 8, 1, even.

This is the master settings are attached.

Thanks for any info.

Andre

Sound extreme.
I would hang a analyser on the data lines, and see what is really going on. I've used 232ANALYSER and Chipkin with good results

Option 1: The transmission is delayed going out.
Option 2: The transmission is going out on time, but the slave is delayed in its response.
Option 3: The transmission is going out, and the response comes in, right away, but the processing of the response takes some time.

You need to figure out which it is.
 
Have you tried adjusting the Advanced Settings to see if they have any effect: Spanning Reads, Transactional Writes, Favor UI Writes, Comm Delay? I've seen cases where adding a few hundred ms comm delay speeds things up and I'm not smart enough to understand why :-(

Since you are using RS-485, have you experimented with your terminating resistors on each end (add or delete them) to see if that has any effect?
 
Last edited:
NW,

I'll give that comms delay a shot. I just didn't know where to start. I have been just playing different settings.
 
Just wondering why you are communicating between the panels over RS-485 and not over ethernet? Is the G12 not hooked up over ethernet?

I have multiple panels linked together using the OPC TCP/IP Master protocol. Set the address of the G12 for your device and select the .cd3 file of the G12 and all its tags become available to the G10 for read or write.

It may reduce the potential for lag.
 

Similar Topics

Dear All, i am trying to connect Danfoss inverter with s7 200 cpu 226.but microwin shows following error at DATA Ptr.i assigned different VB...
Replies
1
Views
52
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
233
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
272
Hi, I'm having an issue with a mircologix not transmitting out. The current setup is a mircologix 1400 connected to a Guardian 100 Radio...
Replies
1
Views
119
If a device has Modbus RTU over serial and Modbus RTO over TCP and Modbus TCP then there is a difference between Modbus RTU over TCP vs Modbus TCP...
Replies
7
Views
521
Back
Top Bottom