Professional Documents
Culture Documents
Chap.24 Siemens - S7ppi PDF
Chap.24 Siemens - S7ppi PDF
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.
24-1
Chap.24 Siemens: S7 200 PPI Direct
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
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.)
► 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
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
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
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
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