X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 3 Table of Contents 1 Function and area of use ..................2 2 About this document ....................2 3 Table of Contents ....................3 4 System set up ...................... 4 5 Hardware ......................
SER0020_V1.0.0 2020-11 4 System set up Here comes a short description of what needs to be done and what tools are to be used to make X2 control work together with one or several BFI-E3-…..-MTP in a Modbus TCP network: 1.
The following chapter describes the ethernet connections of X2 control and BFI-E3. Modbus TCP port of X2 control X2 control has 2 ethernet ports to be used for Modbus TCP, either LAN A or LAN B. This program example is using LAN B for Modbus TCP communication.
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Modbus TCP port of BFI-E3 BFI-E3 of all voltages and current ratings exists in two versions, one with and one without built-in Modbus TCP. Modbus TCP is available in all BFI-E3 with the extension -MTP. For example:...
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Indication of status on LED of BFI-E3 Example of LED indication of ethernet ports in BFI-E3. Communication working Communication interruption Network Status Indicator, NS State Indication Steady Off BFI is not powered up or no IP address...
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 6 Web server in BFI-E3 Default IP-address of BFI-E3 is 192.168.1.253 and Subnet: 255.255.255.0 Enter IP-address in the web browser. Username is Admin and Password is the serial number of the BFI.
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 • 192.168.1.29 is the IP-address of the PC. Local port 47850 with Socket type TCP is PC-program BFI- Tools running on the PC. • 192.168.1.40 is the IP-address of one X2-Control.
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 7 Connect BFI-Tools to BFI-E3 through Ethernet BFI-Tools can only communicate with one BFI-E3 at a time. How to set up the communication is: Choose way of communication with BFI.
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Parameter settings for Modbus TCP in BFI-E3 Set following parameters in BFI-E3-….-MTP - P12=3. Modbus TCP control with Acceleration and Deceleration time in parameter P-03/ P-04. - P12=4. Modbus TCP control with Acceleration and Deceleration time sent by Modbus TCP.
X2_BFI_E3_ModbusTCP This function block is used to control and Read/Write Data Functionality with a BFI-E3..-MTP by Modbus TCP PLC Types X2 control or BoX2 pro SC or X2 marine SC or X2 extreme SC Version 1.0.0 Input_Output Type Function io_Drive strDRIVE_REF_BFI Reference to variables connected to BFI by Modbus TCP.
Page 13
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Input Type Function i_Start BOOL Start of Drive. 0=>Stop 1=>Running. Direction decided by sign of Set frequency. i_FastStop BOOL 1=>Fast stop of motor with ramp in P2-25 for BFI-P2/H3. i_CoastingStop BOOL 1=>...
Program example CODESYS, BCS Tools and iX Developer BFI and X2 control Start Up project is a very powerful tool providing a project starting point way beyond what would otherwise be possible. It is tested to a great extent and its use is strongly recommended.
Page 15
Containing Function blocks, one FB for each BFI. 7. Library Manager One of the libraries is X2 control BFI Modbus TCP. Contains the FB to control BFI by Modbus TCP. The FB is compiled and by that not possible to open up. Requires one FB per BFI.
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 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.
Modbus TCP either of the settings above can be used. Upper example with Adjust Operating System Settings activated the X2 control detects automatically LAN B as Modbus TCP port. In the other example LAN B is defined as Ethernet post and corresponding with setting in the HMI.
Page 18
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Response Timeout The response timeout sets the time interval that the master will wait for the answer from a slave node. If the nodes do not answer within this time interval, then an error is recorded for the implicit slave function block.
Page 19
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 9: Cyclic Read and Write of 4 words. 10: Cyclic Read of total running hours. 11: Read of Drive info every time communication is established. 12: Read of serial number every time communication is established.
SER0020_V1.0.0 2020-11 iX-project CODESYS/BCS Tools project, X2 control BFI-E3 Modbus TCP, has a corresponding iX project. The project contains one Start_Screen and one BFI_Control Screen. Explanation of project: Choose which BFI to be monitored. Either tap in the figure or use Increase/Decrease buttons BFI data a.
Example of communication when for instance slave BFI_3 is not replying correct could look like: Check following items: Hardware Is the patch cable connected to correct LAN port of X2 control and port P1 of BFI-E3.- MTP? Power on to X2 control? Power turned on to BFI-E3…-MTP?
Page 22
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Communication is working but BFI-E3…-MTP doesn’t run the motor correct: Software enable bridge between terminal 1 and 2 in place? BFI-E3…-MTP is powered up? No alarm in BFI-E3…-MTP? Parameter P-12 set to 3 or 4 in BFI-E3…-MTP?
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 11 Modbus Register Mapping BFI-E3 Table 1: Control and status registers Note : All registers are Holding Registers Register Parameter Upper Lower Format Command Type Scaling Number Number byte Byte...
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Speed Reference P-01 3000=50 Hz Reserved No Function Digital Pot / Keypad P-01 3000=50 Hz Reference P00-07 Output Voltage 100=100 VAC RMS Parameter Access See Below Index Parameter Access See Below...
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Read registers Read Register 6: Drive status and error code High byte gives drive error code. (Valid when the drive is tripped, see Appendix E – Drive Fault Code and Information for further details).
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Parameters Parameter Registers and Scaling All user adjustable parameters within the drive are accessible by Modbus and can be Read or Written to. For further information regarding the parameter functions and specific settings, please refer to the User Guide.
Page 27
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Para- Register Description Format Data format meter Analog output See user guide for function details function Skip frequency P-01 Internal value (3000 = 50.0Hz) Skip freq band P-01 Internal value (3000 = 50.0Hz)
Page 28
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Para- Register Description Format Data format meter DC Injection Current 1000 1dp, e.g. 100 = 10.0% Thermal Overload Retention Additional Information Register 160 which is Parameter P-32: DC Injection Configuration...
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Modbus Exception Response Telegrams Under some circumstances, the drive may reply with an Exception Response (error) in response to a request telegram sent from the network master, for example where the master tries to read a register which does not exist.
X2 Control communication with BFI-E3 by Modbus TCP SER0020_V1.0.0 2020-11 Register Changes for Single Phase Output Drives The Single-Phase Output drive has some registers that are different to the standard three phase output drive, as listed below: Register Parameter Description...
Industrial Internet of Things, we empower you to meet your challenges through leading-edge solutions. Beijer Electronics is a Beijer Group company. Beijer Group has a sale over 1.6 billion SEK in 2019 and is listed on the NASDAQ OMX Nordic Stockholm Small Cap list under the ticker BELE.
Need help?
Do you have a question about the X2 and is the answer not in the manual?
Questions and answers