Home

Ladder Logic - Internet

image

Contents

1. Siemens Energy amp Automation CONFIGURATION GUIDE Ladder Logic RecrPmp Stop PB Close Recirc RecrPmp Srt PB Gas Start Abort Reset MFT Gas OK Start Gas PB m Gas On Start Gas Igniter Proven Stop Gas PB Stop Gas PB Open Gas Valves Gas Start Abort Burner Flame CGiLL 1 Rev 2 September 2005 Supersedes Rev 1 Close Recirc Start Gas Open Gas Valves Gas Delay 0 03333 Gas VI NotOpen Gas V2 NotOpen Gas Start Abort Vent NotClosed NEZ Op Requirements ULC Loop Error Master Abort PB ULC Loop Error System Alarm m CGiLL 1 CONTENTS TABLE OF CONTENTS SECTION AND TITLE PAGE BISIWVRRZRILILESS R L NR 1 2 0 CONFIGURATION OVERVIEW sessssesvessvessvessvssevssnesnnesnsennseensenneensennsenseensesnsenseensesneessensnnesnnennnennsesneenseensesneene 1 SR SKI ELE E ENN LE 2 Hoop EE 2 Did der Logi Pages ists nan nertsen dra ander TURNERE Gre 2 2 2 LADDER LOGIC CONFIGURATION oenen onneenseersnerenseerenseenseersnseenseerenseenserrsnsernasseensernseens 2 3 0 LADDER LOGIC ELEMENTS enso oooeoooe onse soscsonveonvenncenseonsenseenseonseonsensenseenorenersnsreosveonsenseenseensenssenseen 5 3 1 LADDER E EE IER KEE 3 Power Rail PR 1 zenne na verteerbare ees alene kaiser 5 Horizontal Shunt HS aaan er onenenneersneeenseersnsrenseersnseenneersnseenneersnseenserssnseenserrsnseenseersnseenserssnseensens 5 Vertical Shit VS Ilan 5 Connections By Referenc
2. LOGIC ELEMENTS 3 3 COILS Coils copy the state of the left horizontal shunt to the right horizontal shunt without modification and store the state of the left horizontal shunt into a Boolean variable having a unique user assigned name for use within the graphical ladder diagram Coil C The C coil sets the state of the reference to TRUE when the left horizontal shunt is conducting and to FALSE when not conducting ot 5 The coil function is associated with the output state of another GI 2 function block and assigns a unique reference name within the ladder diagram to this state lt REFERENCE gt Set Latch Coil S The S coil sets the state of the coil reference TRUE when the left 5 horizontal shunt changes from not conducting to conducting It will SE s ES remain TRUE after the left horizontal shunt returns to a not iy ee ES SRFxx conducting state until the reference is reset using an R coil assigned PU LAST NO to the same reference During a warm or cold start the reference will be set to FALSE The set coil function is equivalent to a SRF function block having input S connected to the left horizontal shunt the block output O1 associated with the coil reference and PU LAST set to NO The left horizontal shunt of the corresponding R coil is connected to the R input Set is paired with the complementary Reset function Reset Unlatch Coil R The R co
3. associated EROT corresponds to a ROT function block with the PU LAST set to NO the left horizontal shunt connected to the ON input and the D output corresponding to the reference The left horizontal shunt of the corresponding EROT coil is connected to the EN input Enable Retentive On Timer EROT The EROT changes its coil reference from FALSE to TRUE when the left horizontal shunt is conducting and its associated ROT is NOT TRUE This function and its associated ROT corresponds to a ROT function block with the PU LAST set to NO the left horizontal shunt connected to the EN input and the DN output corresponding to the reference The left horizontal shunt of the corresponding ROT coil is connected to the ON input Retentive On Timer Memory ROTM The ROTM changes its coil reference from FALSE to TRUE after Sege F the left horizontal shunt has been conducting for a time equal to or D S S gt greater than the time setting provided its associated EROTM is N Gom 24 ETS he conducting Once the timer has been started the elapsed time will TIME lt time gt END Ep be retained even if the left horizontal shunt returns to a not ET elapsed time LEK conducting state The elapsed timer will continue when the state eR Rae returns to conducting The ROTM must be used with an EROTM ND PU LAST YES enable retentive on timer having the same reference as the ROTM CGrom DLY TIME TIME
4. message inputs are configured and a basic display is used they can be viewed by pressing the D button to advance through the list of active messages Other function blocks can also be used to provide boolean inputs or outputs to the ladder logic elements For example a pushbutton function block could be used to start or stop a logic operation The connections between these elements on the primary page are made by creating a reference for the inputs and outputs of these function blocks similar to that above for the discrete I O 14 September 2005 CGiLL 1 LADDER LOGIC DESIGN EXAMPLES The graphical configuration of the first secondary page FDF Start FDF Start PB FDF Stop PB FDF Start FDF Fan Running Air Flow LoLo Drum Level Lolo Boiler OK NZA Oil Temp Lo Oil HdrPress Lo Atom Med Hi Oil OK Gas Press Lo Gas Press Hi Gas OK Boiler OK Oil OK Gas OK Op Requirements gt Gas V1Closed Gas V2 Closed Oil V1 Closed Oil V2 Closed Purge_Precond ZO Op Requirements Purge Precond Purge Permit Purge InProgress Purge Permit Start Purge PB Purge Request Purge Request Start Purge Purge InProgress Purge Delay TO Purge Delay Purge Complete Clear MFT Permit Purge Complete Clear MFT Permit Reset MFT Clear MFT Permit Reset MFT PB Reset MFT Spark Delay TOF Reset MFT Ign Start Delay Start Ignitr PB gn Spark Igniter Proven Igniter Delay TO Spark Delay Start Ign Spar
5. the contacts in the ladder Name the coils in the ladder Connect the coils to the discrete outputs Create the loops necessary for the ladder 1 2 Create a function block loop called Disc I O In this loop place all of the I O blocks that will be used by the ladder such as DIN s DID s DOUT s and DOD blocks Create a ladder logic loop to construct the ladder Create the Reference List for the discrete inputs to the ladder 1 2 3 4 Select Reference from the Edit gt References menu to get the Edit Reference dialog box Left click on the Create button to get the Create Modify References dialog box Type in the reference name of the discrete inputs to the ladder such as FAN RUNNING or FLAME ON Now click on the check mark in the box next to Unconfigured to configure the input Alternatively click on the name of the loop containing the Discrete I O in the ladder It is now possible to select the loop block and output that will be connected to the discrete input A symbol will appear in front of the reference name This indicates that the reference is connected from the ladder to a signal outside the station A gt symbol indicates a connection from the ladder to another loop within the station No symbol in front of the reference name indicates that it is connected within the ladder only Draw the ladder 1 Draw the ladder by selecting the New Ladder Logic Element button from the Line Conne
6. E to TRUE when the left horizontal shunt changes from a not conducting to a d 7 S conducting state and will remain TRUE for a period equal to the P Ca P gt osn Ed time setting regardless of the state of the left horizontal shunt The Ma f TIME lt time gt RETRIG YES timed pulse can be retriggered if the left horizontal shunt changes ET elapsed time PU LAST YES from a not conducting to a conducting state during the timing ON TIME TIME lt time gt period During a warm start the reference will be set to the last state any elapsed time will retained including that time accumulated during a power out condition the timer will continue timing if time has not elapsed and if elapsed will act on state of the left horizontal shunt during the first scan based on the state during the last scan prior to power out The TP function is equivalent to the OST function block with RETRIG set to NO PU LAST set to YES and the ON TIME set to the time lt reference gt September 2005 11 LADDER LOGIC ELEMENTS CGiLL 1 Repeat Cycle Timer RCT The RCT changes the coil reference from FALSE to TRUE when the left horizontal shunt changes from a not conducting to a Lee S conducting state and will remain TRUE for a period equal to the on se es S G S RCTxx et time At the end of the on time the reference will go FALSE and cD remain FALSE until the off time expires It will conti
7. F PU LAST set to YES and the DLY TIME set to the time 10 September 2005 CGiLL 1 LADDER LOGIC ELEMENTS Timed Pulse Timer TP The TP changes the coil reference from FALSE to TRUE when the left horizontal shunt changes from a not conducting to a conducting ee 7 F state and will remain TRUE for a period equal to the time setting GD gt OSTxx er x regardless of the state of the left horizontal shunt The timed pulse TIME ans a H H lt gt can not be retriggered until after the time expires During a warm ET elapsed time PU LAST NO start the reference will be set FALSE any elapsed time will reset to ON TIME TIME lt time gt 0 0 and the timer will act on state of the left horizontal shunt during the first scan The TP function is equivalent to the OST function block with RETRIG set to NO PU LAST set to NO and the ON TIME set to the time Timed Pulse Retentive Memory Timer TPM The TPM changes the coil reference from FALSE to TRUE when the 5 f left horizontal shunt changes from a not conducting to a conducting hikt Ste R oi state and will remain TRUE for a period equal to the time setting Ee en OSTxx ler regardless of the state of the left horizontal shunt The timed pulse TIME lt time gt RETRIG NO can not be retriggered until after the time expires During a warm ET elapsed time PU LAST YES start the reference will be set to the last s
8. Purge Precond gt o1 AND08 01 e K NDES Op Requirements Purge Permit ORDET A urge InProgress o1 AND12 01 By K NDIS Purge Permit DID01 OE Ay Start Purge PB Ba AND14 lo AND13 01 ORO2 OI AND12 01 3 gt Purge Permit Purge Request OR02 01 Start_Purge OR02 01 Purge_InProgress OR02 01 gt Gro LL Purge Delay TYPE ON PU LAST NO DYT TIME 6 0 DYT01 01 A Purge_Delay P o1 el AND157 OR02 01 gt Purge Complete 16 September 2005 CGiLL 1 LADDER LOGIC DESIGN EXAMPLES SS vom Stach ear ermit 01 R13 01 AND16 MOT A notoo gt AND16 01 o1 AND15 01 e ORO3 Purge Complete Clear MFT Permit OR02 01 A o1 OR03 01 NT AND17 2 Clear MFT Permit DID01 OF Ay A Reset_MFT_PB AND17 01 gt lor OR03 01 B AND14 e 1 ORO2 Clear MFT Permit gt gt Reset_MFT AND15 01 gt pyto2 Spark_Delay TYPE OF PU LAST NO DYT TIME 0 16667 AND22 01 Ign_Start_Delay gt NOT10 gt DRO EPE 0R02 01 1 Bal ANDIS CONST ONE AND1I6 oi g Reset MFT OR03 01 OR04 01 gt Start Jon Spark AND21 01 A Igniter Proven gt 8 AND15 01 Bal AND17 o e OR03 01 gt py
9. at of a P amp ID drawing Parameter and calibration values are determined next and then entered on a Configuration Documentation Form e g CG353 2 and finally into the Graphical Configuration software 2 1 CONFIGURATION This section provides tips for use while configuring a controller Most references to controller displays are to those seen on either ilstation or a Local Faceplate Display Assembly faceplate or Faceplate Display depending upon controller model Loop Tags Begin a configuration by laying down all of the loops and assigning loop tag names A loop tag should be a meaningful name of 6 to 8 characters although a tag name can be up to 12 characters The controller will display 8 characters the last 6 characters in the tag name a period and a variable P S V X Y T or The entire tag name when more than 6 characters can be viewed by pressing the TAG key For example a tag of Primary is displayed as rimary P The P indicates that the process variable is shown in the digital display When the Tag key is pressed the full tag would scroll Primary To avoid scrolling and show the tag name and variable condense the tag name For example condensing Primary to Prim would cause the display to read Prim P A ladder logic loop tag name should be up to 8 characters While in configuration mode a maximum of 8 characters can be displayed The controller distinguishes between a
10. ction Toolbar and selecting the appropriate contacts and coils 2 Next select the Line Connection Mode button on the Line Connection Toolbar The cursor will change to a wire spool that is used to interconnect or wire the elements in the ladder 3 Wire all the elements into the desired ladder logic configuration Name the contacts on the ladder 1 Name the contacts in the ladder using the wire spool cursor Right click on the contact name The set reference dialog box will pop up For external inputs select the proper discrete input from the list created earlier Add to the reference list any contact that comes from a loop within the station Select the Edit References button and click on the Create button The Create Modify References dialog box will pop up Name the contact reference and then specify the loop block and output used to provide this discrete input to the ladder If a contact comes from a coil on the ladder leave it unconfigured until the coils are named in the next step September 2005 3 INTRODUCTION AND OVERVIEW CGiLL 1 Name the coils on the ladder 1 i E SS To name coils continue to use the wire spool Right click on the coil name usually it will be in the form of DefCoilTagn The Create Modify Reference dialog box will pop up with the coil name highlighted Change the reference name to the appropriate name and click on OK Go to the next coil and repeat this procedure until all the coils are
11. ctions Many users however prefer ladder diagrams for developing logic configurations The graphical configuration utility can be used to configure logic using ladder techniques This section provides a list of ladder diagram elements contacts coils and timers available for use within the graphical configuration utility It also describes how they correspond to controller function blocks A sample ladder logic page with a variety of elements is shown below RecrPmp Stop PB Close_Recirc RecrPmp Gr PB Close Recirc Gas Start Abort Reset MFT Gas OK Start Gas PB Start Gas Gas On Start Gas Igniter Proven Stop Gas PB Open Gas Valves Gas Delay 0 03333 Gas VI NotOpen Stop Gas PB Gas V2 NotOpen Gas Start Abort Vent NotClosed Open Gas Valves Gas Start Abort Burner Flame m Op_Requirements ULC Loop Error Master Abort PB ULC Loop Error System Alarm 3 1 LADDER ELEMENTS Power Rail PR This element is on the left of the ladder diagram and is always conducting Horizontal Shunt HS This element conducts when the element on the left is conducting and transfers this state to the element on the right Vertical Shunt VS This element is the inclusive OR of the states of the elements to its left Connections By Reference lt reference gt The lt reference gt is the connection element to other elements within the ladder diagram and to inputs and outputs of function blocks within the l
12. e lt reference gt nuon ennenvenneenenneenernvenvenvenversenvenvervenneenenneenvenvenveneeeneenvenvencen 5 32 CONTACTS see 6 Normally Open Contact I NOC aea n E E A E E EEE E R E 6 Normally Closed Contact NM NCC is e ea ea a E E RR R E E ASEE E 6 Positive Transition Sensing Contact IPI PTC annen oneenvenvenvenvernenvenvenvenneenernveneenvenvencenvervenneeneen 6 Negative Transition Sensing Contact INI NTC rerervrnnornornrrvrnnererernrevernernrrnennervreneneresnesvarnennssvreneserevnessssnene 6 D3 COMES e ee ee ee ee eege E Ate eene ES Re 7 LEE Le EE 7 set Latch Col Synskontakt is nedi 7 Reset Unlatch Coil AR a hektene eege 7 Retentive Memory Coil OM 7 Set Retentive Memory Coil SM P Reset Retentive Memory Coil RM 8 Positive Transition Sensing Coil OP 8 Negative Transition Sensing Coil NI 8 Neg ted Col CN geed ene AN ar 8 EE ON E 9 Ret ntiv On Tim r TROT skate 9 Enable Retentive On Timer EROT erorernnvnrrnnrnverrnnrrrrrennvnrrsrrnverennrsrssennvsrsssrsesrennnssssnnvsrssnrsssssnnnsssssnnesssnnn 9 Retentive On Timer Memory ROTM naeve erneerneenneenneenneenseenseenverneeeneesnenseenneenneenneenneenneen 9 Enable Retentive On Timer Memory EROTM annae enneenneeneeenseenee ener enersnenseerneennvenneenneenseen 9 On Delay Timer TON versen reren den ester ersten ENE PE derden vennen dierfe eier 10 On Delay Retentive Memory Timer TONM naars erneenneenneenneense
13. ed Output O6 0il HdrPress Lo Output OE Start Purge PB Output O7 Atom Med Hi Output OF Reset MFT PB September 2005 13 LADDER LOGIC DESIGN EXAMPLE CGiLL 1 Reference connections for function block DID02 Output OG Start Ignitr PB Output O8 Start Gas PB Output O1 Burner Flame Output O9 Stop Gas PB Output O2 Start Oil PB Output OA Gas VI NotOpen Output 03 Stop Oil PB Output OB Gas V2 NotOpen Output O4 Oil_V1_NotOpen Output OC Vent_NotClosed Output O5 Oil_ V2 NotOpen Output OD Master Abort PB Output O6 RecircePmp Stop PB Output OE Output O7 RecircePmp Strt PB Output OF Reference connections for function block DODO1 Input 0 FDF Start Input 8 MFT Input 1 Start Purge Input 9 System Alarm Input 2 Purge InProgress Input A Input 3 Purge Complete Input B Input 4 Opn Ig Gas Vlvs Input C Input 5 Open Oil Valves Input D Input 6 Close Recirc Input E Input 7 Open Gas Valves Input F Reference connections for function block ODS Output LE Model 353 Loop Error The ODS can be used for displaying various operations within the ladder logic loops The Universal display provides more capability for this type of loop in that it will be able to display various messages See the description of the ODS function block for additional information When a basic display is used it will normally display the loop tag S and indicate the step number of the sequencer if used If
14. een in a not conducting state for a time equal to or greater than Gor DYTxx er the time setting It will remain FALSE until the left horizontal shunt TIME lt time gt TYPE OFF returns to a conducting state During a warm start the reference will ET elapsed time PU LAST NO be set FALSE any elapsed time will reset to 0 0 and the timer will DNT TIME UME Siimes act on state of the left horizontal shunt during the first scan The TOF Junction is equivalent to the DYT function block with the TYPE set to OFF PU LAST set to NO and the DLY TIME set to the time Off Delay Retentive Memory Timer TOFM The TOFM changes the coil reference from TRUE to FALSE after the p left horizontal shunt changes from conducting to not conducting and Ree S a has been in a not conducting state for a time equal to or greater than Gorm DVI Er the time setting It will remain FALSE until the left horizontal shunt TIME lt time gt TYPE OFF returns to a conducting state During a warm start the reference will ET elapsed time PU LAST YES be set to the last value the elapsed time will be retained including DNT TIME TIME lt img any time accumulated during a power out condition and the timer will act on the state of the left horizontal shunt during the first scan based on the state on the last scan prior to power out The TOF function is equivalent to the DYT function block with the TYPE set to OF
15. enseenserneeeneesmenseeenseenensen 10 Off Delay Timer ET KA DEEN 10 Off Delay Retentive Memory Timer TOFM rrrorrrnrrrnrrrnrnrernvrrnvrrnvennrennrrnnrrnnrensrrnnrrnnrrnernnrensrrnsrrnnennr 10 Timed Pulse Timer TP 11 Timed Pulse Retentive Memory Timer TPM nanne erneerneenneenneenneenneenseenserneeenvenvenseenneerneenne 11 Retriggerable Timed Pulse Timer RIP 11 Retriggerable Timed Pulse Retentive Memory Timer RTPM sssmmorrorsssrsrrssrereererrerrererrrsrrsrrrrrrnrrrer rr nr nn 11 Repeat Cycle Timer RCT ue ien aere iraa eara eai aE a a inno raand dessas rr 12 Repeat Cycle Retentive Memory Timer RCTM aen eneenneenneeneeenseenserneeeneesmenseenneenneeene 12 4 0 LADDER LOGIC DESIGN EXAMPLE s sssssoo0ocoo08o0o0csc0ccc0cc0cc0cc0000000o0000r00000o00o00o00000 000000 00000 000000 000000 00000 00000 13 September 2005 i CONTENTS CGiLL 1 Changes for Rev 2 September 2005 e There were no technical changes e References to Moore Products Co were replaced with Siemens Energy amp Automation Inc e Disclaimer text updated e Add Product Support section Procidia ilconfig and ilstation are trademarks of Siemens Energy amp Automation Inc Other trademarks are the property of their respective owners All product designations may be trademarks or product names of Siemens Energy amp Automation Inc or other supplier companies whose use by third parties for their own purposes could violate the right
16. ft horizontal shunt the block output O1 associated with the coil reference and PU LAST set to YES The left horizontal shunt of the corresponding SM coil is connected to the S input Reset is paired with the complementary Set function above Positive Transition Sensing Coil P The P coil changes the state of the coil reference from FALSE to TRUE for one scan cycle when the left horizontal shunt changes from not conducting to conducting The positive transition sensing coil function is equivalent to a RTG function block having input A connected to the left horizontal shunt and the block output O1 associated with the coil reference Negative Transition Sensing Coil N The N coil changes the state of the coil reference from FALSE to TRUE for one scan cycle when the left horizontal shunt changes from conducting to not conducting The negative transition sensing coil function is equivalent to a FTG function block having input A connected to the left horizontal shunt and the block output O1 associated with the coil reference Negated Coil NG The NG coil sets the state of the coil reference TRUE when the left horizontal shunt not conducting and to FALSE when conducting The negated coil function is equivalent to a NOT function block having input A connected to the left horizontal shunt and the block output O1 associated with the coil reference lt reference gt
17. he ET elapsed time PU LAST NO reference will be set FALSE any elapsed time will reset to 0 0 and PRAT UIE WME ie the timer will act on state of the left horizontal shunt during the first scan The TON function is equivalent to the DYT function block with the TYPE set to ON PU LAST set to NO and the DLY TIME set to the time On Delay Retentive Memory Timer TONM The TONM changes the coil reference from FALSE to TRUE after S lt reference gt P the left horizontal shunt changes from not conducting to conducting oi s and has been conducting for a time equal to or greater than the time onm DYD er setting It will remain TRUE until the left horizontal shunt returns to TIME lt time gt TYPE ON a not conducting state During a warm start the reference will be set ET elapsed time PU LAST YES to the last state any elapsed time will be retained including that time DUUE accumulated during a power out condition The timer will act on the state of the left horizontal shunt during the first scan based on the state of the last scan prior to power out The TONM function is equivalent to the DYT function block with the TYPE set to ON PU LAST set to YES and the DLY TIME set to the time Off Delay Timer TOF The TOF changes the coil reference from TRUE to FALSE after the 5 left horizontal shunt changes from conducting to not conducting and REECH e DS has b
18. il resets the state of the coil reference to FALSE when the left horizontal shunt changes from not conducting to conducting It me RO SRExx gt will remain FALSE after the left horizontal shunt returns to a not Br S conducting state until the reference is set using an S coil assigned to PU LAST NO the same reference During a warm or cold start the reference will be set to FALSE The reset coil function is equivalent to a SRF function block having input R connected to the left horizontal shunt the block output O1 associated with the coil reference and PU LAST set to NO The left horizontal shunt of the corresponding S coil is connected to the S input Reset is paired with the complementary Set function Retentive Memory Coil M The M coil sets the state of the coil reference to TRUE when the left s horizontal shunt is conducting and will set it to FALSE when the er EN epp shunt is not conducting It will retain the state of the reference Cm ea during a warm start until the coil is executed on the first scan cycle PU LAST VES The retentive coil function is equivalent to a SRF function block having input S connected to the left horizontal shunt the R input is not connected defaulting to TRUE the block output O1 associated with the coil reference and PU LAST set to YES Set Retentive Memory Coil SM The SM coil sets the state of the coil reference TRUE
19. k Igniter Delay Opn Jo Gas Vivs Burner Flame Ig Proven Delay TO Jo Proven Delay Igniter Proven Igniter Proven rt Delay TO Start Delay Jon Start Delay I C2 September 2005 15 LADDER LOGIC DESIGN EXAMPLE CGiLL 1 Ladder to function block conversion for the previous ladder diagram AND01 01 FDF Start DID01 01 A o1 AND01 01 gt FDF Stop PB gt NOTO1 A gt el DID01 00 By ORO1 oi B ANDO1 FDF Start PB Lid FDF Start DID01 03 Air Flow Lolo gt NOTo2 As eg gt NoTo3 Za AND02 Drum Lu LoLo AND03 o1 DID01 02 B en By Boiler_OK FD_Fan_Running DID01 06 SCH A O1 A DID01 07 A O1 A Oil HdrPress Lo Ax NOTO5 gt S in Med HP NOTOG gt ie DID01 05 D NOTOA ot e 1 ANDO4 lb EN ANDO5 0il Temp Lo Oil OK DID01 09 Gas Press Hi A Notog gt l DID01 08 A ot a ANDO6 Gas Press Lo gt NOTO gt Gas_OK AND05 01 A ANDOG OT oh Oil OK Gas OK o1 AND03 01 sl ANDO7 o sl ANDODI Boiler OK gt Op_Requirements DID01 0B A DID01 0C A DIDO1 OD A Gas V2 Closed SOL Vi Closed Oil V2 Closed lo1 DIDO1 0A o 1 ANDO9 b B AND10 p ANDI1 Gas Vi Closed gt gt gt Purge Precond AND11 01 A
20. lt time gt but preceded by NOT e g ROTM is TIMER2 and EROTM is NOTTIMER2 During a warm start the references and elapsed timer will be initialized to their previous values This function and the matching EROTM corresponds to a ROT function block with the PU LAST set to YES the left horizontal shunt connected to the ON input and the D output corresponding to the reference The left horizontal shunt of the associated EROTM coil is connected to the EN input Enable Retentive On Timer Memory EROTM The EROTM changes its coil reference from FALSE to TRUE when the left horizontal shunt is conducting and its associated ROTM is NOT TRUE This function and its associated ROTM corresponds to a ROT function block with the PU LAST set to YES the left horizontal shunt connected to the EN input and the DN output corresponding to the reference The left horizontal shunt of the associated ROTM coil is connected to the ON input September 2005 9 LADDER LOGIC ELEMENTS CGiLL 1 On Delay Timer TON The TON changes the coil reference from FALSE to TRUE after the S i lt reference gt left horizontal shunt changes from not conducting to conducting and ot P O1 i gt has been conducting for a time equal to or greater than the time Go gt Gurt ETA setting The reference will remain TRUE until the left horizontal TIME lt time gt TYPE ON shunt returns to a not conducting state During a warm start t
21. m ZZ 18 September 2005 CGiLL 1 LADDER LOGIC DESIGN EXAMPLES Ladder to function block conversion for previous ladder diagram AND33 01 Oil_On a AND24 AND25 01 gt AND05 01 Oil OK gt DID02 02 gt AND23 01 gt bi OR02 01 e 1 AND25 0Stat OIL PE AND260 s_ OROS 3 Reset MFT gt gt gt Start Oil AND33 01 5 Oil On o OR05 01 se AND27 Start Oil gt fonter bro A DID02 03 A DER gniter Proven 1 A OR05 01 gt Fan AND Ei opge Stop Oil PE NOT12 2 AND29 5 TD TD Start Oil Open Oil Valve AND29 01 gt DYTo6 Oil_Delay TYPE ON PU LAST NO DYT TIME 0 03333 DID02 04 e Oil_V1_NotOpen gt ot Ba AND30 AND31 01 gt DYT06 01 A A y DID02 05 gt Oil_Delay 3 AND31 ot 0il V2 NotOpen 3 AND32 AND30 0 s OROZ or AND29 01 gt gt gt Oil Start Abort OR07 01 A o Oil Start Abort T gt NOT13 ot AND29 01 e ees Open_Oil_ Valves Oil On OR08 01 Ay Eeer is o 5 AND34 g
22. nalog and digital signals If you need to convert a digital signal to analog use the Transfer Switch block TSW The inputs do not need to be configured If you need to convert an analog signal into digital use a Comparator block CMP When creating a large loop configuration first go into Page view and then lay down all the blocks This will permit you to quickly organize the blocks in a logical order Ladder Logic Pages Up to four pages of ladder logic rungs are permitted in the ladder logic loops In practice it is best to use only two pages of ladder logic per loop After the second page you typically will run out of loop resources For this reason it is best to switch to a new loop after two pages of ladder When configuring ladder logic it is useful to skip a rung between each rung of ladder created While debugging the ladder logic you will probably need to add more contacts or rungs of logic Having unused rungs makes it easy to add needed rungs 2 2 LADDER LOGIC CONFIGURATION A summary of the steps involved in assigning names to Ladder Logic elements follows Each step is then further divided into steps is subsequent paragraphs 1 Create the loops necessary for the ladder 2 Enter the discrete inputs to the ladder in the Reference list For function block details refer to CGiFB 1 UMiPAC 1 UM353 1 or UM354N 1 2 September 2005 CGiLL 1 INTRODUCTION AND OVERVIEW 3 4 5 6 Draw the ladder Name
23. named Go back through the ladder and name the unconfigured contacts that come from the coils that were just named This is done by using the wire spool and right clicking Unconfigured above the contact As before the Set Reference dialog box pops up and the appropriate coil name may be selected from the references listed by highlighting the appropriate name and clicking on OK Connect coils to discrete outputs 1 v S tee oS Connect each coil that drives a discrete output such as START FAN OPEN GAS SSV s to a discrete output block This is accomplished by opening the Discrete I O function block loop with the Line Connection Selected Mode cursor button that is next the wire spool button Double click on the appropriate discrete block The Item Attributes dialog box will pop up Click on the tab for the block selected Then click on the appropriate input to highlight it Next highlight the word Reference in the Connect to box Then click on the Edit Input button in that box The Set Reference list will pop up with all the coil names listed Click on the proper coil name that corresponds to the discrete output channel desired and then click OK This connects the coil to that discrete output channel When the coil goes high the discrete output will go high September 2005 CGiLL 1 LADDER LOGIC ELEMENTS 3 0 LADDER LOGIC ELEMENTS Logic functions are implemented in a controller using function blocks Boolean fun
24. ntroller and a PLC can now be accomplished in a single controller Ladder logic configurations are built using the ilconfig Graphical Configuration Software Install the software on a Windows based personal computer or on an ilstation Industrial PC When completed the configuration is then downloaded to the target controller Related Literature This manual can be used with e _ilconfig Graphical Configuration Utility Software Guide SG15939 64 This manual describes use of the software to create and download a configuration e Procidia Function Blocks and FCOs Configuration Guide CGiFB 1 This manual contains a description of each function block and factory configured option provided in controller firmware e Procidia ilpac User s Manual UMiPAC 1 and 2 This manual describes installation of the ilpac and ilo hardware and UMiPAC 1 contains CGiFB 1 e Controller User s Manuals UM353 1 and UM354N 1 Each manual describes installation of the named controller and it contains the function block and factory configured option details for that controller Telephone 1 800 569 2132 option 2 for Siemens Moore brand instruments Fax NORTH AMERICA E mail Hours of Operation 8 a m to 4 45 p m eastern time Public Internet Site Repair Service Product Support For contact information outside North America visit the Siemens public Internet site see the above table for the URL locate Customer Support Proces
25. nue to repeat ON lt time gt DU LAST MO f f i OFF lt time gt ON TIME ON lt time gt this cycle as long as the left horizontal shunt is conducting The ET elapsed time OFF TIME OFF lt time gt reference will always be FALSE when the left horizontal shunt is not conducting During a warm start the reference will be set FALSE any elapsed time will reset to 0 0 and the timer will act on state of the left horizontal shunt during the first scan The RCT function is equivalent to the RCT function block with INPUT AT unconfigured PU LAST set to NO the ON TIME set to the on time and the OFF TIME set to the off time Repeat Cycle Retentive Memory Timer RCTM The repeat cycle retentive timer RCTM changes the coil reference EE s from FALSE to TRUE when the left horizontal shunt changes from o1 sy ay a not conducting to a conducting state and will remain TRUE for a Qem ROT er period equal to the on time At the end of the on time the reference ON lt time gt PU LAST YES will go FALSE and remain FALSE until the off time expires It will OFF lt time gt ON TIME ON lt time gt ET elapsed time OFF TIME OFF lt time gt continue to repeat this cycle as long as the left horizontal shunt is conducting The reference will always be FALSE when the left horizontal shunt is not conducting During a warm start the reference will be set to the last value any elapsed time will retained incl
26. oop September 2005 5 LADDER LOGIC ELEMENTS CGiLL 1 3 2 CONTACTS A contact is a ladder element that copies a state to the element on its right equal to the logical AND of the state of the element on its left with the state of the reference Normally Open Contact NOC The NOC copies the state of the left horizontal shunt to the right horizontal shunt if the state of the contact reference is TRUE Bee Asi Otherwise the state of the right horizontal shunt will be non BIL fe conducting The NOC is equivalent to a two input AND function NOC block having inputs A lt reference gt amp B and output O1 If the B input is connected to the Power Rail the contact output will equal the lt reference gt and an actual AND function block is not required Normally Closed Contact NCC The NCC copies the state of the left horizontal shunt to the right horizontal shunt if the state of the contact reference is FALSE Bi Otherwise the state of the right horizontal shunt will be non Ne e eg anno ES conducting The NCC is equivalent to a two input AND function De block having inputs A lt reference gt amp B and output Ol and a NOT function connected to the A input of the AND block If the B input is connected to the Power Rail the contact output will equal the output of the NOT function block and an AND function block is not required lt reference gt Positi
27. ot gt RTGxx gt gt A A GI A lt reference gt A E OI gt FTGxx gt A GD A A lt reference gt 01 GA A ot gt NOT xx gt A gt September 2005 CGiLL 1 LADDER LOGIC ELEMENTS 3 4 TIMERS Timers are similar to coils They copy the state of the left horizontal shunt to the right horizontal shunt without modification and store a state into a Boolean reference based on the state of the left horizontal shunt and the operation of the specific timer function Retentive On Timer ROT The ROT changes its coil reference from FALSE to TRUE after the BEER left horizontal shunt has been conducting for a time equal to or D Pd greater than the time setting provided its associated EROT is oN Gon Ad ROTxx Bee conducting Once the timer has been started the elapsed time will TIME lt time gt ENS ety be retained even if the left horizontal shunt returns to a not ET elapsed time ENS conducting state The elapsed timer will continue when the state fred f NOT lt reference gt returns to conducting The ROT must be used with an EROT ND PU LAST NO enable retentive on timer having the same reference as the ROT Gro DLY TIME TIME lt time gt but preceded by NOT e g ROT is TIMER1 and EROT is NOTTIMERI During a warm or cold start the reference will be initialized to FALSE and the elapsed timer will be initialized to 0 This function and its
28. s Instrumentation and click on the Contact Tech Support link to access the Global Support link 2 0 CONFIGURATION OVERVIEW Controller configuration is the selecting and interconnecting of function blocks from an available list and the entering of appropriate block parameters to implement a specific control strategy Although configuration affects the entire controller the controller partitions related control implementations into LOOPS Each LOOP can contain the function blocks listed in the above manuals Signals can be connected between function blocks within the LOOP as well as between loops Also there are several STATION function blocks that are fixed and available in the STATION menu for setting station related values such as security Ladder logic September 2005 1 INTRODUCTION AND OVERVIEW CGiLL 1 status can be displayed using the Operator Display for Discrete Indications and Control ODD function block and a logic sequence can be initiated from an Operator Display for PushButtons ODP function block Refer to CGiFB 1 or the controller s User s Manual for the list of function blocks and their definitions Each controller must be configured to perform the desired control strategy The arrangement of functions and the numerical data required for a particular control circuit are referred to as the controller configuration A configuration is designed by first arranging the needed function blocks in a fashion similar to th
29. s of the owners Siemens Energy amp Automation Inc assumes no liability for errors or omissions in this document or for the application and use of information in this document The information herein is subject to change without notice Procedures in this document have been reviewed for compliance with applicable approval agency requirements and are considered sound practice Neither Siemens Energy amp Automation Inc nor these agencies are responsible for repairs made by the user Copyright 2005 Siemens Energy amp Automation Inc ii September 2005 CGiLL 1 INTRODUCTION AND OVERVIEW 1 0 INTRODUCTION This Configuration Guide provides detailed descriptions of Procidia ladder logic elements and their implementation The Procidia Internet Control System ICS the Model 353 Process Automation Controller and the Model 354N Universal Loop Controller represent the next generation in controller technology Designed to satisfy the needs of both continuous and discrete control applications these controllers have access to a large library of reusable function blocks that can be applied to a configuration to manage a vast array of process control applications Depending upon controller model either a Universal Serial Bus or a LonWorks fieldbus interface extends the analog and digital I O of these controllers over a low cost easy to install twisted pair cable As a result applications traditionally requiring a single loop co
30. t Za RecircPmp Stop PB NOT14 A DID02 07 AND34 07 EREN RecircPmp_Strt_PB gt Close Recirc OR11 01 Gas Start Abort gt lo1 Ba AND35 AND36 01 _____ gt AND06 01 Gas OK DID02 08 AND35 01 gt br AND36 o Start Gas PB AND37 ORO9 OR02 01 S B et 2 gt gt gt Start Gas Reset MFT AND46 01 A d onm on IT a AND38 Start GAS gt oer Pro A DID02 09 3 o niter_Provea s d A INNE AND39 AND O1 Za Stop Gas BINOTIS gt anpag OR09 01 EN or 2 OR10 o D Start Gas a Open Gas Valves September 2005 19 LADDER LOGIC DESIGN EXAMPLE CGiLL 1 AND40 01 5 gt DYT07 TYPE ON PU LAST NO DYT TIME 0 03333 DID02 0A Gas VI NotOpen AND42 01 gt AND41 DYT07 01 Ay Gas_Delay AND40 01 gt 01 DID02 0B A Gas V2 NotOpen gt AND41 01 gt By O1 By AND44 01 gt O1 Gas Start Abort DID02 OC Vent NotClosed S AND42 01 gt OR11 01 A Gas Start Abort gt O1 A NOT16 gt YA Burner AND40 01 DID02 01 AND45 Open Gas Valves B gt AND08 01 O p Requirements ODS LE AND08 01 gt ULC Loop Error By A EN OR12 01 Master Abort PB gt ODS LE ULC Loop Error System Alarm 20 September 2005
31. tate any elapsed time will be CIN Ville SE retained including that time accumulated during a power out condition the timer will continue timing if time has not elapsed and if elapsed will act on state of the left horizontal shunt during the first scan based on the state during the last scan prior to power out The TP function is equivalent to the OST function block with RETRIG set to NO PU LAST set to YES and the ON TIME set to the time Retriggerable Timed Pulse Timer RTP The RTP changes the coil reference from FALSE to TRUE when the e lt reference gt left horizontal shunt changes from a not conducting to a conducting EN S al state and will remain TRUE for a period equal to the time setting Q OSTxx eT S regardless of the state of the left horizontal shunt The timed pulse can TIME lt time gt RETRIG YES be retriggered if the left horizontal shunt changes from a not ET elapsed time PU LAST NO conducting to a conducting state during the timing period During a OM TIMES TMS dine warm start the reference will be set FALSE any elapsed time will reset to 0 0 and the timer will act on the state of the left horizontal shunt during the first scan The TP function is equivalent to the OST function block with RETRIG set to YES PU LAST set to NO and the ON TIME set to the time Retriggerable Timed Pulse Retentive Memory Timer RTPM The RTPM changes the coil reference from FALS
32. to3 ORO4 OI Igniter_Delay AND19 01 gt TYPE ON PU LAST NO DYT TIME 0 16667 DYT02 01 Ay 0R03 01 a DYT03 01 Spark Delay AND18 AND19 01 Igniter_Delay 5 e loi AND15 01 Da gt OR03 01 gt S Opn Ig Gas Vivs DID02 01 A Af ot Burner Flame AND21 m DYT04 et OR03 01 gt Ig Proven Dela TYPE ON PULAST NO DYT TIME 0 16667 DYT04 01 A Ig Proven Delay AND22 lot AND21 01 gt Igniter Proven AND22 01 A i Igniter Flame Proven gt NOT11 P gt pyTos Start_Delay TYPE ON PU LAST NO DYT TIME 1 0 DYT05 01 Ay Start Delay AND23 oi NOT11 01 Jon Start Delay September 2005 17 LADDER LOGIC DESIGN EXAMPLE CGiLL 1 The graphical configuration of the second secondary page Oil On Reset MFT Start Oil PB Start Oil I CD Start Oil Igniter Proven Stop Oil PB Open Oil Valves gt Oil Delay 0 16667 TON Oil_V1_NotOpen Oil_Delay Oil_V2_NotOpen Oil_Start_Abort Open Oil Valves Oil Start Abort Oil On RecrPmp Stop PB Close Recirc RecrPmp Srt PB Close Recirc gt Gas Start Abort Reset MFT Gas OK Start Gas PB Start Gas Kl Gas_On Start_Gas Igniter_Proven Stop_Gas_PB Open_Gas_Valves Gas_Delay 0 03333 TON Gas VI NotOpen Gas Delay Gas V2 NotOpen Gas Start Abort Vent NotClosed Open Gas Valves Gas Start Abort Burner Flame NAR Op Requirements ULC Loop Error Master Abort PB ULC Loop Error System Alar
33. uding that time accumulated during a power out condition and the timer will act on state of the left horizontal shunt during the first scan The RCT function is equivalent to the RCT function block with INPUT AT unconfigured PU LAST set to YES the ON TIME set to the on time and the OFF TIME set to the off time 12 September 2005 CGiLL 1 LADDER LOGIC DESIGN EXAMPLE 4 0 LADDER LOGIC DESIGN EXAMPLE This section illustrates a typical controller ladder logic configuration using the graphical configuration utility The configuration consists of a function block loop and a ladder logic loop The function block loop contains the discrete I O function blocks required to process the physical inputs and outputs to the station The ladder logic loop contains the ladder logic diagrams 4 i N 00 4 j EN O0 0 gt P l oN DIDO1 o DIDO2 o 1 gt DODO1 Ns ODS og o2 2 BN 03 03 3 04 04 4 H LE 05 05 5 02 o6 o6 6 03 07 07 7 04 08 08 8 05 CN og o9 9 06 EM OA OA A OL L OB OB B 08 NL oc oc c O92 AD oD op D erme OE OE E OE OF El OS QS uu d Reference connections for function block DIDO1 Output O0 FDF Start PB Output O8 Gas Press Lo Output O1 FDF Stop PB Output O9 Gas Press Hi Output O2 FD Fan Running Output OA Gas VI Closed Output O3 Air Flow LoLo Output OB Gas V2 Closed Output O4 Drum Level LoLo Output OC Oil VI Closed Output O5 Oil Temp Lo Output OD Oil V2 Clos
34. ve Transition Sensing Contact P PTC The PTC copies the state of the left horizontal shunt to the right horizontal shunt for one scan cycle when the state of the contact A A er reference changes from FALSE to TRUE Otherwise the state of MT R Dit Toeg anno s the right horizontal shunt will be non conducting The PTC Sie Junction is equivalent to a two input AND function block having inputs lt reference gt amp B and output Ol and a RTG rising edge trigger function connected to the A input If the B input is connected to the Power Rail the contact output will equal the output of the RTG function block and an AND Junction block is not required lt reference gt Negative Transition Sensing Contact N NTC The NTC copies the state of the left horizontal shunt to the right horizontal shunt for one scan cycle when the state of the contact A S Es Ze reference changes from TRUE to FALSE Otherwise the state of GEES anno ES the right horizontal shunt will be non conducting The NTC me function is equivalent to a two input AND function block having inputs A lt reference gt amp B and output O1 and a FTG falling edge trigger function connected to the A input If the B input is connected to the Power Rail the contact output will equal the output of the FTG function block and an AND function block is not required lt reference gt 6 September 2005 CGiLL 1 LADDER
35. when the left 5 horizontal shunt changes from not conducting to conducting It will SE s a remain TRUE after the left horizontal shunt returns to a not ER BS SRFxx es conducting state until the reference is reset using a RM coil assigned PU LAST YES to the same reference During a warm start the reference will be retained at the previous value and during a cold start it will be set to FALSE The set retentive coil function is equivalent to a SRF function block having input S connected to the left horizontal shunt the block output Ol associated with the coil reference and PU LAST set to YES The left horizontal shunt of the corresponding RM coil is connected to the R input Set is paired with the complementary Reset function below September 2005 7 LADDER LOGIC ELEMENTS CGiLL 1 Reset Retentive Memory Coil RM The RM coil resets the state of the coil reference to FALSE when the left horizontal shunt changes from not conducting to conducting It will remain FALSE after the left horizontal shunt returns to a not conducting state until the reference is set using a SM coil assigned to the same reference During a warm start the reference will be lt reference gt LEDE gt RN SRFxx GE Ry PU LAST YES retained at the previous value and during a cold start it will be set to FALSE The reset retentive coil function is equivalent to a SRF function block having input R connected to the le

Download Pdf Manuals

image

Related Search

Related Contents

SMART HAMMER - Tecway Development Co., Ltd.  Document attaché    2 - Chamberlain  HP COMPAQ 6005 User's Manual  Betriebsanleitung - DOLMAR Power Products  Polti Vaporetto Action  X1 line - Ascon S.p.A.  Tout simplement puissant  RF Projection Barometer With Remote Thermo Sensor  

Copyright © All rights reserved.
Failed to retrieve file