BeiJer X2 base 7 Manuel utilisateur

Quick start guide
Modbus TCP communication between X2
control and BFI-E3
SER0020 –X2 control communication with BFI-E3 by Modbus TCP

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
2 (31)
Normal.dotm, 2020-07-01
1Function and area of use
This document provides guidelines when working with X2 control as Modbus TCP master in
CODESYS/ BCS Tools communicating with Beijer Frequency Inverter, BFI-E3 or gateway
OPT-2-ETHG-IN. Please note:
•It does not work towards BFI-H3 or BFI-P2 with Modbus TCP option boards.
•It is not possible to run Modbus RTU and Modbus TCP at the same time.
•This project contains three BFI-E3 with built-in Ethernet, Modbus TCP.
2About this document
This quick start document should not be considered as a complete manual. It is an aid to be able
to startup a normal application quickly and easily.
Use the following hardware, software, drivers and utilities in order to obtain a stable application:
In this document we have used following software and hardware
Software:
•CODESYS V3.5 SP13 Patch3
•BCS Tools 3.30
•iX Developer 2.40 SP5
•BFI-Tools 2.7.0.0
•Web Browser Chrome
Hardware:
•X2 control or BoX2 pro SC or X2 marine SC or X2 extreme SC
•BFI-E3-……….-MTP (MTP means built-in Modbus TCP), Firmware 3.09
For further information refer to
•BFI-E3 User Guide
•BFI-E3 Start-Up Manual KI00369B
•Installation Manual X2 pro, X2 marine, X2 control
•Beijer Electronics knowledge database, HelpOnline
This document and other quick start documents can be obtained from our homepage. Please use
Copyright © Beijer Electronics, 2020
This documentation (below referred to as ‘the material’) is the property of Beijer Electronics. The holder or user has a
non-exclusive right to use the material. The holder is not allowed to distribute the material to anyone outside his/her
organization except in cases where the material is part of a system that is supplied by the holder to his/her customer.
The material may only be used with products or software supplied by Beijer Electronics. Beijer Electronics assumes no
responsibility for any defects in the material, or for any consequences that might arise from the use of the material. It is
the responsibility of the holder to ensure that any systems, for whatever applications, which is based on or includes the
material (whether in its entirety or in parts), meets the expected properties or functional requirements. Beijer Electronics
has no obligation to supply the holder with updated versions.

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
3 (31)
Normal.dotm, 2020-07-01
3Table of Contents
1Function and area of use.........................................................................................2
2About this document..............................................................................................2
3Table of Contents..................................................................................................3
4System set up ......................................................................................................4
5Hardware............................................................................................................5
Modbus TCP port of X2 control ...........................................................................5
IP-address setting in X2 control ..........................................................................5
Modbus TCP port of BFI-E3 ................................................................................6
Indication of status on LED of BFI-E3 ....................................................................7
6Web server in BFI-E3..............................................................................................8
Module Configuration ......................................................................................8
Network Statistic ...........................................................................................8
Modbus Statistics ...........................................................................................9
How to change IP-address and Network mask ..........................................................9
7Connect BFI-Tools to BFI-E3 through Ethernet ............................................................ 10
Parameter settings for Modbus TCP in BFI-E3 ........................................................ 11
Ethernet Cyber Security control........................................................................ 11
8Function Block X2_BFI_E3_ModbusTCP ..................................................................... 12
9Program example CODESYS, BCS Tools and iX Developer ................................................ 14
Explanation of the CODESYS/BCS Tools project...................................................... 14
Enable/Disable Devices .................................................................................. 16
Ethernet setting in CODESYS/BCS Tools............................................................... 17
iX-project .................................................................................................. 20
10 Troubleshooting Communication problems................................................................. 21
11 Modbus Register Mapping BFI-E3 ............................................................................. 23
Table 1: Control and status registers.................................................................. 23
Write registers ............................................................................................ 24
Read registers ............................................................................................. 25
Parameters ................................................................................................ 26
Modbus Exception Response Telegrams ............................................................... 29
Register Changes for Single Phase Output Drives.................................................... 30
12 About Beijer Electronics ....................................................................................... 31
Contact us ................................................................................................. 31
Global offices and distributors ........................................................................................... 31

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
4 (31)
Normal.dotm, 2020-07-01
4System 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. Set up of IP-address of BFI-E3-……-MTP.
Use the Web browser in BFI-E3 and IP address 192.168.1.253. Make sure IP-address
corresponds with the BFI-E3 setting in CODESYS/BCS Tools. See chapter 6.4
2. Set up parameters in BFI-E3….-MTP
Either set them up on the display of BFI-E3, PC software BFI-Tools or a device with BFI-Tools
Mobile. See chapter 7.1
3. Software enable needs to be activated by a jumper between terminal 1 and 2 of BFI-E3
4. Set up the IP-address of X2 control. See chapter 8.1
5. Connect the patch cable from X2 control, port LAN B, to ethernet port P1 of BFI-E3
6. Download the PLC-project to X2 control. Use BCS Tools 3.30 or later or CODESYS V3.5
SP13 Patch3 for the PLC-project.
7. Download the iX-project to X2 control. Use iX Developer 2.40 SP5 or later.

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
5 (31)
Normal.dotm, 2020-07-01
5Hardware
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.
IP-address setting in X2 control
The setting of the Ethernet ports in X2 control is being done on the X2 control itself.
Turn Power on and keep your finger attached to the screen. After a while follow the instructions as in the
picture below.

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
6 (31)
Normal.dotm, 2020-07-01
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:
Without Ethernet ports:
BFI-E3-12-0023-1F1A, Item number 63510
General Purpose Inverter 0,37kW, 2,3A, Input 1x230 V AC, Output 3x230 V AC, IP66, No Brake
transistor, EMC, Size 1
With Ethernet ports:
BFI-E3-12-0023-1F1A-MTP, Item number 63510-MTP
General Purpose Inverter 0,37kW, 2,3A, Input 1x230 V AC, Output 3x230 V AC, IP66, 2 Ethernet Modbus
TCP ports, No Brake transistor, EMC, Size 1
The 2 Ethernet ports are marked P1 and P2 and have the same IP-address.
The 2 ports on the left side marked D1 and D2 are serial ports not intended for Ethernet. Faulty connection
of cables might cause damage to either BFI-E3 or other equipment.

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
7 (31)
Normal.dotm, 2020-07-01
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
Flashing Green
Online, no Modbus TCP connections active
Steady Green
Online, Modbus TCP connections active
Flashing Red
Connection Timeout after working Modbus TCP connection
Steady Red
Duplicate IP address

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
8 (31)
Normal.dotm, 2020-07-01
6Web 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.
Module Configuration
•OPT-3-MTPIG-BFI is the name for the internal Modbus TCP board .
•The serial number is the identification for the complete BFI.
•Hardware version is 0419
•Latest available firmware in October 2020 is V101 R003 S0168
Network Statistic
•192.168.1.29 is the IP-address of the PC. Local port 80 with Socket type TCP is the web browser
connection with BFI.

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
9 (31)
Normal.dotm, 2020-07-01
•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.
Modbus Statistics
Correct working communication without any fault should look like below. Counter of Transmitted,
Received and Successful Transmissions are calculating upwards Error counters stays at 0.
How to change IP-address and Network mask
•Enter new IP-address and/or Network Mask
•Push on Apply New Values

X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
10 (31)
Normal.dotm, 2020-07-01
7Connect 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.
1. Chose Ethernet Module.
2. Set the Local PC IP-adress to 192.168.1.x were 0 < x < 250
3. Re-Scan Network to find BFI-E3s in the network or tap in the IP-adress manually
4. All BFI-E3 available in the Network will appear.
5. Chose which BFI-E3 to communicate with. Then push connect to start up communication.
And after connection BFI-Tools works in exactly the same way as when using other ways of communication.
Autres manuels pour X2 base 7
1
Table des matières

















