1 Toolcourseenpptx
1 Toolcourseenpptx
Version. 2.7
1tool basic training course
Welcome!
Trainers:
•
•
Trainees:
•
•
Course targets 1/2
Introduction
Setup 1tool
Licence management (SW/HW)
How to create, edit, test, upload a project into a p
"er"iew o# 1tool components
Special #unctions/#eatures
"er"iew o# special #unctions: "irtual $e%s, alarms, de#ine t&e $e% #unction, images, multilanguage, etc'
3
Course targets 2/2
To gi"e t&e asic $nowledge on:
• 0e"elopment tool (1tool editors)
• rogramming languages
• roject management
4
1tool
rogramming tool
#or all programmale controllers/terminals o# pCO sistema
PGDtouch
Graphic/TouchScreen
pCO5 PGD3
Graphic/TouchScreen
pCO5+
pCO compact
PGD1
pCO3 Semi-Graphic
pCO1 pCOXS
5
Miscellaneous information
• Sc&edule: 56:55 7 18:95 (co##ee rea$ at midmorning)
18:95 7 19:95 Lunc& u##et in *.L
19:95 7 1;:55 (co##ee rea$ at mida#ternoon)
0inner: see list o# restaurants
(ma @ min)
A' 0onBt use ojects or concepts t&at were not eplained <
!
Toics 2/7
"
Toics 3/7
1#
Toics 4/7
11
Toics 5/7
• ommissioning tool
• How to install/open an eisting solution (i'e' a ac$up)
• Time management: s%stem "ariales C0E4,*HO03
4EW*HO03 SE,*HO0
4ield code, macroloc$ Schedule*$aily
12
Toics 6/7
• How to speciali=e a mas$ (wit&out t&e move #ield)
• How to s&ow images (1mage oject) (slide)
• How to set t&e set o# c&aracters (,ext%ont propert%)
• How to s&ow Gc&inese tetB ( 1mage,ext oject)
• How to s&ow tet in doule &eig&t ( o89oom propert%)
• How to delete unused ojects (?ariales, Spec4ield, esources)'
13
Toics 7/7
• roject documentation
-enu %ile/Create solution documentation
• *pplication de"elopment uideLines (slide)
14
$etu
C' Select )tool and 0S& $river' t&ers are not used in t&is training'
15
%icense 1/2
License t%pes:
So#tware: 1 license #or eac& ' &eaper'
Hardware: 1 license #or all (GtransportaleB)' * it more epensi"e'
16
%icense 2/2
Hardware license acti"ation procedure:
1' -a$e sure %our is connected to t&e Internet'
8' Insert t&e dongle into a ES port
9' Start )tool
A' Select menu ,ools / "icense anagement
@' Select t&e Hard8are "icence ta
C' op% to clipoard t&e string o# c&aracter o# t&e "icence Code
D' lic$ t&e utton .et #ctivation Code;
* we page is s&own
;' lic$ t&e image )tool?#s! for activation
6' 4ill in t&e #orm
15' Select option "icense Hard8are
11' .nter t&e Serial 4umber (18 c&ars string on t&e &olograp&ic lael)
and paste t&e "icense Code
18' lic$ t&e utton : t&e s%stem calculates t&e #ctivation Code
19' op% t&e #ctivation Code in t&e window "icense egistration
1A' ress t&e #ctivate -ey: T&e license $e% is installed permanentl% in t&e dongle
17
1tool comonents/e&itors
Solution .plorer
+ew projects, start editors, add GlanguagesB, 2
-as$ .ditor
Eser inter#ace (content o# mas!s, $e%s #unction)
+etwor$ .ditor
pL*+ projects (selection o# units/projects, de#inition o# lin$s among units)
Simulator
Simulation on t&e
-igration Wi=ard
on"ersion o# .as%Tools projects to 1tool project'
1!
'(ercise Cool/)eat 1/3
!."ut N.1
Coolin
Room_Temp
20.0°
(Setpoint) A.In. N.1
Type 0 (NTC)
1.0°
1"
'(ercise Cool/)eat 2/3
!."ut N.1
Coolin
Room_Temp
20.0°
(Setpoint) A.In. N.1
Type 0 (NTC)
1.0°
#.0°
2#
'(ercise Cool/)eat 3/3
Room_Temp
Setpoint
(20.0°) A.In. N.1
Type 0 (NTC)
21
*ro+ect life c,cle
ac$up
22
-loa&
1'onnect to de"ice using t&e ES/SA;@ con"erter
8'ompile t&e project success#ull%, t&en clic$ t&e utton (p -anager)
in t&e toolar'
23
Variables
#nalog pin 1nteger pin
0ata T%pe (main t%pes)
oolean #/10
nteger 3276! / 327670
nalog 3276.! / 3276.70
G##icialB -in/-a/4ormat/*ccess'
In #act in t&e as!Editor is allowed to use t&e same "ariale in se"eral 4I.L0 wit&
di##erent properties'
.'g' Setpoint 1nput/Output and Output , or limits )@'A/=A'A and )B'A/2B'A'
*lso used as de#ault G"aluesB during 00 #rom +ariable"ist to ,erminalEditor'
25
Variable %ist
ontains all "ariales used in t&e current project
How to create a "ariale:
ig&tclic$ t&e +ariable "ist, #dd2 menu
#dd variable utton in t&e toolar
Connect variable contet menu o# t&e pin
*utoconnection #unction o# -odules
ename "ariale in t&e +ariable "ist to rename it in t&e w&ole project
-ultiple selection is allowed (e'g' to delete se"eral "ariale)
%(a)*'
%G$oa$'
2"
$tan&ar&/$ecial =iel&
&o+
,-at
* Standard &ie$d is a 4ield
2 t&at &as not&ing special'
3#
Virtual 8e,s
• +ormall% a -E statement is eecuted
w&en a p&%sical $e% (switc&) is pressed '
• Sometimes is necessar% to eecute a $e% according to 1
t&e "alue o# a "ariales: ItBs necessar% a virtual !ey' #
T&e virtual !ey is GpressedB w&en t&e "ariales c&anges #rom 5 to 1'
How to manage a "irtual $e%:
1' -anage t&e "ariale t&at assumes t&e "alue 1
w&en t&e virtual !ey &as to e FpressedG
+ote :
• 3ou canBt place two loc$s wit& t&e same numer in t&e same page'
• 3ou can use Dump*Start and Dump*End loc$s to s$ip
some loc$s during t&e eecution'
32
larm management 1/30
)tool pro"ides a set o# s%stem "ariales #or turning t&e u==er +/44
(-*+KEFF.K.+, -*+KEFF.K+, -*+KEFF.K44)
uiltin standard management o# alarms pro"ides:
to switc& t&e u==er + as soon as an alarm starts ( #larm status 51)
V
to manage t&e alarm memor% "ariale (#larm memory)
a set o# s%stem "ariales:
-AA'R ?%@%%RM AL
#< bu;;er @== #< no alarm memories
1< bu;;er @B 1< at least 1 alarm m emor, logical @R of Dm%E0
mAL
R'$'T-AA'R R'$'T%RM$
1< reFuest to sGitc te bu;;er @== autoreset0 1< reFuest to reset all alarm memories
autoreset0
33
larm management 2/30 .
if"Sys(arList)GLO*AL_ALA&'++1 00
At least 1 alarm memory &eset all alarm memories Sys(arList)*223&++,$
and "re#uest$ -
The buzzer is O!! and Sys(arList)&3S3T_ALA&'S+1.
Goto loo% “'ain”
Goto_loo%"Loo%_'ain$.
/
34
larm management 3/30
How to manage alarms:
1' -anage alarm condition (e'g' "ariale *LKHT)
8' *dd an #larm as!
9' ename t&e mas$ (e'g' al))
A' 0e#ine t&e alarm tet (add T.QT ojects, etc)
@' 0e#ine t&e properties #larmStatus and #larmemory (t&is order)
C' ename t&e name o# t&e alarm loop (e'g' LK*larms)
D' 0e#ine t&e #unction o# #larm $e%
;' -anage alarm L.0 and alarm .L*3
*larm log:
% application (macroloc$s S,OE*K, application mas$)' 0ownload: +
p log (see pCOmanager/"ogEditor, s%stem mas$)' 0ownload: 3.S
35
'(ercise 15 larms
&eatin Coolin
Room_Temp
Setpoint
(20.0°) A.In. N.1
Type 0 (NTC)
36
'(ercise 15 larms
&eatin Coolin
Room_Temp
Setpoint
(20.0°) 1.0° A.In. N.1
1.0°
Type 0 (NTC)
37
'(ercise 131415 larms
3!
T,e of = bloc8
*tom loc$
ST loc$
• Imported:
T&e mas$s are imported and ecome pro,ect ma)*)
It is possile to do an% $ind o# modi#ication
I# module mas$s in t&e LI c&ange, t&e module mas$s in t&e appl' are +T updated
• Strategy only:
T&e mas$ are not inserted
42
Mo&ules 2/30
(OD. PP.CTO
-odule mas$s are places in t&e application in t&e $oop wit& t&e )ame name
T&e position depends on t&e as!$efaultPosition propert%'
43
Mo&ules 3/40
ot& module and application can e designed #or se"eral terminals and languages
*?#
Mas8s ignore& First First
*?3
Bo mas8s inserte&
Default Default
Module Application Action on LANGUAGES
'B 'B
Mas8s inserte& Last First
T T
Mas8s inserte&
=R Default
Mas8s ignore&
'
Mas8s inserte&onl, Last
DImported’0
$,stem as8s Gic lang. to use
44
Mo&ules 4/40
+otes
• -odules &a"e a L*.L (eample G,)G FE+$*Circ)G )
• ?ariales, Special4ields, Touc&Sc&emas, etc are renamed (.ample: ,)'$iff*"im)
• T&e application &as t&e access to module "ariales: "#&E"'+ar4ame
nl% #or pin not +isible in shapeJ
• *uto connection
• *utomatic lin$s (.?0.?, p*0, 2)
(see speci#ic slide) (slide)
Limits
• * module canBt contain modules (wit& mas$s) ut onl% atoms/macrobloc!s' T&e mas$s
are ignored'
• * module canBt contain loalode/."ents
45
$imulator 1/2
Simulates all controllers and terminals
0oesnBt simulate pL*+ (%ou need to c&ange manuall% s%stem "ariales L*+K*00.SS, L*+KI+4,
L*+KST*TESU, etc) and grap& in 09
How to enale 1/O and ,erminal Editor windows: menu +ie8/Simulator
How to s&ow (readonl%) Strategy/as! pages: Solution Explorer
How to s&ow runtime "alues o# +ariable and &loc! pin: s&ow pin "alues
How to go ac$ to editing: stop Simulator, clic$
How to start simulator wit&out compiling: TLM (e care#ul!)
How to select Hard8are and ,erminal/"anguage; stop Simulator, select
Watc& window
How to create a watc& window: menu Simulator / 4e8 8atch 8indo8 or
How to add "ariales: rig&tclic$/#dd, 00 #rom +ariable"ist or 00 #rom StrategyPage
How to c&ange "ariale: clic$ "alue cell' 0ouleclic$ name to c&ange it'
How to c&ange "ariale order: clic$Mmo"e
3ou can s&ow *rra% (onl% 1 arra% per watc&)
?alue lin$s w&en "alue c&anges
Watc&es are sa"ed w&en %ou sa"e t&e application
,erminal Editor simulates t&e L.0 under $e%s' u==er is not simulated
46
$imulator 2/2
Simulation control
S,#,: run till net rea$point
P#0SE: stops on #irst loc$
S,OP: stops simulation'
ES,#,: correspond to STMST*T
T&e application is initiali=ed (Q memor% cleared, Timers cleared, etc) w&en one o# t&e
#ollowing conditions occurs:
e#ore t&e "er% #irst ST*T
e#ore a ST*T #ollowing a ST/.ST*T
Simulation control (acti"e w&ile simulation is in *ES.)
un program cycle: run till #irst loc$ or net rea$point
un function bloc!: run loc$ % loc$ (doesnBt open macroloc$/module)
un atom/as! Statement: run atom % atom or statement % statement
(opens macroloc$/module automaticall%)'
rea$points
3ou can add rea$points on a bloc! or statement (J4./ST)
rea$points are G#iedB and Gon conditionB (see rea$point window)
T&e loc$/statement w&ere t&e program stops is not %et eecuted
47
Connectiit, C@30
4!
(slide pL*+ networ$ 1/8)
Setup pL*+
1' ompile and Epload application #iles into p
8' Set pL*+ address to pL*+ de"ices (onl% #irst time)
9' onnect pL*+ de"ices (Wiring) (see p sistema manual
A' on#igure terminal (onl% #irst time) (slide)
In#o: t&e pL*+ protocol is a multimaster protocol
4"
(slide pL*+ networ$ 1/8)
Terminal con#iguration
S%stem mas$ (press EM0W+M.+T. #or @sec) (slide)
p.
1 2 3 4 32 S%1626364'
1 2 3 4
7(S
p. p.
1 2 32 S%162' 1 2 32 S%162'
1 2
p. 7(S
1 2 3 4
P8%1' P8%3' 32 31
S%163' S%163'52
(slide pL*+ networ$ 1/8)
Terminal
configuration from
pU pU Terminal point o% ie+ o%
CO8S pro,ect CO8S pro,ect S4"156$
TRINA
oomKTemp oomKTemp
Terminal
configuration from
P01: Adr Priv/Shared P02: Adr Priv/Shared point o% ie+ o%
Trm1 32 Sh Trm1 32 Sh
Trm2 None -- Trm2 None -- 3C"
Trm3 None -- OK?No Trm3 None -- OK?No
53
(slide pL*+ networ$ 1/8)
8' Insert in a 4et8or! Page t&e Controllers3 ,erminals3 Parametric p"#4 (UU)
9' 4or eac& oject de#ine t&e .roup and p"#4 #ddress
4or t&e Controller ojects %ou &a"e to speci#% t&e application project (UUU)
4or some Parametric p"#4 t&e p"#4 lin!s are created automaticall% (see speci#ic slide)
3ou can Copy/Paste lin$s: select lin$s, clic$ Copy utton, rig&tclic$ destination controller, select aste lin$s
T&e Source unit o# pasted lin$s ecome t&e selected unit'
3ou can insert in a 4et8or! Page some grap&ic ojects: 1mage (e'g' oo# map)3 "ine3 ect, etc
(U) 3ou can create se"eral 4et8or! Page' .ample: .round*%loor, I%irst *%loor, Ioof
It is irrele"ant t&e order o# t&e pages
P01: Adr Priv/Shared
(UU) It is irrele"ant in w&ic& 4et8or! Page %ou insert t&e Controller3 ,erminal3 Parametric p"#4 Trm1 None --
Trm2 None --
(UUU) 4or t&e ,erminal ojects %ou can de#ine a default configuration' Trm3 None -- OK?No
It is GinstalledB at p startup onl% i# t&ere are no terminals alread% con#igured,
t&at is Trm18687None' 54
(slide pL*+ networ$ 1/8)
T&e 0 displa% in eternal terminals wor$s in ,ext display compatibility mode:
1 #ied #ont (*.LKT.-), Arows/85columns, onl% single&eig&t rows, no images
roup 1
roup 2
roup 3
roup 4
57
%B utomatic lin8s
5!
%B utomatic lin8s 2/2
How to manage Parametric p"#4 controllers (.?0A55, .?0.0?, *0)
.ample: .?0 .?
Strateg% .ditor
1' lace support module od*E+$*E+O*Spec,
(one #or eac& dri"er)
8' 0e#ine t&e lael (I1, I8)
+etwor$ .ditor
9' lace .eneric E+$E+OJ
Parametric p"#4 Controller
(one #or eac& dri"er)
A' 0e#ine pL*+ address
@' Select t&e module w&ic& manage
t&e .?0 .?
p"#4
''(Solution4ame(&in(,arget(P"#4n(address(
041,)?2 contain same files suitable for CH1""E units
041,=?N contain same files suitable for #H0 units
;
;
p"#4
''(Solution4ame(&in(,arget(P"#4n(#ddress*<**444G
contain files suitable for units address < and
running the application 444
GS(
P$antAi)or
%S(S'
D..
ma< 15 97:ate
ma< 15
Gate@a!
C8. .oca$
(od7u) 8T OPC
(od7u) TCP/P >onne<
7Cnet (S/TP .on9or*)
7Cnet P TTP/S(P %emai$'
na$o:
C8. 8emote
Seria$ card
GS(
%S(S'
62
Connectiit, M$ 2/2
ard rotocol
-S
63
$uerisor, s,stem netGor8 M$0
• Important! -S and t&e pL*+ networ$ are independent networ$s
• T&e purpose o# t&e -S networ$ is to ec&ange "ariales wit& a supervisory
system/&S (lant?isor, pWe, Weate, atewa%, -odem, Lon, Trend, 0LL etc' )
• How to send/recei"e "ariales (common #or all t%pes o# arc&itectures)
1' *ddress in t&e networ$ (s%stem "ariale -SK*00.SS (I,T) )
8' ommunication speed (s%stem "ariale -K*E0*T.K-S (I,X) )
0B 1200 aud
1B 2400 aud
2B 4?00 aud
3B 00 aud
4B 1200 aud %deEau$t'
155 igital ariables 206 igital ariables 155 igital ariables 206 igital ariables 20'7 igital ariables
126 nalog ariables 206 nalog ariables 126 nalog ariables 206 nalog ariables /000 nalog ariables
126 nteger ariables 206 nteger ariables 126 nteger ariables 206 nteger ariables /000 nteger ariables
• T&e GC#E"/O$&0S slaveB protocols are a"ailale #or all serial ports:
-S, -S8, 4I.L0ES,4I.L0ES8
65
Carel Vs Mo&bus rotocols
CR'% M@-$
3 ata t,es< igital> nalog> nteger 2 ata t,es< Coils> Registers
Bo &ifference betGeen nut an& )ol&ing0
Te $%V' unit sen&s a neG alue onl, Gen Te $%V' unit sen&s a neG alue een if te
te alue canges otimi;e&0 alue is not cange&
CAR "!B8S
1 1 1
• T&e application &as to manage !igital Coils
*.L sla"e protocol (t&at is n n 1
use *.L datat%pe and Inde)
and select t&e -0ES SL*?. 1 1 1
protocol (i'e' *.LKTLK-S9): Analog Registers
t&e IS automaticall% con"erts n n 1
*.L datat%pe/inde to 1 1 1offset
-0ES datat%pe/inde Integer Registers
n n 1offset
66
Carel Vs Mo&bus rotocols
J0 &&resses K 2#7 are aailable onl, if ModBus Slave Extended rotocol is set.
67
@ter rotocols
6!
mages
• How to insert an image<
0rag 0rop
1mage oject
• 4ormat: standard -, lac$w&ite (monocrome)
• .ditor: %our pre#erred one (aint, aint'net, &otos&op, orel0raw, 2)
• -a si=e: 05: 18598, 01: 198CA (1 c&aracter: C; piel)
• Images must e in t&e esources node
reate a new image
Import (es' L)toolM(1mage"ibrary(P.$)
• Images are sa"es in t&e 'T (see pCOload)
• "erlap Tet Image Gre"erseB e##ect
• esource0sedOn&ool/1nt wit& images
6"
efault management 1/2
• W&% to install de#ault "alues< ecause at compile time t&e "ariales could c&ange
its position (address) in t&e memor% so t&e% could ta$e anot&er "alue'
3reious T:permanent Current
ersion memory ersion
Setpoint H #.#
Setpoint H 2#.#
#
8nit_Status H 2##
# $etoint
• To #i t&e position o# t&e "ariale in t&e memori %ou can use t&e aintain
+ariable #ddress compile #lag, ut is &as limitations' 7#
efault management 2/2
How to install de#aults "alues<
1' ommissioning time: p manager R p L*0, file '$E+
8' ommissioning time: p manager R ommissioning R 0e"ice con#iguration R
"oad/Save $E+/,<, (recommended TQT ecause it contains t&e name o# t&e "ar' instead o# t&e memor% address)
9' Simulation time: "oad '$E+ values utton (a"ailale wit& simulation 44)
A' untime: O+EK loc$ (40) or operator (4J. or ST)
+T.
. T&e options 189 re a"ailale onl% at t&a moment'
ption n'A is alwa%s a"ailale (t&ere#ore so it is o#ten pre#erale to ot&er options)
71
Multilanguage suort 1/2
• *n application can e multiterminal/multilanguage
72
Multilanguage suort 2/2
• Language selection
• S%stem ?ariale "#4.0#.E*-E*SW1,CH (con un tasto singolo/coppia)
• S%stem ?ariale "#4.0#.E
?alue in t&e range 5 / 4umberOf0ploaded"anguages 1
In t&e eample: 5.+, 1FH, 8X*
W&en t&e language c&anges t&e #irst mas$ i# s&own'
75
Be(t stes
76
$tarter 8it
De)cription Part numer %e<amp$e'
*s$ %our sales o##ice #or ot&er product (simulator #or ot&er p, ot&er serial cards, etc)
77
$tan&ar& alications
7!
1tool suort
.mail: 1toolYcarel'com
(onl% issues regarding )tool program
ro"ides ,echnical support (i'e' prolem during compilation, not
#pplication support (i'e' &ow to implement de#rost)
t&er: a#tersalesYcarel'com, pcoweYcarel'com)
7"
1tool basic course
T&e end
T-an; you %or your attention9
i% you -ae any <uestion please %eel %ree to as;
!#