Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

INI file parameter to disable modbus ASCII mode?

I've used this before but can no longer find my note on the format/syntax. I believe under the [COMX] section something like 'Modbus=RTU' was required for ver 3.8. Can anyone confirm this? Does it still apply to ver 4.51?
I need to disable the ASCII poll that follows an RTU poll if a reply is not received.

Thanks,
Bob Lockert
0 Kudos
Message 1 of 2
(3,200 Views)
This requires the creation of a Modbus.ini file in the same location of the modbus.cbx. To force RTU or ASCII set the Protocol. Here are some examples and a supporting Word document.

An example MODBUS.INI file is shown below:

[all]
UpdateOutputs = 200
RefreshOutputs = 1
Protocol = RTU

[Modbus1]
RefreshOutputs = 0

[Modbus5]
UpdateOutputs = 10
RefreshOutputs = 1
Protocol = ASCII
Message 2 of 2
(3,200 Views)