Professional Documents
Culture Documents
Training Document for Integrated Automation Solutions Totally Integrated Automation (TIA) MODULE M1 Startup !rogramming of the SI"ATIC S#-$%&& 'ith TIA !ortal ($&
Seite 1 von 59
Startup Progra
T%is do&u ent 'as prepared b( t%e Sie ens A) *or training purposes *or t%e pro+e&t: Sie ens Auto ation !ooperates 'it% ,du&ation -S!,./ Sie ens A) does not guarantee t%e &ontents/ Passing on t%is do&u ent or &op(ing it and using and &o uni&ating its &ontent 'it%in publi& training and &ontinued edu&ation establis% ents is per itted/ ,0&eptions re1uire a 'ritten aut%ori2ation b( Sie ens A)/ -Mi&%ael 3nust i&%ael/4nust5sie ens/&o ./ 6**enders 'ill be %eld liable/ All rig%ts in&luding translation are reserved7 parti&ularl( i* a patent is granted7 or a utilit( odel or design is registered/ 8e 'is% to t%an4 t%e Mi&%ael 92iallas ,ngineering &orporation and t%e instru&tors o* vo&ational/pro*essional s&%ools as 'ell as all ot%er persons *or t%eir support during t%e preparation o* t%is do&u ent/
Seite 2 von 59
Startup Progra
!A)E 1/ Pre*a&e////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 5 2/ :otes on Progra ing t%e SIMATI! S"#1200////////////////////////////////////////////////////////////////////////////////////////////////// " 2/1 Auto ation S(ste SIMATI! S"#1200//////////////////////////////////////////////////////////////////////////////////////////////////////// " 2/2 Progra ing So*t'are ST,P " ;asi& $10/5 -TIA Portal $10/5./////////////////////////////////////////////////////////////////" </ Installing t%e So*t'are ST,P " ;asi& $10/5 -TIA Portal $10/5.////////////////////////////////////////////////////////////////////////= >/ !onne&ting to t%e !P? b( eans o* T!P/IP7 and @esetting to Aa&tor( Setting///////////////////////////////////////////////9 5/ 8%at is a PB! and 8%at are PB!s ?sed AorC/////////////////////////////////////////////////////////////////////////////////////////////// 15 5/1 8%at does t%e ter PB! eanC//////////////////////////////////////////////////////////////////////////////////////////////////////////////// 15 5/2 Do' does t%e PB! !ontrol t%e Pro&essC/////////////////////////////////////////////////////////////////////////////////////////////////// 15 5/< Do' does t%e PB! )et t%e In*or ation about t%e Pro&ess StatesC///////////////////////////////////////////////////////////1E 5/> 8%at is t%e 9i**eren&e bet'een ;rea4 !onta&t ,le ents and Ma4e !onta&t ,le entsC/////////////////////////1E 5/5 Do' does t%e SIMATI! S"#1200 Address Individual Input/6utput SignalsC/////////////////////////////////////////////1" 5/E Do' is t%e Progra Pro&essed in t%e PB!C////////////////////////////////////////////////////////////////////////////////////////////// 1= 5/" 8%at do Bogi& 6perations Boo4 Bi4e in t%e PB! Progra C///////////////////////////////////////////////////////////////////////19 5/"/1 A:9 6peration//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 19 5/"/2 6@ 6peration////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 21 5/"/< :egation////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 22 5/= Do' is t%e PB! Progra generatedC Do' does it get to t%e PB!s Me or(C///////////////////////////////////////////2< E/ !on*iguring and 6perating t%e SIMATI! S"#1200////////////////////////////////////////////////////////////////////////////////////////// 2> "/ Sa ple Tas4: !ontrolling a Press/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 2= =/ Progra ing t%e Press *or t%e SIMATI! S"#1200////////////////////////////////////////////////////////////////////////////////////////// 29 =/1/ Portal $ie'//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 29 =/2/ Pro+e&t $ie'////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// <0
Startup Progra
Information
Installation
!rogramming
Sample Tas,
-otes
Startup Progra
$. !reface
@egarding its &ontent7 odule M01 is part o* t%e training unit /SI"ATIC S#-$%&& and TIA !ortal and represents a fast entry point *or SIMATI! S" 1200 progra ing/
2undamentals of STE! # !rogramming 2 to < da(s Modules A SI"ATIC S#-$%&& and TIA !ortal 2 to < da(s Modules M System Simulation 'ith SI"IT SCE 1 to 2 da(s Modules )
!rogramming 4anguages !
!rocess (isuali3ation
Training 0*1ective+ In t%is odule M017 t%e reader learns %o' to progra t%e progra able logi& &ontroller -PB!. SIMATI! S"#12007 using t%e progra ing tool TIA Portal/ T%is odule provides t%e *unda entals and de onstrates 'it% t%e steps listed belo' %o' t%is is done7 using a detailed e0a ple/ Installing t%e so*t'are and setting t%e progra ing inter*a&e
,0planation: 8%at is a PB! and %o' does it 'or4 Stru&ture and operation o* t%e SIMATI! S"#1200 PB! )enerating7 loading and testing a sa ple progra
!reconditions+ To su&&ess*ull( 'or4 t%roug% t%is Do' to operate 8indo's odule M017 t%e *ollo'ing 4no'ledge is assu ed:
Seite 5 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 6ard'are and soft'are needed $ P! Pentiu >7 1/" )D2 1 -FP. G 2 -$ista. ); @AM7 *ree dis4 storage appro0/ 2 );H operating s(ste 8indo's FP -Do e SP<7 Pro*essional SP<./8indo's $ista -Do e Pre iu SP17 ;usiness SP17 ?lti ate SP1 So*t'are ST,P" ;asi& $10/5 SP1 -Totall( Integrated Auto ation -TIA. Portal $10/5. ,t%ernet &onne&tion bet'een P! and !P? 121>! PB! SIMATI! S"#1200H *or e0a ple7 !P? 121>!/ T%e inputs %ave to be broug%t out to a panel/
% 7 8
$ P! 7 ,t%ernet &onne&tion
Seite E von 59
Startup Progra
%. -otes on !rogramming the SI"ATIC S#-$%&& %.$ Automation System SI"ATIC S#-$%&&
T%e auto ation s(ste SIMATI! S"#1200 is a odular ini#&ontroller s(ste *or t%e lo'er per*or an&e range/ An e0tensive odule spe&tru is available *or opti u adaptation to t%e auto ation tas4/ T%e S" &ontroller &onsists o* a !P? t%at is e1uipped 'it% inputs and outputs *or digital and analog signals/ Additional input and output modules (IO modules) can be installed if the integrated inputs and outputs are not sufficient for the desired application. If needed, communication processors for RS232 or RS485 are added. An integrated TCP/IP interface is obligatory for all CPUs. 8it% t%e S" progra 7 t%e progra able logi& &ontroller -PB!. onitors and &ontrols a a&%ine or a pro&ess7 '%ereb( t%e I6 odules are polled in t%e S" progra b( eans o* t%e input addresses -II. and addressed b( eans o* output addresses -IJ./ T%e s(ste is progra ed 'it% t%e so*t'are ST,P " ;asi& $10/5/
%.%
8it% ST,P " ;asi& $10/57 t%e *ollo'ing *un&tions &an be utili2ed to auto ate a plant: # # # # # # !on*iguring and para eteri2ing t%e %ard'are 9e*ining t%e &o Progra ing issioning and servi&e 'it% t%e operating/diagnosti& *un&tions uni&ation
Testing7 &o
9o&u entation )enerating t%e visual displa(s *or t%e SIMATI! basi& panels
Startup Progra
Seite = von 59
Startup Progra
Aor t%e P! and t%e SIMATI! S"#1200 to &o IP addresses o* bot% devi&es at&%/
Airst7 'e s%o' (ou %o' to set t%e &o puters IP address/ 1/ Aro t%e KSystem control 7 &all t%e /-et'or, connections / T%en7 sele&t t%e /!roperties o* t%e BA: &onne&tion - Start Settings S(ste &ontrol :et'or4 &onne&tions Bo&al Area !onne&tion Properties. 2/ Sele&t t%e /!roperties *ro Properties. t%e /Internet !rotocol (TC!>I!) - Internet Proto&ol -T!P/IP.
</
Lou &an no' set t%e I! address and t%e Su*net screen form 7 and a&&ept 'it% 0@ - ?se t%e *ollo'ing IP address IP address: 192/1E=/0/99 Subnet s&reen *or 63 !lose. 255/255/255/0
Seite 9 von 59
Startup Progra
-otes on net'or,ing on the Ethernet (additional information is provided in Appendi< ( of the training document)+ "AC address+ T%e MA! address &onsists o* a per anent and a variable part/ T%e per anent part -M;asi& MA! AddressM. identi*ies t%e anu*a&turer -Sie ens7 <!6M7 ///./ T%e variable part o* t%e MA! address di**erentiates t%e various ,t%ernet stations and s%ould be assigned uni1uel( 'orld#'ide/ 6n ea&% odule7 a MA! address is i printed spe&i*ied b( t%e *a&tor(/ (alue range for the I!-address+ T%e IP address &onsists o* > de&i al nu bers *ro Aor e0a ple7 1>1/=0/0/1E
(alue range for the su*net screen form+ T%is s&reen *or is used to re&ogni2e '%et%er a station or its IP address belongs to t%e lo&al subnet'or47 or &an be a&&essed onl( b( eans o* a router/ T%e subnet s&reen *or &onsists o* *our de&i al nu bers *ro t%e value range 0 to 2557 separated b( a period/ Aor e0a ple7 255/255/0/0 In t%eir binar( representation7 t%e > de&i al nu bers o* t%e subnet s&reen *or %ave to &ontain #*ro t%e le*t# a series o* gapless values M1M and *ro t%e rig%t a series o* gapless values M0M/ T%e values M1M spe&i*( t%e area o* t%e IP address *or t%e net'or4 nu ber/ T%e values M0M spe&i*( t%e area o* t%e IP address *or t%e station address/ ,0a ple: !orre&t values: 255/255/0/0 9e&i al N 1111 1111/1111 1111/0000 0000/0000 0000 binar( 255/255/12=/0 9e&i al N 1111 1111/1111 1111/1000 0000/0000 0000 binar( 255/25>/0/0 9e&i al N 1111 1111/1111 1110/0000 0000/0000/0000 binar( 8rong value: 255/255/1/0 9e&i al N 1111 1111/1111 1111/0000 0001/0000 0000 binar( (alue range for the address of the gate'ay (;outer)+ T%e address &onsists o* > de&i al nu bers *ro t%e value range 0 to 2557 separated b( a period/ Aor e0a ple7 1>1/=0/0/1/ ;elationship of I! addresses? router address? and su*net screen form+ T%e IP address and t%e gate'a( address are to di**er onl( at positions '%ere an M0M is lo&ated in t%e subnet s&reen *or / ,0a ple: Lou entered t%e *ollo'ing: *or t%e subnet s&reen *or 255/255/255/07 *or t%e IP address 1>1/<0/0/5 and *or t%e router address 1>1/<0/12=/1/ T%e IP address and t%e gate'a( address ust %ave a di**erent value onl( in t%e >t% de&i al nu ber/ Do'ever7 in t%e e0a ple7 t%e <rd position alread( di**ers/ T%at eans7 in t%e e0a ple (ou %ave to &%ange alternativel(: # t%e subnet s&reen *or to: 255/255/0/0 or # t%e IP address to: 1>1/<0/12=/5 or # t%e gate'a( address to: 1>1/<0/0/1
Seite 10 von 59
Startup Progra
>/ Sele&t t%e Totally Integrated Automation !ortal H it is &alled %ere 'it% a double &li&4 - Totall( Integrated Auto ation Portal $10.
5/
Seite 11 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE E/ :e0t7 in pro+e&t navigation7 sele&t under 0nline accesses t%e net'or4 &ard t%at 'as alread( set be*ore%and/ I* (ou &li&4 %ere on =pdate accessi*le stations OO,rrei&%bare Teilne% er a4tualisierenPP7 (ou 'ill see t%e t%e MA! address o* t%e &onne&ted SIMATI! S"#1200/ Sele&t 0nline A Diagnosis / - 6nline a&&esses Q :et'or4 !onne&tion ?pdate a&&essible stations MA!N Q// 6nline R 9iagnosis.
-ote+
I* an IP address 'as set previousl( at t%e !P?7 (ou 'ill see t%is address instead o* t%e
MA! address/
Seite 12 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE "/ ?nder 2unctions (ou 'ill see t%e ite Assign I! address / Dere7 enter I! address and Su*net screen form / T%en7 &li&4 on Assign I! address 7 and (our SIMATI! S"#1200 'ill be assigned t%is ne' address - Aun&tions Assign IP address IP address: 192/1E=/0/1 Subnet s&reen *or : 255/255/255/0 Assign IP address.
Startup Progra
Industry Automation and Drive Technologies - SCE =/ ?nder 2unctions ? sele&t ;eset to factory settings / 3eep t%is setting on ;etain I! address and &li&4 on ;eset / - Aun&tions @eset to *a&tor( settings @etain IP address @eset.
9/
!on*ir t%e 1uer( '%et%er (ou 'ant to go t%roug% 'it% a reset to t%e *a&tor( setting 'it% 0@ - 63.
Startup Progra
:. Bhat is a !4C and Bhat are !4Cs =sed 2orC :.$ Bhat does the term !4C meanC
!4C is t%e abbreviation *or !rogra able 4ogi& Controller/ It des&ribes a devi&e t%at &ontrols a pro&ess -*or e0a ple7 a printing press *or printing ne'spapers7 a *illing plant *or *illing &e ent in bags7 a press *or *or ing plasti& s%apes7 et&////./ T%is is per*or ed a&&ording to t%e instru&tions o* a progra t%at is lo&ated in t%e e or( o* t%e devi&e/ / Progra is loaded in t%e PB!s e or(//////
a&%ine
"emory
:.%
2>$
"
Ba p is lit T%e outputs o* t%e PB! &ontrol t%e a&tuators b( s'it&%ing t%e &ontrol voltageS Ba p is o**
0utputs
0$ !4C
"
Seite 15 von 59
Startup Progra
:.7
6o' does the !4C )et the Information a*out the !rocess StatesC
T%e PB! re&eives in*or ation about t%e pro&ess *ro t%e so#&alled signal transmitters t%at are 'ired to t%e inputs o* t%e PB!/ T%ese signal trans itters &an be7 *or e0a ple7 sensors t%at re&ogni2e '%et%er a 'or4 pie&e is in a &ertain position7 or t%e( &an be si ple s'it&%es and pus%buttons t%at a( be open or &losed/ Dere7 'e di**erentiate bet'een *rea, contact elements t%at are &losed i* not operated7 and ma,e contact elements t%at are open i* not a&tivated/
7 2>$ S'it&% &losed 2>$ T%e inputs o* t%e PB! re&ord t%e in*or ation about t%e states in t%e pro&ess i Pro2ess S S'it&% open 2>$
Inputs
0$ !4C
:.8
Bhat is the Difference *et'een 9rea, Contact Elements and "a,e Contact ElementsC
As to t%e signal trans itters7 'e di**erentiate bet'een *rea, contacts and ma,e contacts/ T%e s'it&% s%o'n belo' is a a4e &onta&tH i/e/7 it is &losed e0a&tl( '%en it 'as operated
T%e s'it&% s%o'n belo' is a brea4 &onta&tH i/e7 it is &losed e0a&tl( '%en it 'as not operated/
Seite 1E von 59
Startup Progra
:.:
1> integrated digital inputs ;(te 0 ;it 0 to " and ;(te 1 ;it 0 to "
To address t%e *i*t% digital input7 *or e0a ple7 'e spe&i*( t%e *ollo'ing address:
I,
0/>
DE %ere indi&ates t%e address t(pe as input7 & t%e b(te address7 and 8 t%e bit address/
;(te address and bit address are al'a(s separated b( a period/ -ote+ Aor t%e bit address7 a 8 is s%o'n *or t%e *i*t% input7 be&ause 'e start &ounting 'it% 0/
To address t%e 10t% output7 *or e0a ple7 'e spe&i*( t%e *ollo'ing address:
IA
1/1
DA %ere indi&ates t%e address t(pe as output7 $ t%e b(te address7 and $ t%e bit address/
;(te address and bit address are al'a(s separated b( a period/ -ote+ Aor t%e bit address7 a $ is s%o'n at t%e 10t% output7 be&ause 'e start &ounting 'it% 0//
Startup Progra
:.E
1/ Airst7 t%e status is trans*erred *ro t%e pro&ess i age o* t%e outputs - !IF. to t%e outputs7 and s'it&%ed on or o**/ 2/ T%en t%e processor #'%i&% is pra&ti&all( t%e PB!s brain# in1uires '%et%er t%e individual inputs are &arr(ing voltage/ T%is status o* t%e inputs is stored in t%e pro&ess i age o* t%e inputs - !II./ Aor t%e inputs t%at &arr( voltage7 t%e in*or ation 1 or MDig%T is stored7 *or t%ose t%at dont t%e in*or ation 0 or MBo'T/ </ T%is pro&essor t%en pro&esses t%e progra stored in t%e progra e or(/ T%e progra &onsists o* a list o* logi& operations and instru&tions t%at are pro&essed one a*ter t%e ot%er/ Aor t%e re1uired input in*or ation7 t%e pro&essor a&&esses t%e PII t%at 'as entered previousl(7 and t%e result o* t%e logi& operation -@B6. is 'ritten into a pro&ess i age o* t%e outputs - !IF./ I* ne&essar(7 t%e pro&essor also a&&esses ot%er e or( areas during progra pro&essingH *or e0a ple7 *or lo&al data o* sub#progra s7 data blo&4s and *lags/ >/ T%en7 internal operating s(ste tas4s su&% as sel* tests and &o uni&ation are per*or ed T%en 'e &ontinue 'it% Ite 1/ $. Trans*er t%e status *ro t%e PIJ to t%e outputs/ %/ Store t%e status o* t%e inputs in t%e PII/
7/ Pro&essing t%e progra instru&tion b( instru&tion 'it% a&&ess to PII and PIJ
PB!s progra in t%e progra e or( 1st instru&tion 2nd instru&tion <rd instru&tion >t% instru&tion ///
Bast instru&tion
!IF
tas4s
-ote+ T%e ti e t%e pro&essor needs *or t%is se1uen&e is &alled &(&le ti e/ In turn7 t%e &(&le ti e depends on t%e nu ber and t(pe o* instru&tions and t%e pro&essor &apa&it(/
Seite 1= von 59
Startup Progra
:.#
"
E<planation+ T%e la p lig%ts up e0a&tl( '%en bot% s'it&%es are operated/ T%at is7 '%en s'it&%es S1 and S2 are operated7 la p P1 is lit/
Seite 19 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE Biring the !4C+ To appl( t%is logi& to a PB! progra 7 bot% s'it&%es %ave to be &onne&ted to inputs o* t%e PB!/ Dere7 S1 is 'ired to input I 0/0 and S2 to input I 0/1/ In addition7 la p P1 %as to be &onne&ted to an outputH *or e0a ple J 0/0/
Inputs
I 0/1
2>$ S'it&% S2
"
!4C
0utputs
A 0/0
A-D logic in the 29D+ In t%e *un&tion blo&4 diagra A;97 t%e A:9 operation is progra representation7 and loo4s li4e t%is: Inputs o* A:9 operation/ More t%an 2 inputs &an be lo&ated %ereS ed using a grap%i&
II 0/0 II 0/1
R
)rap%i& representation o* t%e A:9 operationS
IJ 0/0
N
Assign ent o* t%e result o* t%e logi& operationS
Seite 20 von 59
Startup Progra
5/"/2 6@ 6peration
E<ample of an 0; operation+ A la p is to lig%t up '%en one or bot% Diagram+ 2>$
OOCPP
a4e &onta&ts/
S1
S2
2>$ P1
"
E<planation+ T%e la p lig%ts up e0a&tl( '%en one or bot% s'it&%es are operated/ T%at is7 i* s'it&% S1 or S2 is operated7 la p P1 is lit/ Biring the !4C+ To appl( t%is logi& to a PB! progra 7 bot% s'it&%es %ave to be &onne&ted to inputs at t%e PB!7 o* &ourse/ Dere7 S1 is &onne&ted to input I 0/0 and S2 to input I 0/1/ In addition7 la p P1 %as to be &onne&ted to an outputH *or e0a ple7 J 0/0/
Inputs
I 0/1
2>$ S'it&% S2
"
!4C
0utputs
J 0/0
Seite 21 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 0; operation in the 29D+ In t%e *un&tion plan A;97 t%e 6@ operation is progra li4e t%is: Inputs o* t%e 6@ operation/ More t%an 2 inputs &an be lo&ated %ereS ed using a grap%i& representation7 and loo4s
II 0/0 II 0/1
P
)rap%i& representation o* t%e logi& 6@ operationS
IJ 0/0
N
Assign ent o* t%e result o* t%e logi& operationS
5/"/< :egation
In logi& operations7 it is o*ten ne&essar( to in1uire '%et%er a ma,e contact 'as -0T operated or '%et%er a *rea, contact 'as operated and t%us no voltage is applied to t%e &orresponding input/ T%is %appens '%en 'e progra a -egation at t%e input o* t%e A:9 or 6@ operation/ In t%e *un&tion blo&4 diagra A;97 t%e negation o* an input at an A:9 operation is progra 'it% t%e *ollo'ing grap%i& representation: Input o* t%e A:9 operation t%at is to be negatedS )rap%i& representation o* t%e negationS ed
II 0/0 II 0/1
IJ 0/0
T%at eans7 voltage is applied to t%e output IJ 0/0 e0a&tl( '%en II 0/0 is not &onne&ted and II 0/1 is &onne&ted/
Seite 22 von 59
Startup Progra
:.G
6o' is the !4C !rogram generatedC 6o' does it get to the !4C s "emoryC
T%e PB! progra is generated on a P! using t%e so*t'are ST,P "7 and te poraril( stored t%ere/ A*ter t%e P! is &onne&ted 'it% t%e T!P/IP inter*a&e o* t%e PB!7 t%e progra &an be trans*erred 'it% a load *un&tion to t%e PB!s e or(/ T%e P! is no longer needed *or *urt%er progra pro&essing in t%e PB!/
$/ )enerate PB! progra 'it% ST,P " on t%e P! P! 'it% ST,P " %/ !onne&t P! 'it% T!P/IP PB! inter*a&e 7/ Boad progra *ro t%e P! to t%e PB! e or(/
PB! S"#1200 -ote+ T%e e0a&t se1uen&e is des&ribed step b( step in t%e &%apters belo'/
Startup Progra
!entral odules !P? 'it% di**erent &apa&it(7 integrated inputs/outputs and P@6AI:,T inter*a&e -*or e0a ple7 !P?121>!.
Po'er suppl( PM 'it% input A! 120/2<0$7 50D2/E0D27 1/2A/0/"A7 and output 9! 2>$/2/5A
Signal boards S; *or adding analog or digital inputs/outputsH '%ereb( t%e si2e o* t%e !P? does not &%ange / -signal boards &an be used 'it% t%e !P?s 1211!/1212! and 121>!.
Startup Progra
Industry Automation and Drive Technologies - SCE Signal odules SM *or digital and analog inputs and outputs -*or !P?s 1212! a a0i u o* 2 SMs &an be used7 *or 121>! a
a0i u
o*/ =.
!o uni&ation odules !M *or serial &o uni&ation @S 2<2/@S >=5 -*or !P?s 1211!/1212! and 121>!7 up to < !Ms &an be used.
!o pa&t S'it&% Module !SM 'it% >0 @U>5 so&4et &onne&tors 10/100 M;it/s
SIMATI! e or( &ards 2M; or 2>M; *or storing progra *or aintenan&e
odule M017 an( !P? 'it% integrated digital inputs and digital outputs is su**i&ient/
Seite 25 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE Important C!= elements+ 8it% an integrated voltage suppl( -2>$ &onne&tion. and integrated inputs and outputs7 t%e S"#1200 !P? is read(7 'it%out additional &o ponents/ To &o uni&ate 'it% a progra ing devi&e7 t%e !P? is e1uipped 'it% an integrated T!P/IP port/ ;( eans o* an ,TD,@:,T net'or47 t%e !P? is able to &o uni&ate 'it% DMI operator devi&es or ot%er !P?s/
!onne&tion 2>$ Insertable ter inal blo&4 *or user 'iring -be%ind t%e &over plates. Status LEDs for the integrated I/O and the CPUs operating mode TCP/IP onne tion !on the "o#er side of the CPU$ T%e SI"ATIC "emory Card ("C) stores t%e progra 7 data7 s(ste data7 *iles and pro+e&ts/ It &an be used *or t%e *ollo'ing: - Trans*erring a progra to several !P?s - Air 'are update o* !P?s7 signal odules SM and &o uni&ation odules !M
Seite 2E von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 0perating "odes of the C!= T%e !P? %as t%e *ollo'ing operating odes: V In t%e operating ode ST0! 7 t%e !P? does not e0e&ute t%e progra 7 and (ou &an load a pro+e&t V In t%e operating ode STA;T=!7 t%e !P? per*or s a startup/ V In t%e operating ode ;=-7 t%e progra is e0e&uted &(&li&all(/ Pro+e&ts &an not be loaded in t%e !P?s @?: ode/ T%e !P? does not %ave a p%(si&al s'it&% *or &%anging t%e operating ode/ T%e operating ode -ST0! or ;=-. is &%anged b( using t%e button on t%e operator panel o* t%e so*t'are ST,P" ;asi&/ In addition7 t%e operator panel is provided 'it% t%e button ";ES to per*or a general e or( reset and displa(s t%e status B,9s o* t%e !P?/
T%e &olor o* t%e status 4ED ;=->ST0! on t%e *ront o* t%e !P? indi&ates its &urrent operating ode/
V Hello' lig%t indi&ates t%e ST0! V )reen lig%t indi&ates t%e ;=-
ode/ ode/
In addition7 t%ere are t%e B,9s E;;0; to indi&ate errors and "AI-T to indi&ate t%at re1uired/
aintenan&e is
Startup Progra
A press 'it% a prote&tive guard is to be a&tivated 'it% a STA@T button S< onl( i* t%e prote&tive s&reen is &losed/ T%is state is onitored 'it% a sensor Prote&tive S&reen !losed ;1/ I* t%is is t%e &ase7 a 5/2 'a( valve M0 *or t%e press &(linder is set so t%at a plasti& s%ape &an be pressed/ T%e press is to retra&t again '%en t%e ,M,@),:!L 6AA button -brea4 &onta&t. ,M,@),:!L 6AA is a&tivated7 or t%e sensor Prote&tive S&reen ;1 no longer responds7 or t%e sensor !(linder ;2 ,0tended responds/ Assignment list+ Address II 0/1 II 0/< II 0/> II 0/5 IJ 0/0 S( bol ,M,@),:!L 6AA S< ;1 ;2 M0 !o ent
,M,@),:!L 6AA button -brea4 &onta&t. Start button S< - a4e &onta&t. Sensor prote&tive s&reen &losed - a4e &onta&t. Sensor !(linder e0tended - a4e &onta&t. ,0tend !(linder A
Seite 2= von 59
Startup Progra
Dere7 under a uni*or inter*a&e7 t%e &o ponents su&% as t%e &ontroller7 visuali2ation and net'or4ing t%e auto ation solution are set up7 para eteri2ed and progra ed/ 6nline tools are provided *or error diagnosis/
T%e so*t'are /Totally Integrated Automation !ortal %as t'o di**erent vie's: t%e portal vie' and t%e pro+e&t vie'/
Seite 29 von 59
Startup Progra
Startup Progra
Industry Automation and Drive Technologies - SCE 8it% t%e *ollo'ing steps7 'e are setting up a pro+e&t *or t%e SIMATI! S"#1200 and 'e are progra ing t%e solution o* t%e tas4: 1/ T%e &entral tool is t%e /Totally Integrated Automation !ortal '%i&% is &alled %ere 'it% a double &li&4 - Totall( Integrated Auto ation Portal $10.
2/
Progra s *or t%e SIMATI! S"#1200 are anaged in pro+e&ts/ Su&% a pro+e&t is no' set up in t%e portal vie' - )enerate ne' pro+e&t startup )enerate.
Startup Progra
Industry Automation and Drive Technologies - SCE </ :o' /2irst Steps are suggested *or t%e &on*iguration/ Airst7 'e 'ant to Configure a device - Airst steps !on*iguring a devi&e.
Startup Progra
Industry Automation and Drive Technologies - SCE >/ T%en7 'e Insert a ne' device 'it% t%e Device name Controller !ress / To t%is end7 'e sele&t *ro t%e &atalog t%e /C!=$%$8C 'it% t%e at&%ing order nu ber - Insert ne' devi&e !ontroller press !P?121>! E,S" QQ/ Insert.
Startup Progra
Industry Automation and Drive Technologies - SCE 5/ :o'7 t%e so*t'are auto ati&all( &%anges to t%e pro+e&t vie' 'it% t%e opened %ard'are &on*iguration/ Dere7 additional odules &an be inserted *ro t%e %ard'are &atalog -to t%e rig%tS.7 and in t%e Device overvie' 7 t%e input/output addresses &an be set/ Dere7 t%e integrated inputs o* t%e !P? %ave t%e addresses II0/0 to II1/5 and t%e integrated outputs t%e addresses IJ0/0 to IJ1/1 - 9evi&e overvie' 9I1>/9610 0Q1.
Startup Progra
Industry Automation and Drive Technologies - SCE E/ So t%at t%e so*t'are later a&&esses t%e &orre&t !P?7 its IP address and t%e subnet s&reen *or %ave to be set - Properties )eneral P@6AI:,T inter*a&e IP address: 192/1=9/0/1 Subnet s&reen *or : 255/255/255/0. -re*er also to !%apter < *or setting t%e progra ing inter*a&e.
Startup Progra
Industry Automation and Drive Technologies - SCE "/ Sin&e *or odern progra ing7 'e dont progra 'e %ave to spe&i*( t%e glo*al !4C varia*les %ere/ 'it% absolute addresses but 'it% variables7
T%ese global PB! variables are des&riptive na es 'it% &o ents *or t%ose inputs and outputs t%at are used in t%e progra / Bater7 during progra ing7 t%e global PB! variables &an be a&&essed b( eans o* t%is na e/ T%ese global variables &an be used in t%e entire progra in all blo&4s/ To t%is end7 *irst sele&t in pro+e&t navigation t%e /Controller !ressIC!=$%$8C DC>DC>DCJ and t%en !4C varia*les / 8it% a double &li&47 open t%e table !4C varia*les and as s%o'n belo'7 enter t%e na es *or t%e inputs and outputs - !ontroller PressW!P?121>! 9!/9!/9!X PB! $ariables PB! $ariables.
Startup Progra
Industry Automation and Drive Technologies - SCE =/ T%e progra se1uen&e is 'ritten in so#&alled blo&4s/ As a atter o* standard7 organi2ation blo&4 6;1 alread( e0ists/ It represents t%e inter*a&e to t%e !P?s operating s(ste 7 is &alled b( it auto ati&all(7 and pro&essed &(&li&all(/ Aro t%is organi2ation blo&47 additional blo&4s &an be &alled in turn *or stru&tured progra ing7 su&% as t%e *un&tion A!1/ T%e purpose is to brea4 do'n an overall tas4 into partial tas4s/ T%ese &an be solved ore easil( and tested in t%eir *un&tionalit(/
6rgani2aton blo&4 6;1 ;lo&4 &alled &(&i&all( b( t%e operating s(ste / Dere7 Aun&tion A!1 is used/
Aun&tion A!1 In t%is e0a ple7 &ontains t%e a&tual progra *or t%e press &ontrol/ Is &alled b( 6;1//
Startup Progra
Industry Automation and Drive Technologies - SCE 9/ To generate t%e *un&tion A!17 in Pro+e&t :avigation *irst sele&t /Controller !ressIC!=$%$8C DC>DC>DCJ and t%en !rogram *loc,s / :e0t7 double &li&4 on Insert ne' *loc, - !ontroller PressW!P?121>! 9!/9!/9!X Progra blo&4s Insert ne' blo&4.
Startup Progra
Industry Automation and Drive Technologies - SCE 10/ In t%e sele&tion7 sele&t 2unction (2C) and assign t%e na e !rogram press / As progra ing language7 /29D is entered/ ,nu eration is auto ati&/ Sin&e t%is A!1 is &alled later 'it% t%e s( boli& na e an(%o'7 t%e nu ber is no longer t%at i portant/ A&&ept (our input 'it% 0@ / - Aun&tion -A!. Progra Press A;9 63.
Startup Progra
Industry Automation and Drive Technologies - SCE 11/ T%e blo&4 !rogram !ressI2C$J 'ill be opened auto ati&all(/ Do'ever7 be*ore t%e progra &an be 'ritten7 t%e blo&4s inter*a&e %as to be de&lared/ 8%en t%e inter*a&e is de&lared7 t%e lo&al variables 4no'n onl( in t%is blo&4 are spe&i*ied/ T%e variables &onsist o* t'o groups ;lo&4 para eters t%at generate t%e inter*a&e o* t%e blo&4 *or t%e &all in t%e progra / Type Input para eters 6utput para eters -ame Input 6utput 2unction Para eters '%ose values t%e blo&4 reads Para eters '%ose values t%e blo&4 'rites Availa*le in Aun&tions7 *un&tion blo&4s and so e t(pes o* organi2ation blo&4s Aun&tions and *un&tion blo&4s
In6ut
Para eters '%ose value t%e blo&4 reads '%en it is &alled and Aun&tions and *un&tion blo&4s a*ter pro&essing7 'rites again to t%e sa e para eter
Bo&al data t%at is used *or storing inter ediate results/ Type -ame 2unction $ariables t%at are used *or storing te porar( inter ediate results/ Te porar( data is retained *or one &(&le onl(/ Availa*le in Aun&tions7 *un&tion blo&4s and organi2ation blo&4s
Te p
Stati&
$ariables t%at are used *or storing stati& inter ediate results in t%e instan&e data blo&4/ Stati& Aun&tion blo&4s data is retained also over several &(&les7 until it is 'ritten ane'/
Startup Progra
Industry Automation and Drive Technologies - SCE 12/ 8%en de&laring t%e lo&al variables7 in our e0a ple t%e *ollo'ing variables are needed/ Input+ ,M,@),:!LY6AA Dere7 ,M,@),:!L 6AA onitoring is entered Start Dere7 t%e start button is entered ;YS&reen Dere7 t%e status o* t%e prote&tion s&reen is entered ;Y!(linder Dere7 t%e status o* t%e sensor !(linder ,0tended is entered 0utput+ MYPress Dere7 a status *or t%e output Press !(linder is 'ritten Temp+ DM01 Au0iliar( *lag 01 *or t%e S@ AlipAlop All variables in t%is &ase are o* t%e t(pe K;oolH '%i&% eans variables t%at onl( &an %ave t%e status K0 -*alse. or K1 -true./ To a4e it easier to *ollo' t%e 7 all lo&al variables s%ould also be provided 'it% a su**i&ient &o ent/
Startup Progra
Industry Automation and Drive Technologies - SCE 1</ A*ter %aving de&lared t%e lo&al variables7 'e &an no' start progra ing/ To provide a better
overvie'7 'e progra in net'or4s/ A ne' net'or4 &an be inserted b( &li&4ing on t%e s( bol Insert net'or, / Bi4e t%e blo&4 itsel*7 ea&% net'or4 s%ould be do&u ented in t%e title line/ I* a longer te0t is needed *or t%e des&ription7 t%e Comment *ield &an be used - .
To generate our solution7 'e need an S; 2lipflop / It is lo&ated under Instructions in t%e *older 9it com*inations / I* (ou point 'it% t%e ouse to an ob+e&t su&% as t%e S@ *lip*lop7 detail in*or ation about t%is ob+e&t 'ill be displa(ed - Instru&tions ;it &o bination S@.
Startup Progra
Industry Automation and Drive Technologies - SCE 1>/ I* (ou %ig%lig%t an ob+e&t and t%en press 2$ on (our P!7 (ou 'ill be provided 'it% online %elp about t%is ob+e&t in a 'indo' to t%e rig%t - A1.
-ote+ Dere7 e0tensive in*or ation is provided in online %elp regarding t%e *un&tion and t%e 'iring o* t%e S@ *lip*lop/
Startup Progra
Startup Progra
1E/ :e0t7 %ig%lig%t t%e Set input o* t%e S@ *lip*lop and &li&4 on Aavorites A:9.
Startup Progra
1"/ ,0a&tl( in t%e sa e 'a( 'e pla&e t%e F output o* t%e S@ *lip*lop - @1
6@ J
Startup Progra
Industry Automation and Drive Technologies - SCE 1=/ :o'7 'e enter t%e lo&al variables/ It su**i&es to enter t%e *irst letter o* t%e lo&al variables in t%e *ields at t%e &o ands/ T%en 'e &an sele&t t%e desired variable *ro a list/ Bo&al variables are al'a(s identi*ied 'it% t%e s( bol /K pre&eding t%e na e - ZMYPress./
Startup Progra
Industry Automation and Drive Technologies - SCE 19/ Bi4e'ise7 add t%e ot%er lo&al variables/ At t%e 6@7 anot%er input is to be inserted/ To t%is end7 %ig%lig%t t%e lo'est input 'it% t%e rig%t ouse 4e( and sele&t Insert input - Insert input.
Startup Progra
Industry Automation and Drive Technologies - SCE 20/ Assign t%e lo&al variable s%o'n %ere to t%is input also/ I* an input is to be inverted7 si pl( drag t%e s( bol :egation *ro t%e 2avorites to t%e input/ - Aavorites .
Startup Progra
Industry Automation and Drive Technologies - SCE 21/ :e0t7 t%e !roperties o* t%e &(&li&all( pro&essed blo&4 "ainI09$J are sele&ted/ ;lo&4 properties &an be odi*ied - Properties MainW6;1X.
Seite 50 von 59
Startup Progra
Seite 51 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 2</ As entioned previousl(7 t%e blo&4 MProgra PressT %as to be &alled *ro t%e progra blo&4 MainW6;1X/ 6t%er'ise7 t%e blo&4 'ould not be pro&essed al all/ 6pen t%is blo&4 b( double &li&4ing on "ainI09$J - MainW6;1X.
Seite 52 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 2>/ T%e blo&4 L!rogram !ressM &an t%en si pl( be dragged 'it% 9ragR9rop to :et'or4 1 o* t%e blo&4 MainW6;1X/ 9ont *orget to do&u ent t%e net'or4s also in blo&4 MainW6;1X - Progra Press.
Startup Progra
Industry Automation and Drive Technologies - SCE 25/ :e0t7 t%e inter*a&e para eters o* t%e blo&4 MProgra PressT %ave to be &onne&ted to global PB! variables/ It is su**i&ient to enter t%e *irst letter o* t%e global variable in t%e *ield be*ore t%e lo&al variable o* t%e blo&4/ T%en7 t%e desired operand &an be sele&ted *ro a list - M,M,@),:!L 6AAT .
Startup Progra
Industry Automation and Drive Technologies - SCE 2E/ Bi4e'ise7 &onne&t t%e input variables Start 7 9NScreen and 9NCylinder as 'ell as t%e output variable "N!ress to t%e PB! variables s%o'n %ere/ 8it% a ouse &li&4 on Store pro+e&t t%e pro+e&t 'ill be stored/ -TS<T M;1T M;2T MM0T .
Seite 55 von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 2"/ To load (our entire progra &li&4 on t%e s( bol into t%e !P?7 *irst %ig%lig%t t%e *older Controller !ress and t%en .
Seite 5E von 59
Startup Progra
Industry Automation and Drive Technologies - SCE 2=/ 9uring loading7 t%e status is displa(ed in a 'indo'/
29/ I* loading 'as su&&ess*ul7 it is displa(ed in a 'indo'/ :o' &li&4 on Complete - !o plete.
Startup Progra
t%e 1uestion '%et%er (ou a&tuall( 'ant to start t%e !P? - 63.
Seite 5= von 59
Startup Progra
PressT -
Seite 59 von 59
Startup Progra