MODBUS Communication library
For SAIA-PCD and the FUPLA utility.
Modifications list from version 1.50 to 1.75
Modifications of the update 1.50 and 1.51
The Modbus driver can now
be used under PG5 versions 1.0.xxx. This version cannot be used on old version
of PG4 like 1.4 and 2.0.80.
Error noticed in these versions : It seams that the checksum is not checked correctly. Requests was answered regardless of the checksum validity. Please don't use these versions anymore and update to the latest 1.5x version.
Modifications of the update 1.52
This version can also be
used under PG5 versions 1.1.xxx.
The checksum problem noticed with versions 1.50 and 1.51 should not anymore apear with the version 1.52 and up.
Modifications of the update 1.53
When the Modbus Slave driver is used with PLM Modem, it is now possible to make call to a Modbus Master. The Fbox Call Text from the Modem library must be used to establish the modem connection. Once the modem is connected, the Modbus Slave Driver will automatically answer to the Master requests.
Modifications of the update 1.54
The Fboxes 'SEND 1-20 Bits'
issued an assembler error on PG5. Error fixed.
The Fboxes 'SEND 1-24 Bits' did reserve flag that are not used. Error fixed.
Modifications of the update 1.55
The library is adapted to
allow IL module with PG5.
The new IL example files are not anymore in the library but are available from Internet.
Go to the Modbus FAQ document.
This version cannot be used anymore for IL module in PG3 and PG4.
The existing files (imported into PG5) must be adapted according to the new examples.
Modifications of the update 1.56
Improved synchronization of ASCII protocol. Difficulties to re-synchronize the communication after errors has been reported with the ASCII protocol. This has now been improved for the Master and the Slave driver.
Master and Slave : Supports channel 5.
New Channel option 'Channel
0 PGU'. This option allows to use the PGU port for Modbus and for PGU on PCD 1,
2 and 4 (but not PCD6). When the PGU cable is plugged in, the Modbus driver is
sopped. When the PGU cable is unplugged, the Modbus driver is automatically
restarted. This is available for the Master as well as for the Slave driver and
for both RS232 or RS 485.
The port must NOT be configured in S-Bus PGU at the same time.
Note that CPU errors may occurs when the PGU cable is plugged in. This will not prevent the Modbus driver to restart correctly but the Error LED cannot be cleared unless the CPU is power OFF and ON.
Allows to clear SASI Error and enable the driver (may be useful in case of error during Modbus port recovering).
Modifications of the update 1.60
This package is compatible
to PG5 1.2.
Its use in a personalized PG5 1.2 requires also the registration of a password delivered by Engiby.
Please read the procedure at www.engiby.ch/libreg.htm.
Modifications of the update 1.61
Master and Slave support
the Channel 6 (available on the PCD2.M480).
A new Fbox RCV Integer Indirect has been implemented. It allows to define the Slave station, the remote base address and the number of element by registers. See the manual for more details.
Modifications of the update 1.62
Error found in the Master
Driver : The Fbox ‘Slave Diag’, using the Modbus function 8 cause an assembler
Modifications of the update 1.63
Master and Slave Driver. A
new option has been added in the Hardware option: ‘RS 485 Short timing’. This
option activate a faster RS 485 timing which can solve problem when the partner
device is responding very fast. This kind of problem can typically occurs if
you connect a PCD2.M120 as Master against a PCD2.M480 as Slave.
This version can now be used on PG5 1.3 (with a suitable password).
Note that this version as all Modbus 1 versions does not support the new register range from 4096 to 16383 of the PCD2.M480. This is not relevant in most cases for the Master Driver but important for the Slave. To fully support this register range as Slave, please use the Modbus 2 package.
Modifications of the update 1.64b
Problem found with Master and Slave. The use of modem line (option RS232/PLM) caused
errors. This happens with the Modem library 2.3.xxx for PG5 1.2.
The problem is fixed.
· The master did not start request upon connected. Fixed.
· Error 25 in Master displayed without message text. Now Fixed, the message is ‘Not connected’
· The Slave did not handle master requests. Fixed.
Modifications of the update 1.65
New Fboxes Master and Slave
have been introduced with a new option : Firmware version = Old FW/New FW.
The option Old FW must be used to run the Modbus Driver on old systems without SYSWR/SYSRD instructions like :
For other systems, usually
a FW update is available.
When possible, the option ‘New FW’ is recommended, since the generated code is smaller and cause less CPU load.
Modifications of the update 1.66
An old Modbus Master Fbox was not accepted by S-Fup (macro name MB__Master). Fixed.
(SXG file add in package)
Special function 66 added (only available on request).
Modifications of the update 1.67a
Various errors fixed with reading 32 bits (Fp and Int 32) on DB with F20/F21.
Modifications of the update 1.70
This version solves timing problems that may occurs when the Web-Server is also used in the PCD.
A system function is now included in the driver to improve the CRC calculation. This is activated with a new option in the Master and the Slave Fboxes. Ensure that you have a FW supporting the CSF instruction.
This version also reduces the CPU load if the option CPU Load = Low is used.
Better control of the minimum request delay for the Master. This solve timing problem that may occurs with fast CPU like PCD2.M480 and PCD3.
Modifications of the update 1.71
Better control of the minimum replay delay for the Slave. This solve timing problem that may occurs with fast CPU like PCD2.M480 and PCD3.
Modifications of the update 1.72a and b
version for PG5 1.4
Version 1.72 must be replaced by 1.72a or 1.72b
Modifications of the update 1.73
caused assembler errors under PG5 1.4
1.73 is the minimum version for use in IL under PG5 1.4
Modifications of the update 1.74
An error has been found when reading more than 8 binary elements with function 1 and 2.
Each byte pare are swapped. (bit 0<-> bit 8, bit 1<->bit 9, and so on)
The error exist in versions 1.70, 1.71, 1.72 and 1.73.
The error is fixed in version 1.74.
Modifications of the update 1.75
The modules PCD3.F2xx (Slot0,1,2,3, Chan 0 and 1) are supported. Baudrates above 9600 may not work properly.
An assembler error on symbol MB__FIRMWARE with IL module is fixed.
Master : Improved validity checks in Slaves response. This solves the risk of value mix up due to delayed responses over Modem lines.
New error codes:
- 26 = Invalid station number returned
- 27 = Invalid function code returned
- 28 = Invalid number of bytes returned
- 29 = Invalid address returned
End of the list
Engiby / 08.03.2007