gmodbus
Purpose:
-
Use a CyFlex variable interface to and from multiple Modbus RTU/TCP compliant slaves.
Enter:
-
gmodbus <priority> <specification_filename> [max_varibles_per_modbus_transfer] [check_rate] &
Where:
-
priority
Specify the task priority.
max_varibles_per_modbus_transfer
Optional. Specify the limit of the maximum number of variables to transfer in a single modbus request. The default is to group as many variables as possible in a request.
check_rate
Optional. Specify the rate (in milliseconds) to test for timely updates. The default value is 2000ms.
Example:
-
gmodbus 19 /specs/gModbus_specs.101 &
Notes:
-
To turn off runtime (not init) error logging set GMODBUS_ERRLOG environment variable before starting GModBus:
export GMODBUS_ERRLOG=0