A53 Z0 9 0020 L En Technical documentation
15.6
COM5: MODBUS RTU on serial port RS485
All GENSYS 2.0 internal variables (Measurements, parameters, PLC outputs…) can be monitored remotely
through an RS485 communication bus using a MODBUS RTU protocol, GENSYS 2.0 being a MODBUS slave.
It is also possible to enter parameters into the GENSYS 2.0. All digital and analogue input/output values and
all other parameters which appear in the GENSYS 2.0 menus can be obtained by the serial port RS485, DB9
male COM4. Parameters (E1nnn) are in read only mode (factory setting) but can be individually switched to
Read/Write mode using the embedded Web site. Measurements (E0nnn) are Read only, variables E2nnn
are in Read/Write mode.
As said above, parameters E1nnn are set to READ ONLY. Write access can be done on a ‘per parameter’
basis using a configuration text file sent by PC to the GENSYS 2.0. Please refer to §14.3.2 for more details on
this Read/Write attribute.
MODBUS functions handled by GENSYS 2.0 are listed in the table below.
Reading of logical values (coil status, discrete input status)
Read holding/input registers (16 bits)
Write logical value (single coil)
Preset single register (16 bits variable)
Write multiple logical values (multiple coils)
Preset multiple registers
Table 72- Modbus functions handled
Functions 01, 02, 05 and 0F require at least firmware v4.03.
All GENSYS 2.0 variables are 16 bits registers. Yet it might be useful to consider them as logical
values (if they are only set to 0 or 1) in order to simplify Modbus communication with some
external PLC. If function 01 or 02 is used to read an internal register that is different from 0,
then returned value will be 1.
Starting from firmware v4.03, advanced access rights are available:
Activate/Inhibit Read/Write access individually on Modbus RTU or Modbus TCP
communication ports.
Write access to date/time/counters. Note that 32 bits variables must be written using
function 0x10 only (see table below).
Global write access to all configuration parameters.
See chapter 17.4.55/ for more details concerning Modbus access rights.
AVERTISSEMENT:
Be careful when modifying a parameter while the engine is running as unexpected behaviour
while functioning may damage your generator. It is always advised to change parameters
when generator is stopped.