I.Configuration
Simatic Manager.
1. To
open Simatic Manager, select File > “New” project, Insert Name is following
box. Then click OK.
2. Right Click on “S7 300 Connect Em277” at the above left corner of Simatic Manager. Please
insert the following picture :
3. Click
Hardware to open “HW Config” :
Ø At
the right side of “HW config” click SIMATIC 300 > RACK-300 to insert Rail :
Ø Please
insert PS 307 10A (Power Supply). At CPU 314C – 2DP and choosing serial of CPU
314C – 2DP exactly. Seeing the following picture :
Ø The
box “ Properties – PROFIBUS interface DP (R0/S2.1) ” show to choose profibus
networked. Please click “ New ” :
Ø At
Tab “ Network Setting ” to select the paramater as the above pictrure. Then click
“OK”.
Notice: The DI/DO address of CPU
314 is important to program PLC input and PLC output exactly.
Ø At tab Address of box “ Properties – DI24/DO16 (R0/S2.2) ” please insert Address input and
ouput with “ Start – End ”. Then Click
Ok. In the sample “Input start : 0; Input start : 2” are correlative “I0.0 –
I2.7” . “Output start : 0 ; Output end : 1” are correlative “Q0.0 – Q1.7” .
Ø To
connect S7 200 through EM 277 Module
profibus DP, Click line “PROFIBUS (1) DP
master system (1)” then select EM
277 PROFIBUS – DP at The tree folder
PROFIBUS DP.
Notice:
if your HW Config don’t have EM 277
Profibus device in library. Please search GSD file for EM 277 at
Website http://support.automaitons.siemens.com
.
-
Turn Off power supply’s EM 277
-
Select : “ x10 ” address at zero. “
x1 ” address at 4. Then address of EM 277 is four (4).
-
Turn On power supply’s EM 277
Ø Then
click EM277 on line profibus and select “
2Byte Out / 2 Byte in ” to define data type transfer.
- Input
memory master is “I Memory” to receive data from One defined Slave.
- Onput
memory master is “O Memory” to send data from Master to the defined Slaves.
Example:
signal 2byte in of master is IB3/IB4 and signal 2 byte out of master is QB2/QB3.
Ø Specify
“ I/O Offset in the V – Memory ”. The default is zero (0).
Ø To
finish click button “ Save and complile ”. Then download Hardware to PLC.
II.
Writing program
PLC
1.
PLC S7 300:
Ø Send
signal from S7 300 to S7 200 through Module EM 277
Ø Receive
signal from S7 200 to S7 300 through Module EM277.
Please open HW
Config to specify address of S7 300, EM277 exactly.
2.
PLC S7 200:
Ø Receive
signal forum s7 300 transfer to S7 200 through EM277 Module.
Ø Send
signal from S7 200 to S7 300 through EM 277 Module
Notice:
Input and output address of S7 300 and S7 200 belong in “HW Config”
Please watch the following picture to see
clearly.
chào bạn.
ReplyDeleteMình cũng đã thực hiện như bạn hướng dẫn, nhưng khi download chương trình thì nó báo lỗi llegal address.
bạn hướng dẫn giúp mình cách download chương trình với nhé.
quockhoa67890@gmail.com
cảm ơn bạn nhiều.