You are on page 1of 7

Chap.

24 Siemens: S7 200 PPI Direct

Chap.24 Siemens: S7 200 PPI Direct


S7 200 PPI Direct Driver of Siemens is available since V1.20 so if you use the previous version, please apply XP-Builder and XGT Panel
software that are beyond V1.20 from our web-site.

24.1 PLC List


XGT Panel can be connected to the below Siemens PLC.

Connection Communication Connection


PLC Type CPU Module Remarks
Mode type Module

Embedded
CPU212/ CPU direct
S7 200 RS-485 CPU Module communication
214/222/224/226 connection
type

Notice
(1) The communication parameters of XGT Panel should coincide with the related PLC.
► In the case of Siemens S7 200 PLC, you can arrange communication setting and loader program with STEP 7-
Micro/Win provided by Siemens.

(2) CPU 224XP has two communication ports. If you connect STEP 7-Micro/Win and PPI Adapter to unavailable port,
communication between XGT Panel and PLC will be disconnected and in this case, to resume communication,
you need to reset PLC. For Siemens S7 200 PLC, you can arrange communication setting and loader program
with STEP 7-Micro/Win provided Siemens.

(3) Term Description


► CPU Module Direct Connection: Serial Communication executed by loader port of CPU module.

24-1
Chap.24 Siemens: S7 200 PPI Direct

24.2 Wiring Diagram

24.2.1 RS-485 Communication


The wiring for 1:1 RS-485 communication mode is as below.

The communication parameter for PLC S7 200

Parameter Composition
Communication speed It can be selected among 9600, 19200, 187500 bps
Parity Bit Even
Data Bit 8 Bits
Stop Bit 1 Bit
Communication mode RS-485

Notice
(1) Suggestions
► S7 200 CPU Loader port has ±24V,±5V Pin for power supply. If you have wrong connection, loader port may be damaged or
burned.
► A shielded wire is recommended for stable communication. For shield wiring, refer to the Chap.2.
► If you use two CPU loader ports at the same time, it may cause communication problem. In this case, reset the PLC.

24-2
Chap.24 Siemens: S7 200 PPI Direct

24.3 Communication Setting

24.3.1 Setting S7 200 PPI Direct


You can set the communication parameters for S7 200 PPI Direct Driver of XGT Panel at XP-Builder. (Refer to XP-Builder manual.) The private
program for STEP 7-Micro/Win should be applied to set communication for Siemens S7 200.

(1) Setting at XP-Builder

XP-Builder basically provides communication parameter for CPU module loader.

Notice
(1) Checking Communication Status
► If you can not check the communication status of Siemens S7 200 CPU module, check the state of XGT Panel
through Diagnostics function and PLC information. (Refer to XGT Panel manual.)

(2) Suggestions to set XP-Builder


► When creating a project or communication setting, you need to set the below.

► When RS-485 is realized as 1:N, set transmission waiting time flexibly depending on communication structure.
(Recommended : 50~100ms)

24-3
Chap.24 Siemens: S7 200 PPI Direct

(2) Setting S7-200


You can set communication for S7-200 by executing STEP 7-Micro/Win. S7-200 PPI Adapter should be applied to set the communication of PLC.

If you execute STEP 7-Micro/Win as below and click Communication button, the initial screen will be displayed as below.

② Double-click here
to the connected
PLC

① Click Communications button to display


Communications dialog screen.

Through the above ①,② process, you can connect to the PLC. (If double-click the button to search for the connected PLC, you can
get the below.

24-4
Chap.24 Siemens: S7 200 PPI Direct

After connecting to the PLC as above, display the below communication setting screen and download the setting details to the PLC.

24-5
Chap.24 Siemens: S7 200 PPI Direct

24.4 Available Device


The available devices for XGT Panel are as below.( S7-200 CPU 244XP is applied to the mentioned device)

Double Word
Area Description Bit Contacts Word Data Type Area(Byte)
Data
I Input Relay I0.0~I15.7 IW0~IW14 ID0~ID12 R
Q Output Relay Q0.0~Q15.7 QW0~QW14 QD0~QD12 R/W
T Timer T0~T255 TW0~TW255 - R
C Counter C0~C255 CW0~CW255 - R
Variable
V V0.0~V5119.7 VW0~VW5118 VD0~VD5116 R/W
Memory
Internal
M M0.0~M31.7 MW0~MW30 MD0~MD28 R/W
Memory
Special
SM SM0.0~SM299.7 SMW0~SMW298 SMD0~SMD296 R/W
Memory

(1)Bit Contacts
► I,Q,V,M,SM Type : [Area ][Address ].[Bit ]
[Area ] : I,Q,V,M,SM
[Address ] : Byte unit (Decimal) , Ex.)I,Q are the values among 0~15, V is the value among 0~5119.
[Bit ] : The value between 0 and 7
► T,C Type : [Area ][Address ]
[Area ] : T, C
[Address ] : Word unit(Decimal) ,Ex.) T,C are the values among 0~255.
[Bit ] : The value between 0 and 7

(2) Word Contacts / Double Word Contacts


► IW(ID),QW(QD),VW(VD),MW(MD),SMW(SMD) Type : [Area][Address]
[Area] : IW(ID),QW(QD),VW(VD),MW(MD),SMW(SMD)
[Address] : Byte unit (It should be a multiple of 2) Ex.) 0,2,4,6,8 …
※The value where 32Bit is applied with WORD area is the same as the value where 32Bit is applied with DWORD
area. Furthermore, the value where 16Bit is applied with WORD area is the same as the value where 16Bit is applied
with DWORD area. Namely, MW2 (16Bit) is the same as MD2(16bit).
Although W area is used as 16Bit and D area as 32Bit at PLC, they are applied equally due to the characteristics of
XGT Panel.

► TW,CW Type : [Area][Address]


[Area] : TW, CW
[Address] : Word unit(Decimal) , 0~255

(3) Applying String


When applying string, make sure to set Using Data Byte Swap(S) at [Common|Basic] setting that is detailed
setting option of string.
The offset of string should be set as an even number with byte and the size also should be set as an even
number.
Ex.) Supposing that starting address is VW0 with the size of 14 Byte, offset is set as 2(even number) (since it
is provided as word unit under XGT Panel)

24-6
Chap.24 Siemens: S7 200 PPI Direct

Notice
(1) Suggestions
► For the details on device with usage, refer to Inverter Manual.
► The range of device may be different depending on CPU module so refer to each CPU module manual.

24-7

You might also like