Hi Fieldbus Appl - ProfibusDP
Hi Fieldbus Appl - ProfibusDP
Hi Fieldbus Appl - ProfibusDP
FieldBus Application
< Profibus-DP >
2002/03/27
The information presented in this documentation is the property of HHI, Any copy or even partial is not
allowed without prior written authorization from HHI. HHI reserves the right to modify without prior
notification.
ii
Hi Series Robot Controller Fieldbus Application – Profibus-DP
1 Introduction ........................................................................................................................... 1
2 Project Creation..................................................................................................................... 2
7 Completion ............................................................................................................................. 7
iii
Hi Series Robot Controller Fieldbus Application – Profibus-DP
1 Introduction
PLC products from Siemens has function that can be transmit Input/Output through Profibus.
This document explains setting up Profibus-DP network including Hi Controller and SIMATIC S7-
300 CPU module(with built-in Profibus master) of Siemens.
In order to install or monitor or modify setting of Profibus network for the first time, PC must be
connected to PLC and Profibus as the following Figure (1-1). PC must have Windows 95/98/NT
operating system and STEP7 software of Siemens.
CPU + DP master
STEP 7 S7 PLC
RS-232C Profibus 2
COM1
S7 PC adapter Bd430 or 470
PC Profibus 1
This document explains brief network installation and setting procedure. Further information, refer to
the manuals from Siemens.
1
Hi Series Robot Controller Fieldbus Application – Profibus-DP
2 Project Creation
Execute STEP 7 Simatic Manager and press Cancel key to cancel Wizard dialog box displayed at first .
Select File – New menu. Enter the name of project when dialog box is displayed as Figure 2-1and
press O.K button
Select SIMATIC 300 Station in Insert – Station menu. When Figure 2-2 is displayed, double click
Hardware of SIMATIC 300 to execute HW Config program.
2
Hi Series Robot Controller Fieldbus Application – Profibus-DP
HW Config Program shown in Figure 3-1 includes catalog. Open SIMATIC 300 in Figure 3-1 first
and open RACK-300, double click Rail afterward.
Rail window is displayed as shown Figure 3-2. With this window, you can set what modules are
plugged on each slots of PLC rail. The example shall for example have following condition; power
module in slot 1, CPU in slot 2,16 Input module in slot 4.
At the condition of slot 1 being selected with highlight as shown in Figure 3-2, find item to be
matched with power module being used in catalog and double click it to set power module on slot 1.
Upon selection of slot 2, find exact name of CPU and double click it to display dialog box shown in
Figure 3-3 which is utilized to set Profibus-DP function of CPU.
3
Hi Series Robot Controller Fieldbus Application – Profibus-DP
Upon the condition of Address assigned for master, press New button to open the dialog box for
setting various parameter. Do any needed changes and press O.K button.
In general, default parameter may be used without any changes. Now, in Subnet list, the name and
baudrate of created network is displayed.
4
Hi Series Robot Controller Fieldbus Application – Profibus-DP
Now slave has to be setup. GDS file must be setup because GDS file of Hi Controller normally is not
included in STEP 7 software.
Select Options – Install New *.GSE Files… menu to open dialog box. Find Hhi_0870.gsd file and
press open button for installation .
In order to install image file showing Hi Controller, select first Options – Install New *.GSE Files
menu. Select Bitmap Files (.bmp) in type of file and find /select hhi_hi_n.bmp and press Open button
for installation when dialog box is displayed.
The screen shown in Figure 4-1 will be displayed by expanding Additional Field Devices – Sonstige –
HiRobotController in Catalog. (Newly installed GSD shall be added in Sonstige folder. Sonstige is the
meaning of ‘miscellany’ in German.)
Hi Robot Controller in default has 32 input and 32 output bytes which consist of 4 modules (16 bytes
per module). In catalog, 16 byte-sized input and output module is displayed.
5
Hi Series Robot Controller Fieldbus Application – Profibus-DP
Enter an appropriate Node number and press OK to insert a Hi Controller slave device to Network as
shown in Figure 4-3
These are respectively mapped to appropriate positions in I Address and Q Address of PLC.
In this example, the reason that I Address is started from 2 not from 0 is 16 points input module of rail
slot 4 occupies 0 and 1 already. (You can check this by clicking slot 4 in rail window)
If double click the Address item, the address can be changed to the desired position unless two
modules are overlapped.
Click Station – Save and Compile menu to record the setting and perform the compile for the
completion. Hardware setting is downloaded to PLC as click PLC – Download menu.
6
Hi Series Robot Controller Fieldbus Application – Profibus-DP
Return SIMATIC Manager program and open S7 Program – Blocks and double click OB1 which is
the main program of S7 PLC .
Select program type among the STL/LAD/FBD when Dialog box for setting is opened and press O.K
button.
Write PLC program when STL/LAD/FBD program is carried out and download to PLC. For the
further detail, refer to STEP 7 manual.
7 Completion
Under condition of the main power being supplied, Profibus master device manages entire Network
and exchanges data with Hi Controller and slave devices within Network .
HW Config software is not needed unless any changes(adding/deleting additional slaves, data
mapping) in setting is required. Namely, during performing Run mode of PLC, PC or PC adapter is
not necessary to be connected.