Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 4 System setup All types of BFI:s have built-in Modbus RTU slave interface. Beijer can provide Modbus RTU master and other communication options according to table below. HMI Controller Nexto controller...
Page 5
Due to very fast bus reply from BFI and within the Modbus RTU specification, the Modbus Master might interpret the fast answer as communication fault. In BFI-P2 and BFI-P2 there is a parameter to delay the reply, P5-15, but in BFI-E3 we have none. Here are recommendations of maximum communication speed to avoid communication fault:...
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 5 Function Block BFIModbusRTU The function block is saved in the project as a compiled library file. Means that the PLC-code inside the FB can´t be monitored or changed. But all variables used inside the FB can be monitored online.
Page 7
BFI controlled from HMI page. ReadyToRun BOOL BFI Ready to run. Power ON, Enabled, Safety ok. SafetyOff BOOL Safe Torque off, False if STO wires is not connected. Not BFI-E3. BOOL Start signal received by BFI. Auto BOOL Only for BFI-H3. 1=Auto, 0= Hand.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 6 Libraries There is one libraries that must be included in the Library Manager of the project to make it work, BFIModbusRTU. The library is automatically imported into the Library Repository of BCS Tools when extracting the projectarchive file containing this Smart Engineering object.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 7 X2 control Modbus RTU masters Description of X2 control for connections to BFI-P2/H3/E3. Modbus RTU of X2 control The program example uses the RS485 port called COM2 on pin1 and pin6. There is no built-in bus termination in the serial port.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Accessories X2 control, BFI and Modbus RTU Number of Modbus RTU ports in BFI depends on model. All BFI IP66 has two RJ45 connectors for incoming and outgoing network cabling. All BFI IP20 and IP55 has one RJ45 for Modbus RTU connection.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 8 Nexto Modbus RTU masters Description of Nexto Xpress for connections to BFI-P2/H3/E3. Nexto Xpress, BCS-XP3xx Nexto Xpress has one serial RS-485 port of screw terminals to be used for Modbus RTU marked as “RS485”...
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 CAB114 intended for connection between Nexto and BFI 3m cable with open-end with 2 wires and one shield for Nexto connection and RJ-45 for connection to BFI-P2/H3/E3. Figure 8.3 Drawing of CAB114 from Nexto PLC to BFI by Modbus RTU...
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Accessories Nexto PLC and BFI Number of Modbus RTU ports in BFI depends on model. All BFI IP66 has two RJ45 connectors for incoming and outgoing network cabling. All BFI IP20 and IP55 has one RJ45 for Modbus RTU connection.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 9 PIO Description of PIO connection to BFI-P2/H3/E3. GN-9372/9373 GN-9372 and GN-9373 has default IP-address 192.168.1.50. They have one D-sub connection to be used for Modbus RTU communication. Figure 9.1 One Modbus RTU port in D-sub and two Ethernet ports in GN-9373.
Hardware signals to BFI-E3 BFI-E3 requires one digital signal to be run by communication. Figure 10.1 Hardware signals required to run BFI-E3 by Modbus RTU. Running can also be a combination of communication instructions and analog/digital signal. See User Manual or contact Beijer Electronics support.
Figure 10.4 Location of serial port in BFI. Note! Do NOT mix the serials port with the Ethernet ports in BFI-E3 IP66 with built-in ethernet or option boards intended for ethernet. 16 (37)
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Termination of the BFI Termination of BFI is made by an RJ45 contact with resistors included for both CanOpen and Modbus, OPT-2-J45SP-BFI. If BFI only has one RJ45 port a splitter is required, OPT-2- RJTRM-BFI.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 11 Manual System setup with projectarchive file The following chapter will provide the necessary step-by-step instructions for a fully functional system. There are two different approaches based on the version of BCS Tools. Starting from version 3.51 this version supports auto generation of the function block required to control the...
Page 19
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 10. If iX is to be used as HMI the IP-address of the PLC must be set in the project: A: If Nexto PLC or a PIO: Set IP-address of PLC, in this case 192.168.1.59.
- P-12 = 4: Modbus RTU control with Acceleration and Deceleration time sent by Modbus RTU. - P-14 = 201: Make all parameters available. - P-25 = 13: Analog Output of BFI-E3 controlled by bus. - P-36 = Node ID number. Default=1.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 13 Program example for manual configuration in BCS Tools Settings in PLC Device (X2 control 4 – Powerfail or XP3xx or PIO). If PLC is of HMI type 3 settings must be done.
Page 22
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Global variable list BFIDefinitions Contain Structs for Variables connected on pins to/from FB, Variables to/from iX used inside FB and Variables connecting each BFI with corresponding input/output data (ModbusGenericSerialSlave I/O Mapping).
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 How to add an additional BFI in the network Here is a description of how to add a BFI number 3 to the 2 BFI:s already existing in the Smart Engineering program.
Page 24
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Change all variable names from 2 to 3. Add a variable called fbControlBFI3 of type BFIModbusRTU in the variable list of BFIModbusRTUprg. Copy network with function block fbControlBFI2, paste it and rename all variables from 2 to 3.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 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. This can either be done in configuration or by a tag in the PLC- program.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Modbus_COM settings The setting of Modbus RTU ports must also be done in BCS Tools, both for the Master and for all Slaves. X2 control and PIO Nexto Xpress and PIO 2 is the name of the Modbus RTU port on Pin 1 and 6 of the Com port in X2 control.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Modbus Master and Slave settings Transmission Mode Must be set to RTU. Response Timeout The time from a message sent until a reply must have been received. 50 msec is a large value.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Response Timeout Response Timeout[ms] Time interval for the master to wait for the response from the slave. This is especially configured for this slave node and overwrites the general response timeout setting of the respective master.
Page 29
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 B: If Nexto PLC finish the configuration. Then AddDevice of Modbus Interface and also Modbus Master for the com port that is to be used. C: If a PIO, choose Modbus RTU Master on most suitable port.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 14 Visualization Use of iX-project All BCS Tools projects has a corresponding iX project. The project contains one Start page and one BFI_Control Screen. Explanation of Screen1: This is the start screen intended for the User. It only contains 2 objects .
Page 31
Take control of the BFI from this menu. PLC-program is neglected. Start/stop- Coast- and Fast stop buttons. Frequency Setpoint. Acceleration/Deceleration Time to be used if P-12=4 in BFI-E3 and P5-07=1 in BFI-P2/H3. Parameter handling. a. Parameter number to be either tapped in or Increase/Decrease buttons.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Nexto and Webvisu A number of Nexto PLC:s, see chapter 4.1, supports Webvisu. There is a PLC program made for Nexto Xpress 3.40 were code for Webvisu has been added to the standard Smart Engineering object.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 Symbol Configuration All BFI-tags to and from the HMI is generated in BCS Tools and stored in an xml-file. This xml file gets the same as the project file. For instance, as below: The xml can be imported to for instance iX Developer.
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 15 Troubleshooting Communication problems BCS Tools can be used to check status of Modbus RTU communication. X2 control in RUN with communication with Slaves X2 control in STOP Example of communication problem or when no Slave is replying could look like:...
Page 35
SER0015_V2.0.0 2024-07 Software or settings Control of BFI by Modbus is set by P1-12=4 in BFI-P2/H3 and P-12=3 or 4 in BFI-E3 Communication speed setting in each slave corresponding to Master setting in BCS Tools, P-36 in BFI-E3 or P5-03 in BFI-P2/H3?
Modbus RTU communication to BFI-E3, BFI-P2 or BFI-H3 SER0015_V2.0.0 2024-07 16 BFI-P2/H3/E3 Modbus Register Mapping MODBUS RTU Protocol Specification The following table highlights the specification for the Modbus RTU implementation in BFI - P2/E3/H3. Protocol Modbus RTU Setting Error check...
Industrial Internet of Things, we empower you to meet your challenges through leading-edge solutions. Beijer Electronics is an Ependion company. Ependion (formerly Beijer Group) is listed on the NASDAQ OMX Nordic Stockholm Mid Cap list under the ticker EPEN.
Need help?
Do you have a question about the BFI-E3 and is the answer not in the manual?
Questions and answers