Additional Manual Siemen S7-200 PDF
Additional Manual Siemen S7-200 PDF
Additional Manual Siemen S7-200 PDF
ADDITIONAL MANUAL
SIEMENS
S7-200/300/400 Series
(via MPI)
Reading the GP-PRO/PBIII Device/PLC Connection Manual
This document is designed as an addition to the latest GP-PRO/PBIII for Windows
Device/PLC Connection manuals SIEMENS PLC data, and covers the connecting
information with SIEMENS S7-200/300/400 Series (via MPI).
Please refer to this document when connecting your GP/GLC with SIEMENS S7-200/
300/400 Series via MPI.
For information concerning general type PLC connections and this documents docu-
mentation conventions, please refer to your Device/PLC Connection manual.
The information in this document will be included in the next version of the Device/PLC
Connection manual.
Installation
This CD-ROM includes all the protocol files required by the GP/GLC to communicate
with a SIEMENS PLC. Also, you will need to have the GP Screen Editor software
(GP-PRO/PBIII for Windows95 version 6.0 or higher) installed on your personal
computer's hard disk. For information about the installation of the GP Screen Editor
software, refer to that software's Operation Manual.
1) Be sure to Confirm that the GP Screen Editor software is installed in your PC prior
to starting this driver installation.
2) To install the new SIEMENS MPI driver, execute S7_MPI.exe for S7-200/300/
400 MPI connection.
3) Once the setup program starts, follow the instructions given to install the protocol
files.
When using the MPI protocol of S7-200 Series unit, select [Siemens S-200 via
MPI] and when using the MPI protocol of S7-300/400 Series unit,[Siemens S7-
300/400 via MPI] for the " PLC Type" .
Chapter 2 - PLC-GP Connection 2.16 Siemens
2.16 Siemens
The following describes the system structure for connecting the GP to Siemens
PLCs.
Reference The Cable Diagrams mentioned in the following tables are
listed in the section titled "2.16.2 Cable Diagrams".
Note: Supports both 3964 and 3964R protocols. The GP automatically dis-
criminates between the two.
For better error detection, the 3964R is recommended.
CPU312IFM RS-422
CPU313 (Cable Diagram 11)
CPU314
CPU314IFM RS-422
CPU315 (Cable Diagram 12) GP/GLC Series *1
CPU315-2DP
CPU316 RS-422
CPU316-2DP (Cable Diagram 13)
CPU318-2
CPU412-1 RS-422
CPU412-2DP (Cable Diagram 11)
CPU413-1
CPU413-2DP
CPU414-1 RS-422
CPU414-2DP (Cable Diagram 12) GP/GLC Series *1
CPU414-3DP
CPU416-1
RS-422
CPU416-2DP
(Cable Diagram 13)
CPU416-3DP
CPU-417-4
*1 When using a unit that cannot operate at 187500bps, be sure to select an-
other data transfer speed. 2.16.4 Environment Setting Ex-
ample
Connection Structure
1:n RS-422 2-wire type
Max. 4 units
RS-422
S7-200/300/400 Series
GP /GLCSeries GP /GLCSeries
RS-422
#1 #3 #1 #3
#2 #4 #2 #4
RS-422
* The connections 1:n and n:1 can be made on the same line.
*1 When using the CP340 Link I/F an "Interpreter program" is required on the
PLC. This is contained in the GP-PRO/PBIII for Windows CD-ROM 's "CP340"
folder. Please see "README" file in this folder in order to install this pro-
gram.
The cable diagrams illustrated below and the cable diagrams recommended by Siemens may
differ, however, using these cables for your PLC operations will not cause any problems.
NC
ER
CSA
ERA
1 FG 1 DO+
7 SG 7 DO-
9 TRMX 5 DI+ Termination
Termination 10 RDA 8 DI- Resistance 120
Resistance 120 16 RDB 3 GND
11 SDA
15 SDB
18 CSB
19 ERB
21 CSA
22 ERA
Max. 50m
Max. 50m
When using the following PLCs (MPI and Profibus port are the same type), the
following cable diagram also can be used.
318-2(6ES7 318 2AJ00), 412-1(6ES7 412 1XF03), 412-2DP(6ES7 412
2XG00),414-2DP(6ES7 414 2XG03), 414-3DP(6ES7 414-3XJ00), 416-
2DP(6ES7 416 2XK02), 416-3DP(6ES7 416-3XL00), 417-4(6ES7 417-4XL00)
Max. 50m
GP
(25P male) PLC PLC
1 FG (9P male) (9P male)
7 SG Housing Housing
9 TERM 5 SG 5 SG
10 RDA 3 B/B 3 B/B Termination
16 RDB 8 A/A 8 A/A Resistance
Termination 220
11 SDA Shield
Resistance
15 SDB
220 18 CSB
19 ERB
21 CSA
22 ERA Shield
Max. 50m
Note: When making your own cable connections, we recommend to use the ter-
minal between the cables because the PLC side connector is Dsub 9-pin
connector.
When using the following PLCs (MPI and Profibus port are the same type), the
following cable diagram also can be used.
318-2(6ES7 318 2AJ00), 412-1(6ES7 412 1XF03), 412-2DP(6ES7 412
2XG00),414-2DP(6ES7 414 2XG03), 414-3DP(6ES7 414-3XJ00), 416-
2DP(6ES7 416 2XK02), 416-3DP(6ES7 416-3XL00), 417-4(6ES7 417-4XL00)
GP
(25P male)
1 FG PLC PLC
7 SG (9P male) (9P male)
9 TERM Housing Housing
10 RDA 3 B/B 3 B/B Termination
16 RDB 8 A/A 8 A/A Resistance
Termination 220
11 SDA Shield
Resistance 15 SDB
220 18 CSB
19 ERB
21 CSA
22 ERA Shield
Max. 50m
When using the following PLCs (MPI and Profibus port are the same type), the
following cable diagram also can be used.
318-2(6ES7 318 2AJ00), 412-1(6ES7 412 1XF03), 412-2DP(6ES7 412
2XG00),414-2DP(6ES7 414 2XG03), 414-3DP(6ES7 414-3XJ00), 416-
2DP(6ES7 416 2XK02), 416-3DP(6ES7 416-3XL00), 417-4(6ES7 417-4XL00)
GP070-CN10-O
Max. 50m
The following tables describe the range of devices supported by the GP.
* 1 The range for the Data Register and the Extended Data Register must also be
set up in the PLC. Communication will not occur with the GP when the Sys-
tem Area range is not setup.
* 2 The Data Register and Extended Data Register is as illustrated below.
E.g. D003 000
Data Word (DW) No. 000~255
Data Block (DB) No. 003~255
Note: For information about Bit Write process differences, see the end of this
section.
*1 The bit position is the last digit entered. There is no . delimeter - e.g. I3.7 is
equivalent to 137 in GP-PRO/PBIII.
*4
Data Block --- DB1W00000 ~ DB60W65532
DB1.DBX0.0 ~ DB1.DBW0 ~ *5
Data Block
DB65535.DBX65533.7 DB65535.DBW65532
*1 When using a GP70 Series unit (except for GP-377 Series units), only de-
vices of the PLC registered as #1 in the Target Node (PLC) area can be used.
All other GP/GLC units can use PLC device #1 to #4, set up in the Target
Node (PLC) area. For Target Node setting, refer to 2.16.4 Environment Setup.
*2. Data write cannot be performed. If data write is attempted, a Host Commu-
nication error (02:FB) will occur. 2.16.5 Error Codes
*3. Only the PLC device registered as #1 in the Target Node (PLC) area can be
used. For Target Node setting, refer to 2.16.4 Environment Setup.
*4 The addressing format for entering on GP-PRO/PB III is different from the
convention used in the S7-300/400 - e.g. DB63W00020 is equivalent to
DB63.DBW20.
*5 When Data Blocks other than DB61 in a 1:1 Connection or using a 1:n
connection designating data blocks for multiple PLCs, use this address. How-
ever, the maximum number of data blocks is 40. GP70 Series units (except for
GP-377 Series units) cannot use this devices.
Device name
Address
Bit position
2.16.4 Environment
Setup
1_VW0000
Device address
Device name
Data Block
Address
Bit position
2.16.4 Environment
1_DB1.DBW0 Setup
Device address
*1 Some Data Blocks are reserved for the 3964 interpreter program:
DB2,DB3,DB5 & DB10.
*2 The addressing format for entering settings in GP-PRO/PB III is different
from the convention used in the S7-300/400 - e.g. DB63W00020 is equiva-
lent to DB63.DBW20.
STOP The method of writing bits will differ depending on the GP series.
<GP-*30 series>
When the bit write operation (other than Reverse) is performed, the correspond-
ing word address will set the bits to 0 (except the designated bits).
<Except GP-*30 series>
When the bit wirte operation is performed, the GP reads the PLC's correspond-
ing word address and turns a bit ON, then send back to PLC. Do not write to
the word address from the ladder program in the middle of this operation.
When running a GP-*30 Series ladder program, be aware of the above points.
PLC No. 2 2
*2 *4
*7
*7 *8
<SIMATIC S7-200 Series MPI Network Setting Window>
GP-PRO/PBIIIforWindowsVer.6.1 PLCConnectionManual 2-16-27
2.16 Siemens Chapter 2 - PLC-GP Connection
*1 Baud Rate speed can be 19200 bps or 187500 bps depending on the PLC
unit'sBaud rate. However, certain GP units cannot use the 187500 bps
speed. 2.16.1 System Structure Connectable GP/GLC
units for SIMATIC S7-200/300/400 Series(MPI Direct)
If 187500 bps is used with an incompatible GP Series units, a Host Commu-
nication error (02:F2) will occur. 2.16.5 Error Codes
*2 15/31/63/126 can be selected. Be sure this setting is the same as the PLC
unit's Highest Address setting.
*3 15/31/63/126 can be selected. On a single network, choose the value that is
higher than the maximum value of the GP's Local Node or the PLC's MPI
Address. For example, if the maximum value is 16, then select 31. Specify the
smallest practical value for the maximum node address. This will shorten the
time required for initializing the network.
*4 Set the Connection Method. When connecting to the MPI port directly, set to
"Direct".
*5 Set the GP's unit number. Setting range is from 0 to 126. Maximum number of
GP units that can be connected is 3. Be sure this number is not used as a
PLC's Node No.
*6 Set the PLC unit's node number. Setting range is from 0 to 126, and the
maximum number of PLCs that can be connected is 4. Be sure this number is
not used as a GP and another PLC unit's Node No.
*7 Select the number of PLCs to use for data communication. Setting range is
from 1 to 4.
*8 Register the PLC's MPI Address. Depending on the No. of PLCs setting, from
#2 to #4 can be set. This setting can only be entered using the GP-PRO/PBIII
software. The GP unit's OFFLINE mode cannot be used.
*1 When using an HMI Adapter, Baud Rate speed can be 19200 bps, 38400 bps
or 115200 bps. However, when using another adapter, Baud Rate speed can
only be 19200 bps.
*2 15/31/63/126 can be selected. Be sure this setting is the same as the PLC
unit's Highest Address setting.
*3 15/31/63/126 can be selected. On a single network, choose the value that is
higher than the maximum value of the GP's Local Node or the PLC's MPI
Address. For example, if the maximum value is 16, then select 31.Specify the
smallest practical value for the maximum node address. This will shorten the
time required for initializing the network.
*4 Set the Connection Method. When using an adapter, set it to "via Adapter".
*5 Set the GP's unit number. Setting range is from 0 to 126, and the maximum
number of GP units that can be connected is 3. Be sure this number is not
used as a PLC's Node No.
*6 Set the PLC unit's node number. Setting range is from 0 to 126, and the
maximum number of PLCs that can be connected is 4. Be sure this number is
not used as a GP and another PLC unit's Node No.
*7 Select the number of PLCs to use for data communication. Setting range is
from 1 to 4.
*8 Register the PLC's MPI Address. Depending on the No.of PLC setting, from
#2 to #4 can be set. This setting can only be entered using the GP-PRO/PBIII
software. The GP unit's OFFLINE mode cannot be used.
*9 The Baud Rate Setting does not required.
Note: The following diagram is Siemens S7-300/400 Series MPI Network set-
ting window. This window is displayed by clicking on the [MPI Network]
button in the [GP System Setup]-[Mode Settings] tab. The number in the
diagram refers to the footnote number as shown above.
*2 *4
*5
*7 *8
SIMATIC 505
GP Setup PLC Settings
Baud Rate 19200 bps Baud Rate 19200 bps
Data Length 7 bits Data Length 7bits (fixed)
Stop Bit 1 bit Stop Bit 1bit (fixed)
Parity Bit Odd Parity Bit Odd (fixed)
Data Flow Control ER Control
Communication Format Communication Format Turn on the Dip
RS-232C
(RS-232C) (RS-232C) Switch 1 on CPU.
Communication Format Communication Format Turn on the Dip
RS-422 (4-wire type)
(RS-422) (RS-422) Switch 1 on CPU.
Error Codes
Error Code Description
F0 The cable is not connected. The PLC's power is OFF.
F1 Unable to locate target node.
F2 GP does not support 187500bps data transfer speed.
F3 A Timeout has occurred on the MPI network.
F4 Failed to connect to Target Node.
F5 Designated device or address does not exist, or other similar problem.
SIMATIC S7-300/400 Series (MPI Direct and MPI Connection via adapter)
Max No. of
Device
Consecutive Address
Input
Output
Internal
64 Words
Timer
Counter
Data Block
SIMATIC S7-300/400 Series (MPI Direct and MPI Connection via adapter)
Device Word Address Device Address Address Code
Input Node 1 EW000 ~ 8000 word address divided by2
Node 2 EW000 ~ 8200 word address divided by2
Node 3 EW000 ~ 8400 word address divided by2
Node 4 EW000 ~ 8600 word address divided by2
Output Node 1 AW000 ~ 8800 word address divided by2
Node 2 AW000 ~ 8A00 word address divided by2
Bit Device
Node 3 AW000 ~ 8C00 word address divided by2
Node 4 ]AW000 ~ 8E00 word address divided by2
Internal Node 1 MW000 ~ 9000 word address divided by2
Node 2 MW000 ~ 9200 word address divided by2
Node 3 MW000 ~ 9400 word address divided by2
Node 4 MW000 ~ 9600 word address divided by2
Timer T000 ~ 6000 word address
Counter Z00 ~ 7000 word address
Data Block DB1W00000 ~ 0000 word address divided by2
Data Block DB2W00000 ~ 0200 word address divided by2
Data Block DB3W00000 ~ 0400 word address divided by2
: : : :
Data Block DB32W00000 ~ 3E00 word address divided by2
Data Block DB33W00000 ~ 4200 word address divided by2
Word Device : : : :
Data Block DB47W00000 ~ 5E00 word address divided by2
Data Block DB48W00000 ~ 6200 word address divided by2
: : : :
Data Block DB54W00000 ~ 6E00 word address divided by2
Data Block DB55W00000 ~ 7200 word address divided by2
: : : :
Data Block DB60W00000 ~ 7C00 word address divided by2
LS area LS0000 ~ 4000 word address
: When the selected conversion mode is [Word], both word and bit addresses
are converted. When the [Bit] is selected, only bit addresses are converted.
: When the selected conversion mode is [Word], only word addresses are con-
verted. When the [Bit] is selected, only bit addresses are converted.
: When the [Word] mode is selected, only word addresses are converted.
: When the [Bit] mode is selected, only bit addresses are converted.
Blank: Cannot be converted.
M
Internal
T
Timer
C
Counter
VW
Variable memory
LS
System Area
SIMATIC S7-300/400 Series (MPI Direct and MPI Connection via adapter)
After Conversion
E A M T C DB LS
E
Input
A
Output
Before Conversion
M
Internal
T
Timer
Z
Counter
DB
Data Block
LS
System Area