Vous êtes sur la page 1sur 71

EEEF

DIAE
SIMATIC NETWORK
EEEF
DIAE
SIMATIC NETWORK
EEEF
DIAE
Profibus Introduction
Profibus was created in Germany in March, 1996
Profibus was embeded in European in standard EN50170
EEEF
DIAE
Profibus Introduction
There are three kind of profibus: Profibus FMS, DP and PA
FMS : Fieldbus Message Specification
DP : Decentralized Periphery
PA : Proccess Automation
EEEF
DIAE
Profibus DP
EEEF
DIAE
Profibus DP Introduction
Distributed automation systems is used increasingly
in manufacturing and proccess automation.
The complex control task is divided into smaller
subtasks with distributed control system.
Smaller, clearer programs are easy for programming
and trouble shooting.
Parallel processing by distributed control system
reduce load and reaction times on cpu
Structure of large systems alway have diagnostic and
logging functions.
EEEF
DIAE
Characteristics of Profibus DP
Open standard based on EN50170
Up to 244 byte of input and output data per message
Up to 126 stations may connect to the bus
Up to 32 stations per bus segment.
Fasted fieldbus standard to date with data rates up to
12Mps: Transmission rates depend on type of cable and
length
To 93.75Kbps : 1000 m
187.5 Kbps : 800 m
500Kbps : 400 m
1 to 1.5Mps : 200 m
3 to 12Mps : 100 m
EEEF
DIAE
Characteristics of Profibus DP
Transmission Medium:
RS 485 for electrical networks on shielded, twisted pair
cable.
OLM(Optical link Module)
Wireless
Physical characteristic of the rs 485 Transmission Techniques
EEEF
DIAE
Passive and Active components of RS-485 network
Passive components
EEEF
DIAE
Passive and Active components of RS-485 network
Passive components: Fastconnect bus connector
EEEF
DIAE
Passive components of RS-485 network
Fastconnect bus connector
EEEF
DIAE
Connecting Cable
EEEF
DIAE
Active components of RS-485 network
Repeater
EEEF
DIAE
Master Slave Cyclic Data Exchange
EEEF
DIAE
Master Slave Data Exchange
EEEF
DIAE
Communication between S7300 and S7200 using
Profibus DP network
EEEF
DIAE
Communication between S7300 and S7200 using
Profibus DP network
Features
Master must be S7300 or S7400.
CPU type: CPU31x- 2DP or CP41x 2 DP.
EM277 is used to communicate between S7200 and
S7300 or S7400.
Total nodes of network are 99
EEEF
DIAE
CPs 31x-2DP
EEEF
DIAE
CPs 41x-2DP
EEEF
DIAE
Communication Module EM277
EEEF
DIAE
Communication Module EM277
EEEF
DIAE
Data Exchange between Master and Slave
EEEF
DIAE
Data Exchange between Master and Slave
Features
Master
Master uses I and Q memory area to exchange data with
Slave
Number of bytes and start address are identified in
hardware configure
Slave
Slave uses V memory area to exchange data with Master
Start address of V equal to offset address
Input data of slave is next to output data
EEEF
DIAE
Data Exchange between Master and two Slave
S7300 or
s7400
Notice
I and Q memory areas in Master must be different
Offsets of V in two CPUs can be the same or different
EEEF
DIAE
Communication between S7300 and S7300 using
Profibus DP Networ
EEEF
DIAE
Data Exchange between Master and Slave
EEEF
DIAE
Data Exchange between Master and Slave
Features
Master
Master uses I and Q memory area to exchange data with
Slave
Number of bytes and start address are identified in
hardware configure
Slave
Slave uses I and Q memory area to exchange data with
Master
Number of bytes and start address are identified in
hardware configure
EEEF
DIAE
Data Exchange between Master and two Slaves
Notice:
I and Q memory areas in Master must be different
I and Q memory areas in slaves can be the same or different
EEEF
DIAE
ET200 Distributed I/O Devices
ET200 consists of an interface module(IM 153-x) and I/O
modules of the S7300.
ET200 is used whenever I/Os are distances from the controller
ET200 is ideal solution for following systems:
The CPU is located at the central location
I/Os operate locally on a distributed system.
Profibus DP with high data trasmission speed ensures the
cpu and I/Os communicate smoothly.
EEEF
DIAE
Communication between S7300 and ET200 using
Profibus DP Network
EEEF
DIAE
Connecting and setting address for ET200
EEEF
DIAE
Module Expansion using ET200
I/O modules, SM, FM, CP can be insert on ET200.
Expansion modules address on ET200 are as modules address
as in the S7300 CPU
EEEF
DIAE
ET200 Module ( IM 153-1)
EEEF
DIAE
Data Exchange between Master and ET200
Master and ET200 use the same I and Q memory area to
exchange data
EEEF
DIAE
Communicating between S7300 and S7200 using Profibus
DP network.
Connect s7300 and s7200 via profibus(Disconnect power
supply, setting EM277 address, connect s7300 and EM277 via
profibus cable, turn on terminating resistors)
Configure hardware in Simatic Step 7 (Configure s7300
station, open hardware, insert profibus network, insert a slave
EM277)
Write and download program into S7300
Write and download program into S7200
Following Steps:
Profibus DP Experiment 1
EEEF
DIAE
Connect the profibus network
Notice: Setting address for M277
EEEF
DIAE
Configure the hardware
Open the hardware configuration, add the cpu s7300 and
modules
Notice: Hardware configuration and real hardware must be matched, otherwise the cpu
will fault
EEEF
DIAE
Configure the profibus connection: Right click on DP/Properties/New/enter
appropriate name
EEEF
DIAE
A new profibus is created without slave
EEEF
DIAE
Add the slave to profibus network: Select bus/right click/Insert/Addition field
device/PLC/EM277/ set address for Slave
EEEF
DIAE
Add the slave to profibus network: Select bus/right click/Insert/Addition field
device/PLC/EM277/ set address for Slave
EEEF
DIAE
A Slave has address 3 is created in the profibus network
EEEF
DIAE
Select number of bytes of data to exchange between master and slave
Click on Slave/at slot1/Insert Object/select number of in/out bytes and start
address.
EEEF
DIAE
Select number of bytes of data to exchange data between master and
slave: Click on Slave/at slot1/Insert Object/select number of in/out bytes and
start address.
EEEF
DIAE
Define V memory area in the S7200 by setting
Offset.
EEEF
DIAE
After finishing configuration, Data exchange between S7300 and S7200 as
flowing.
EEEF
DIAE
Write a program in s7300 and download to the
s7300 cpu
EEEF
DIAE
Write a program in S7200 and download to the
s7200 cpu
EEEF
DIAE
Create a variable in step 7
Insert input/output variable table
Input can be update via variable control
Outputs can be set via variable control
Monitor the project
EEEF
DIAE
Communicating between S7400 and ET200 via Profibus
DP network.
Connect s7400 and ET200 via profibus(Disconnect power
supply, setting ET200 address, connect s7400 and ET200 via
profibus cable, turn on terminating resistors)
Configure hardware in Simatic Step 7 (Configure s7400
station, open hardware, insert profibus network, insert a slave
ET200)
Write and download program into S7400
Following Steps:
Profibus DP Experiments 2
EEEF
DIAE
Connect profibus network
Notice: Setting address for ET200
EEEF
DIAE
Configure the hardware
Open the hardware configuration, add the cpu s7400 and
modules
Notice: Hardware configuration and real hardware must be matched, otherwise the cpu
will fault
EEEF
DIAE
Configure the profibus connection: Right click on DP/Properties/New/enter
appropriate name
EEEF
DIAE
Add ET200 to the profibus network: Select bus/right click/Insert/DV0 slave/
set address for Slave
EEEF
DIAE
Add I/O modules to the ET200 : Select ET200,start at slot 3/Insert appropriate
modules
Notice: I and Q address areas are used to program in the CPU
EEEF
DIAE
Create a variable in step 7
Insert input/output variable table of modules
which added in ET200
Input can be update via variable control
Outputs can be set via variable control
Monitor the project
EEEF
DIAE
EEEF
DIAE
Communicating between S7300 and S7400 via Profibus DP
network.
Connect s7400 and s7300 via profibus(Disconnect power
supply, connect s7400 and s7300 via profibus cable, turn on
terminating resistors)
Configure hardware in Simatic Step 7 (Configure s7400 and
s7300 station, configure profibus network)
Write and download program into S7400
Write and download program into S7300
Following Steps:
Profibus DP Experiment 3
EEEF
DIAE
Configure the hardware for s7400 station
Open the hardware configuration, add the cpu s7400 and
appropriate modules
Notice: Hardware configuration and real hardware must be matched, otherwise the cpu
will fault
EEEF
DIAE
Configure the hardware for s7400 station
Setup operation mode fo the CPU: Right click on DP/
Properties/ Operation mode/Check DP master
Notice: Hardware configuration and real hardware must be matched, otherwise the cpu
will fault
EEEF
DIAE
Configure the hardware for s7300 station
Open the hardware configuration, add the cpu s7300 and
modules
Notice: Hardware configuration and real hardware must be matched, otherwise the cpu
will fault
EEEF
DIAE
Configure the hardware for CPU S7300
Setup operation mode fo the CPU: Right click on DP/
Properties/ Operation mode/Check DP slave
EEEF
DIAE
Configure the profibus connection
Open the hardware configuration, add profibus network/
enter appropriate name and select slave CPU 31x
EEEF
DIAE
Configure the profibus connection
Open the hardware configuration, add profibus network/
enter appropriate name and select slave CPU 31x/ click
coupe
EEEF
DIAE
Configure the profibus connection
A slave with address 6 is created in the profibus network
EEEF
DIAE
Configure the I/O data
Open the hardware configuration, double click on slave/
configuration/ click new and enter I/O data for master and
slave
Notice: select address, length, unit to define i/o data
EEEF
DIAE
Configure the I/O data
Open the hardware configuration, double click on slave/
configuration/ click new and enter I/O data for master and
slave
Notice: select address, length, unit to define i/o data
EEEF
DIAE
Configure the I/O data
Result of configure I/O data as below
Notice: Number of bytes and start address can be changed
EEEF
DIAE
Configure the I/O data
Result of configure I/O data as below
EEEF
DIAE
PROGRAM FOR MASTER AND SLAVE
Program in master
Program in slave
EEEF
DIAE
Create a variable in step 7
Insert input/output variable table
Input can be update via variable control
Outputs can be set via variable control
Monitor the project

Vous aimerez peut-être aussi