HOW CAN I MAKE A DIAGNOSTIC ON THE MODBUS REQUEST?

In order to get a diagnostic on the communication it is recommended to add a variable map to the

Status/Control -> Error Report (Data type DINT). See the online help for more information.


IS IT POSSIBLE TO DYNAMICALLY OPEN/CLOSE A PORT OF A MODBUS MASTER?

Yes, since 10.0 this is possible through a variable:


The port is open when the variable changes to TRUE. It is closed when the variable changes to FALSE. See the online help for more details.


CAN THE PARAMETERS OF THE CONFIGURATION BE DYNAMIC, WITHOUT HAVING TO REBUILD THE APPLICATION?

For example, if the address of the Modbus Slave should change, the best is to remove or deactivate the whole configuration (using the related button ) and use the MBMASTERTCP or MBMASTERRTU block in a dedicated program instead. See the online help for more details.


WHAT ABOUT THE MODBUS SLAVE CONFIGURATION?

Most of what applies to the Master configuration also applies to the Slave one.

Important: on the Slave side, if the configuration is created through the Fieldbus Configurations, the

Modbus TCP port will be the one from the Runtime Service        (most of the time 502 or 1100). The TCP port can be changed using the MBSLAVETCP block.

Created with the Personal Edition of HelpNDoc: Transform Your Documentation Workflow with HelpNDoc's Intuitive UI