Command line

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Command line

ModbusClient.exe [ /param1 [ /param2 ... ]] [ file1 [ file2 [ .. [ fileN ]]]

 

i_infoAll parameters are optional. Please ignore the [ ] characters.

Command line parameters

/ Parameters

/FillChar=~

With this parameter you are able to set the spacing character for binary 2#0000´0000 and hexadecimal 16#0000´0000 notation. The default is ´

 

/WriteAllways  

i_critIf this option is present you can change the state or value of Coils or Holding Registers without a confirmation dialog. Please keep in mind, that you write to a device at this moment. Be very carefully !

 

i_infoTo apply the command line, please create a link on your desktop with target pointing to <your place>\ModbusClient.exe and enter one or more of the preceding parameters.

File parameters

You can open one or more files by listing them separated by spaces. If a path contains spaces please surround it with " ".

 

Parameters and settings from ModbusClient.ini

This file must be present or created at the same directory as ModbusClient.exe or one level up. If you want to comment out some parameters, please precede them with a semicolon.

[SETTINGS]

Under this section you can define default values .

 
[SETTINGS]

; MaxLines sets the number of lines in data field

MaxLines = 1000

 
; FloatFmt sets the formating for floating point values
; see Connection window (analog) for possible formats

FloatFmt = %.2f

 

[PARAMS]

In addition to the command line, you can define parameters in the ModbusClient.ini file. Under section [PARAMS] you can define values for the parameters mentioned above.

 
[PARAMS]
WriteAllways 
FillChar = _