Академический Документы
Профессиональный Документы
Культура Документы
1
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
Wiring.
Connect the PLC end with a 9 pin D-sub Profibus connector, the inverter end has screw terminals and should be connected as shown below.
2
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
Double click the master and check that the following window is set as shown. The starting I/O number will depend on the cards position in the rack. Click OK when satisfied.
3
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
In the slave parameter settings window click on Select Modules and in the following window select the PPO type required, in this example PPO type 1 is selected, click OK once selection has been made.
4
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
PLC program.
In the following, references will be made to the certain areas of the PLC program, to help find these areas they have been highlighted in the image below.
5
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
The code above initiates the startup sequence, start the data transfer and transfers data using the dedicated instructions, explained on pages 7 and 8. A simple function block has been created (DP_INV_CONT) to control the inverter, the following program shows the contents of the function block. NB: It is important that either I/O mapping OR Dedicated instructions are selected NOT both.
6
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
7
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
8
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
Click Setup/PLC and GX IEC Developer (GID) settings and in the following window select items as shown. Click OK
In the main window right click on the slave module and select I/O mapping.
9
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
In the I/O Mapping window, select the slave and under Buffer MIT-Address select the head device for receiving data from the slave in the input area and the head device for writing data to the slave in the output area. Click OK once selected.
10
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
The example program shown above is the same as the previous program except this program does not Use the dedicated instruction for reading and writing data as this is configured in the GX Configurator DP software as previously shown. NB: It is important that either I/O mapping OR Dedicated instructions are selected NOT both.
11
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
The HEX values shown create a binary bit pattern in the inverter for control in STW (TO_INVERTER[5]) word number 5 of PPO1. The value in the variable FREQ is sent to HSW (TO_INVERTER[6]) word number 6 of PPO1, this is where the set frequency is set in the inverter. For more details of the PPO types see pages 16 and 17.
12
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
Click on the Header of DP_INV_CONT to view the local variables that have been set in the inverter control function block.
13
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
It is important that ARRAYS are set with the correct range for the PPO type selected.
14
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
15
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
16
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
It is important that PZD enable is set to 1 in order for any control changes to take effect. The values in the words above are converted from and to an equivalent HEX value in the PLC, as shown in the example program.
17
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
18
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy
Technical reference documentation. QJ71PB92V Buffer memory areas for data exchange.
19
Created on 15/04/2009 Version: 1 Created By: Christian Warren Checked: Andy Esworthy Certified by: Andy Esworthy