EasyManuals Logo

BeiJer X2 User Manual

BeiJer X2
31 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #15 background imageLoading...
Page #15 background image
X2 Control communication with BFI-E3 by Modbus TCP
SER0020_V1.0.0 2020-11
15 (31)
Normal.dotm
, 2020-07-01
4. gvlBFI_HMI
Contain variables to be used together with HMI. Important are the constant describing number of BFI
in network and Structure containing variables copied to/from HMI.
5. prgBeijerMain_BFI
Contain code for exchanging data between HMI and CODESYS/BCS Tools.
6. prgBFI_ModbusTCP
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.
8. BFI slaves
BFI slaves in the network. Important that each physical BFI has an individual IP-address in
CODESYS/BCS Tools corresponds with the setting in each BFI.
How to add an additional BFI in the network
Enter GVL called gvlBFI_HMI. Adjust the global constant gvlBFI_HMI.gc_iNrOfDrive to
number of BFI. If 4 pieces of BFI-E3 constant should be 4.
Enter GVL called gvlBFI. Adjust the global array variable gvlBFI.g_aDrive[]. Set the
array to [1..Number of BFI in the network]. If 4 pieces of BFI-E3 constant should be 4.
Enter GVL called gvlBFI . Adjust the global array variable gvlBFI.g_aDriveBEHMI[]. Set
the array to [1..Number of BFI in the network]. If 4 pieces of BFI-E3 constant should be 4.
Add another BFI into Modbus TCP network
- Chose Modbus_TCP_Master (Modbus TCP Master)
- Right click and ADD Device
- Chose Modbus TCP Slave
- Rename it. If it is BFI number 5, Refactoring it to BFI_5.
Chose the new BFI
- In Folder General, set Slave IP-address of the new BFI

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the BeiJer X2 and is the answer not in the manual?

BeiJer X2 Specifications

General IconGeneral
BrandBeiJer
ModelX2
CategoryController
LanguageEnglish

Related product manuals