contact@webdyn.com | webdyn.com
V2.05 subject to changes | Webdyn © by Flexitron Group
3.2.1.3.2.1 Serial and ethernet interface logs
The name of the log les for communications with the devices is built according to the same principle as
the other log les of the gateway, namely: “uid”_ “interface”_“date”.log.gz.
The interface corresponds to the one chosen for the logs, namely:
• serial1
• serial2
• serial3
• ethernet
The logs contain the following information:
datetime_1;data;
datetime_2;data
...
datetime_Y;data
“datetime” is in the format DD/MM/YYYY hh:mm:ss.mmm, with DD the day of the month, MM the number
of the month, YYYY the year, hh the hour of the communication, mm the minute, ss for seconds, and
mmm for milliseconds.
The “data” eld contains the transmitted data as well as the meaning. For outgoing communications, the
meaning is “=>”. For incoming communications, the meaning is “<=”.
If the communication interface is of the “serial” type, the data in hexadecimal is then provided.
If the communication interface is of the “ethernet” type, the IP address of the equipment to be monitored
is logged, then the data is provided in hexadecimal format, as for the serial protocol.
It should be noted that in the case of modbus, the complete modbus TCP frame is provided if the link is
of the ethernet type. Otherwise it is the modbus RTU frame.
In the case of modbus errors, the frame can be prexed with the following messages:
• “*** CRC ***”: A CRC error was detected on the incoming frame. The frame is therefore
invalid. This is a hardware communication error. Too many CRC errors is a sign of a problem in
the installation. The frame is ignored.
• “*** BAD SLAVE ***”: A slave with an incorrect number responded to the request. This may
be due to an equipment conguration error which may disrupt the correct operation of the
installation. The frame is ignored.
• “*** EXCEPTION ***”: The slave responded to an exception to the request. This means that
the request that was sent is incorrect for the equipment in question.
• “*** INVALID ID ***”: A slave responded to a ModbusTCP request with an incorrect ID. The
frame was discarded.