- In Folder General, keep Unit-ID: 1
- In Folder General, keep Response Timeout(ms): 1000
- In Folder General, keep Port: 502
- In Folder Modbus Slave Channel, Copy all data from an existing BFI to new BFI.
- In Folder MobusTCPSlave I/O Mapping, Copy all variable names from BFI_1, to
the new BFI. If the new BFI will be BFI5 then: Rename
Application.Drive1.PlcToFromDrv.iRunningHours, to
Application.Drive5.PlcToFromDrv.iRunningHours,
• Add FB for a new BFI in prgBFI_ModbusTCP. Copy network 1 and paste. If new BFI is
to be number 5 then:
- Change name fbControlBFI1 to fbControlBFI5
- Change name Drive1 to Drive5
- Change name BFI_1 to BFI_5
- Change name for all [1] to [5] for all other variables in the network
How to remove BFI in the network
• Enter GVL called gvlBFI_HMI. Adjust the global constant gvlBFI_HMI.gc_iNrOfDrive to
number of BFI.
• Enter GVL called gvlBFI. Adjust the global array variable gvlBFI.g_aDrive[] to
[1..Number of BFI in the network].
• Enter GVL called gvlBFI . Adjust the global array variable gvlBFI.g_aDriveBEHMI[] to
[1..Number of BFI in the network].
• Remove not used BFI in Modbus_TCP_Master
Enable/Disable Devices
If a BFI is not to be used in the network during commissioning or other reasons it can be excluded, and
communication shut off. Go Offline, chose the slave and then Disable Device.
When to enable a device chose Enable Device instead.