Creating the Project
(Original Document)
At a Glance
In order to proceed to the development of the example, a main project associated with the PLC X must be created for configuring the PLC X as well as declaring all needed variables and programming the application. In addition, a separate project must be created for the configuration of PLC Y.
Procedure for Creating a Project
The table below shows the procedure for creating a project using Control Expert.
Step
Action
1
Launch the Control Expert software,
2
Click on File then New to select a BMX P34 20102 processor:
3
Confirm with OK.
Discrete Input Module Selection
The table below shows the procedure for selecting the discrete module needed by the PLC X.
Step
Action
1
In the Project Browser double-click on Configuration then on 0:PLC Bus and on 0:BMX XBP ••• (Where 0 is the rack number),
2
In the PLC Bus window, select a slot (for example slot 1) and double-click on it,
3
Choose the BMX DDI 1602 discrete input module located in the Discrete modules list,
4
Confirm with OK.
BMX NOM 0200 Module Selection
In this example, a BMX NOM 0200 module is used in the PLC Y for the serial link with the modem. Consequently it needs to be added to the project associated with the PLC Y.
The table below shows the procedure for selecting the BMX NOM 0200 module.
Step
Action
1
In the Project Browser double-click on Configuration then on 0:PLC Bus and on 0:BMX XBP ••• (Where 0 is the rack number),
2
In the PLC Bus window, select a slot (for example slot 1) and double-click on it,
3
Choose the BMX NOM 0200 communication module located in the Communication modules list,
4
Confirm with OK.
Processor Serial Port Configuration
The table below shows the procedure for configuring the serial port of the PLC X processor as Modbus slave:
Step
Action
1
In the Project Browser double-click on Configuration then on 0:BMX XBP 0800 then on 0:BMX P34 20102. Then double click on Serial Port to access to the 0.0:Serial Port window.
2
Select the Slave type.
3
Select 9600 bits/s for transmission speed.
4
Select RS232 for physical line.
5
Select RTU (8bits) for data type.
6
Close the window and confirm with OK.
BMX NOM 0200 Serial Channel Configuration
The table below shows the procedure for configuring the serial channel of the PLC Y BMX NOM 0200 module as Modbus slave:
Step
Action
1
In the Project Browser double-click on Configuration then on 0:BMX XBP 0800 then on 0:BMX NOM 0200 to access to the 0.x:BMX NOM 0200 window (where x is the slot number, for example x=1).
2
Select the Channel 0.
3
Select the Modbus link for function.
4
Select the Slave type.
5
Select 9600 bits/s for transmission speed.
6
Select RS232 for physical line.
7
Select RX/TX + RTS/CTS + DTR/DSR/DCD for signals.
8
Select 100 ms for RTS/CTS delay.
9
Select RTU (8bits) for data type.
10
Close the window and confirm with OK.