Home
LogicView for FFB
Contents
1. A B S D E smar LogicView PTI ea Sree PT Property Name Property Value Programs Name AI_AO BOUT_GE EB REGOLAZIONE_GT_4 1 Enecution TRUE E Esme THEO Al A0 B0UT ex BO ten o E 1 LIVELLO_1_3_ Et MAO MAQ 4 FA 2 MASTER_PRESS ma sm 100mm sm oom E 3 MaSTER PRESS 2 coe a E 4 YAPORE_SH_21 1c oop i sT3 100m0 i s3 100m0 i E S VAPORE_SH_21 E Bil CEOE CIEE E EPE pee meres EE Wass EE ER F Ei 6 a RIDUZIONE PRE S_D_AD1ISNUT O aoo DOD ADD Ooo O E 7 DSH_4104_PCY Se eii iaa ai i oam a01 BALBLIZSOUT a 3 S_B_10450UT a0z omm aoz SBL OUT E 8 TAY _R2 SBIT Haoa i oom aoa S_e_11910UT S E El 9 TAY R3 x E thi SEE oer eee T TE E fee meet waa wae aaa a A rs ae me ie Tag 40 001 004 CN OldValue 5200 NewValue 5209 Tag FT_1002 BRTY OldValue 1 NewValue 0 Tag LIc_ 4 1169 PID OldValue 0 NewValue 1 Tag LIc_ 4 1189 TR5 OldValue 2 NewValue 0 Tag LIC_B_1189 TR5 OldValue 2 NewValue 0 LIc_ 4 1169 KP OldValue 2 800000 NewValue 99 000000 LIC B 1189 5PL OldValue 0 000000 NewValue 1 000000 SE Tesh NewVYalue true 1169 ALG OldValue false INSTANCE Workspace TECNOPARCO Scan Time 10
2. cone LogicView for FFB DEC 13 LogicView for FFB Version 3 FOUNDATION USER MANUAL LogicView for FFB LogicView L OGVIFFBME smar www smar com Specifications and information are subject to change without notice Up to date address information is available on our website web www smar com contactus asp Introduction INTRODUCTION This configuration manual for the DF62 DF63 DF73 DF75 DF79 DF81 DF89 DF95 and DF97 controllers is divided as follows 1 Ladder Logic The control elements of a control strategy available in the LogicView for FFB are described at chapter 1 The symbols and notation are in compliance with IEC 61131 3 2 Function Blocks The chapter 2 presents detailed descriptions of all function blocks available in the LogicView for FFB 3 LogicView for FFB The chapter 3 describes Smar s software LogicView for FFB This is the application used to configure the hardware of a control system I O Modules Power Supplies controllers etc and implement ladder logic including ladder network elements and function blocks 4 General example The chapter 4 presents a general example using the LogicView for FFB We suggest reading initially chapters 1 and 2 and then go to chapter 3 that describes clearly how to implement the elements described in the first two chapters However user is free to start readin
3. Activating the Alarm with the SW1 Switch To finish the application click Close 4 6
4. Description When EN is true this FB is used to select between two inputs IN1 and IN2 and it will redirect them to the OUT output The SEL input works as a selection switch If SEL is false IN1 will be sent to OUT Otherwise IN2 will be sent to the OUT output If the EN input is false all outputs are held in zero false SEL1 BINARY SELECTION FOR BOOLEAN INPUTS CLASS MNEM DESCRIPTION ENABLED ao SEL sd J INPUT SELECTION Re IN2 INPUT VALUE gt B OUTPUT ENABLED o0 Ra OUTPUT VALUE I Input P Parameter OUT ace Output TYPE BOOL BOOL BOOL BOOL BOOL BOOL User Manual Binary Selection for Float Inputs SEL2 Description This function when EN is true is used to select between two inputs P1 e P2 and it will redirect them to the OUT output The SEL input works as a selection switch If SEL is false P1 will be sent to OUT Otherwise P2 will be sent to the OUT output If the EN input is false all outputs are held in zero false SEL2 BINARY SELECTION FOR FLOAT INPUTS CLASS MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 53 Function Blocks Truncation TRC Description This function when EN is true truncates a real number and the output will have only the integer part of the input number If the EN input is false all outputs are held in zero false TRC TRUNCATION CLASS MNEM DESCRIPTION TYPE 5 I Input P Parameter O Outpu
5. Fig 3 122 Alert about element insertion in a cell After inserting the block it has to be configured in the Object Properties window The items that appear in light gray cannot be changed by the user Object Properties Property Mame Property Value Name TON Tag TON_1 Description a IPT Link Type Value PT Yalue 1000 ET Link Type FF Address ET Yalue Not connected ET Alias Fig 3 123 Object Properties window In this case the items TAG PT Link Type PT Value ET Link Type and ET Value can be changed To change the function block s tag double click the right cell of the TAG The editing mode will be enabled and the user will be able to write the desired tag 3 64 The LogicView for FFB In PT Link Type the options are e Value Numerical value that has to be inserted by the user and that will be downloaded e Address Indicates that the function block input is linked to some block output e FF Address Indicates that the function block input is linked to some FFB analog output e NetlO Address Indicates that the function block input is linked to some NetlO analog output e Meta Parameter Indicates that the function block input is linked to a meta parameter analog output type In PT Value the available options will depend on what was chosen in PT Link Type If Value was chosen the user has to enter a numerical value If the inserted value is out of the allowed interval the following message wi
6. GAIN CONTROLLER GAIN N 4 PROCESS N GAIN 0 50 100 LEVEL Process Gain x Controller Gain The adaptative gain can be configured as showed in the next figure This curve can be represented by the following points FACTOR G X1 0 Y1 0 2 X2 20 Y2 08 X3 40 Y3 0 96 1 0 0 8 0 6 0 4 0 2 0 50 100 LEVEL Gain Curve as Function of PV Notes 1 The pairs x y have to be inserted in an increasing order of x values starting by x1 y1 pair and without jump the indexes 2 It is not necessary to use all 10 points of the curve but it will be necessary to repeat the values of X and Y of the last point of the desired curve in the other unused items 3 It is fundamental to use the 0 and the 100 of the determining variable 100 and 100 of error 4 It is recommendable programming the variable up to 102 since the variable may be above 100 5 Tuning is normally done for G 1 In the example the control becomes slower above or below 50 of the level 6 Adaptative gain is also very useful for pH control Anti Reset Windup by integral term AWL and AWH Usually the control algorithm automatically stops the contribution of the integral mode when the output signal reaches the lower or upper limits configured through the AWL and AWH parameters Contributions of the proportional and derivative modes are not affected The special feature of this block s algorithm is the optio
7. MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 81 Function Blocks Reduced Increasing Sequence LTr Description When EN input is true this function block performs as a comparison less than and OUT output becomes true if IN1 lt IN2 If the EN input is false the output is held in zero false LTr REDUCED INCREASING SEQUENCE MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 82 User Manual Increasing Monotonic Sequence LTE Description When EN input is true this function holds the OUT output in true if the input values IN1 to INn are in an increasing monotonic order An increasing monotonic sequence is a sequence of numbers that two adjacent elements are related by INn 1 lt INn i e IN1 IN2 IN3 INn 2 INn 1 INn Where IN1 lt IN2 IN2 lt IN3 INn 2 lt INn 1 INn 1 lt INn The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs Operation An example of increasing monotonic sequence is 1 1 3 3 4 5 6 78 78 In case of only two inputs are used IN1 e IN2 this function block performs as a comparison of less or equal to and the OUT output becomes true if IN1 lt IN2 If the EN input is false the output is held in zero false It is possible to use this expression to implement conditional blocks that compare two inputs and then make a decision the output state changes to 1 and enables another b
8. fo I O Type Parameter Type Keyword filter 0 C FFB C Functions f Local f Virtual Netl o C Meta Parameters I O Types e J _Direction Device Channel Safe Output Description Tagooo0o Input DF20 00000 N A i 7 i Pulse Module 1 0 TAGOOOO Input DF20 00001 N A e TaGgoooo2 Input DF20 00002 M A TAGOOONS Input DF20 00003 N A TAGOOOD4 Input DF20 00004 N A TAGOOOOS Input DF20 00005 N A TAGOOOOE DF20 600006 M A DF20 00007 N A o0100 Orr TAGOOIO Output DF28 OT TAGOOIO2 Output DF28 00102 TAGOOIO3 Output DF28 00103 TAGOOIO4 2 DF28 00104 T mAn Ae Ui ee eg mran Andi ac l Do Not Show Status Import File Esport File Close Fig 3 182 Configuring the safe output values 3 Changing the tags The tags can be changed in the Object Properties window if the user clicks on the desired element virtual variables I O or function blocks in the Hierarchy window Select the element double click the Tag right cell in the Object Properties window and write the new tag The tags only can have alphanumeric characters and the underscore character The tags also cannot have spaces Otherwise the following messages will appear LogicView for FFB Fig 3 183 Error Changing the tags with not allowed characters The user will be notified if the selected element has a blank tag See the next figure LopgicView for FFB Fig 3 184 Error Blank tag The virtual varia
9. E 5 Ladder 5 _ 6 Ladder 6 OENES AaS LEST TEA MEEA E Y TEA E Veen E A eas Controllers 100 0000 O 3 1827 4 Controller 1 0 0000 O 12 9513 Q Hardware 3 0 0000 O 2 6986 FD Rackz 0 0000 4 O 2 4858 FP racko RE STE Te rae Cine SRW Wek eC eek ay Dg ees te e E rrenreankene ran nse 0 DF20 ey gt 2 1833 a 1 0F28 4 0 0000 D 1 9244 f 2 DF46 0 0000 O 1 6494 I 3 04 E m ee ee Oe a ee ee E virtuals 200 gm Meta Parameters i 6 Network I O 5 FF Block Definition l i Pe lt amp ja j i JE x X E FFB LOGIC Workspace System302 Sync Time Oms Device Model DF75 SN 122 Ladder Status Running 4 Ladder 4 Cell D 1 FENISHE Studio302 Site Sm A FFBDefParam fF visual SourceSafe Ex Logicview for FFB F SUPERVISION ONLY Fig 3 24 Work area The work area of LogicView for FFB has basically 7 sub areas e Main Menu Toolbars Hierarchy Object Properties Ladder Drawing Area Output Status Bar Each one of them will be described in details By default all of them will be open when the user starts the LogicView for FFB The Main Menu Status Bar and Ladder Drawing Area cannot be closed 3 14 Main Menu The LogicView for FFB All software basic functions can be found in the main menu Each one of them can be opened with the shortcut ALT first letter of desired item Every submenu will be detailed in the next topics LopicView for FFB LogicView_
10. Normally Open Relay Diagram State Table When the state of A changes from 0 to 1 the contact A closes and the flow goes from the power rail an the left to the right powering the coil S Normally Closed Relay Diagram State Table The operation of a normally closed relay is the same to that of a normally open relay except backwards That is when the state of A changes from 0 to 1 the contact A opens and current does not flow from the power rail to the right through the contact A circuit Logical Function OR Diagram State Table Relays A and B are normally open With the association of both we implement the OR function The coil is powered when any of the two relays is closed Network Elements Ladder Elements Logical Function AND Diagram State Table Relays A and B are normally open The coil S is powered when A and B are equal to 1 at the same time Otherwise power will not flow from the left side power rail to the right side Boolean Equations By using relays and coils it is possible to implement Boolean functions For example consider the diagram below A C D E T HH E S E S C The S output depends on the state of the relays A B C D and on the coil E E depends on the values of A B C and D So E A B C D S E Boolean Algebra Boolean equations as shown above may become very complicated however the result might be simplified using the boolean algebra Below is a Summary of properti
11. Site Smar Current Database System302 PH Eriginesririg Database a FFB Logics Site Smar Current Database System 302 fl Areas 7 we Applications Control Modules Multi user status Area wit FFB2_1_Controlle Unlocked Logic Losics io s7 FFB2_1_Controller 9 Editing Logic gay Network Devices A FrB2_1_Controlle Local Logic Ks Stations IP cece Editing Logic Templa my i i fb_base Linlocked Logic Templa Pomel New logic Template E e Edit logic ae aaah a I O Point i e O Points view logic Logic Templa gt HENO Multiuser details Ge Field Devices Logic Logic Template Li Process Equipment Database 4 Name a2 O Area e Documentation Advanced Search y Client Server D i i BIHEIS v Studio302 Site Sm S Syscon c Logicview for FFB F gai a o rE 15 03 Fig 3 30 Studio302 Logics window Export Tags for OPC Browsing The Export Tags for OPC Browsing operation updates the Taginfo ini file with all tags from the opened logic enabling them for browsing without downloading the configuration to the controller This is the same operation as Export Tags for OPC Browsing of Syscon menu The difference is of scope i e while Logic View for FFB performs the export tags only of the opened logic the same operation in Syscon exports all tags from all logics used in the configuration i e Area ab This operation can be done by clicking the button in the main toolba
12. The LogicView for FFB cannot supervise only the analog points This button enables the points supervision of function The LogicView for FFB blocks inputs and function blocks outputs To enable the supervision of function internal parameters oe Gia ae and consequently the grid click the button Get Internal Function Parameters This action does an upload of internal parameters of all functions and in this condition is possible to update any of these parameters entering a new value in the grid and pressing lt Enter gt When the user chooses to supervise the logic it is done a comparison between the configuration that is in the controller and the one that is in the LogicView for FFB If they are equals the points are supervised normally If they are different the next message will appear with the Upload Download and Online options For neither of those close the dialog box This message will appear to the DF73 DF75 DF79 DF81 DF89 DF95 and DF9 7controllers For the HFC302 DF62 and DF63 there is a single option which is to download the configuration Online Options x There are differences in the logic in the cpu and in the Logic ievll 9 Choose an options Download at Upload Fig 3 155 Options before supervision If the LogicView for FFB cannot read the modules corresponding hardware of the MAI and TEMP analog functions the output value goes to 125 F S Ladder execution modes S
13. The user can work in Demo mode however there are some restrictions e Starting a new configuration the user can work with only one ladder diagram All functions will be kept e f the user tries to open a configuration with more than one diagram a message will appear informing that in Demo mode is not possible work with files with more than one diagram and the file will not open LopicView for FFB LogicView For FFB in Demo Mode It can open configuration with only one diagram Fig 3 1 Demo mode error 3 1 User Manual 3 2 A Removing the Hardkey If the LogicView for FFB is licensed through a hardkey and it is removed while the software is running in 9 minutes the LogicView for FFB is closed Before this the software will ask if the user wants to save the configuration When the hardkey is removed the next message will appear Logic iew for FFB xi No Licensell This Application will shutdown in 9 minutes Fig 3 2 Warning The application will shutdown Click Ok and the countdown will start If the hardkey is restored before the countdown is finished nine minutes the counting will be canceled If the hardkey is not restored the LogicView for FFB will be closed but the user will be warned See the figure below Logic iew for FFB iN Logicview will be closed License time has been expired Fig 3 3 Warning The licensed time has been expired The user may monitor the countdown in
14. Where Tp Lead constant adjusted by K2 parameter seconds T Lag constant adjusted by K1 parameter seconds The K1 parameter specifies the time constant for the block Based on a step change in the input this is the time to reach 63 2 of the step value The K2 parameter specifies the gain or impulse applied to the input In both cases the FLW parameter forces the output to track the input In this way when FLW is true the OUT output will have the input value and the lead lag algorithm will not be executed 2 115 Function Blocks 2 116 Applications Examples Initially it considers an input signal IN 10 This input receives a positive step change equals to 10 in t 5s In t 20s the input receives a negative step change equals to 10 The LLAG action can be observed for the following cases 1 K2 0 and Ki 5 A Yo L IN 20 OUT a a 1 63 2 10 l l l l l l S gt 5 10 15 20 25 30 T S 2 K2 5andK1 0 T s User Manual 3 K2 5andK1 10 LLAG LEAD LAG AND A FIRST ORDER EXPONENTIAL FILTER I Input P Parameter O Output 2 117 Function Blocks Mathematical Equation for Signal Processing MATH Description This function when EN is true uses an equation that filters the input signal The filter used is a first order exponential filter The IN1 input receives the signal Characteristic Filter Time K1 The K1 parameter is the characteristi
15. x 10s TimeCounter Process Data Math Comparison Elements Communication _ ToolBox ACC ACC WN Al Alh AQh MAI MAk MAQ MAOQOx STATUS STSh TEMP Fig 3 121 Toolbox Each one of these function blocks distributed in six tabs IO Time Counter Process Data Math and Comparison were detailed in chapter 2 In this topic only will show the insertion and configuration of these functions in a ladder network The Elements tab will be described separately With the F5 to F8 keys the user has the toolbox control Press the F5 key to move to left in the function blocks tabs IO Time Counter Process Data Math Comparison and Elements of the toolbox Press the F6 key to move to right in the function block tabs After the user has chosen a tab for example Math press the F7 key to move to left among the elements of this tab Press the F8 key to move to right among the tab elements To insert a function block click the desired function block in the toolbar Move the mouse over the network Note the mouse icon changes to _ Click any cell to insert the function block There are some restrictions to where the blocks can be inserted in the Ladder Drawing Area They are related to the block size and elements in the vicinity Therefore it might happen that the user has to select another place to insert the function block The next message will appear LopicView for FFB A Cell cannot be inserted at this position
16. A Parameter Typ H AY_aa Kerr fiter 6 1 0 i FFB Functions Local i Remote A search Virtual Net IO Meta Parameters Direction Var Type MT_DI_O000 Digital IN Value MT_DI_O000 Digital IM Status MT_DO_ Oooo Digital OUT Value MT_D0_0000 Digital OUT Status l DoWNot Show Status Import File Export File Clase Fig 3 62 Editing meta parameters The association of meta parameters to contacts coils or function blocks is exactly the same way as to other types I O Virtuals FFB or NetlO points The logic resulting from the combination of common parameters with meta parameters can be seen in the following figure MT_DI_O0000 MT_DO_0000 ne oe ee a ee ee et en eee MT_DO_O000 RT TEETER EEEE EEEE EEEE EELE EEE TE 00 MS MT_40_0000 MT_Al_O000 QW 5 Fig 3 63 Example of hybrid logic with meta parameters An entire logic configuration can be created with meta parameters without specifying hardware information defining FFB points or even the mapping of network points NetlO This logic can be converted in a conventional logic through an automatic mechanism of LogicView for FFB named Meta Tag Replacement that will be described later The LogicView for FFB Finding Meta parameters To find the meta parameters used in the logic configuration the LogicView for FFB has the Find Meta Parameters option in the Edit menu L
17. EN Input and EO Output Every function has an EN input and an EO output except those with a r sub index e g TPr and CTUr which has only EN input EN input is set to enable the function block that should be processed If EN is false all outputs change to zero and the FB is not executed EO changes to true logic to indicate that the function was successfully executed 2 1 Function Blocks Available function blocks in alphabetic order 2 2 FUNCTIONNAME DESCRIPTION User Manual FUNCTION NAME DESCRIPTION PID PID Controller S 2 3 Function Blocks Function Blocks Listed by Functional Groups Timer Counter Functions MNEMONIC DESCRIPTION ACMT ACMTr Reduced Time Accumulator ACMTh Reduced Time Accumulator Up Down Counter Reduced Pulse Up Counter 2 DESCRIPTION Reduced Bitwise Logic 1 Output Selection 2 4 User Manual Math Functions MNEMONIC DESCRIPTION Bitwise AND of 2 to 8 inputs Division Division S Comparison Functions MNEMONIC DESCRIPTION Increasing Monotonic Sequence Process Control Functions MNEMONIC DESCRIPTION PID PID Controller S O SPG Set Point Generator Sample Hold with Up and Down STP Step Control 2 5 Function Blocks Input Output Functions MNEMONIC DESCRIPTION 2 6 User Manual Time and Count Related Functions Accumulator Timer ACMT Description In this function block when the EN input is true and the IN input i
18. EUO minimum value corresponding to the 4 mA value for the current e Eng Unit 100 EU100 maximum value corresponding to the 20 mA value for the current The Apply channel settings to other channels button can be used if the user wants to replicate the configuration done to one channel to the others Just select the channels For the DF117 the option to configure the safe behavior Safe Behavior is enabled It indicates to what value will go the primary current of the HART device if it enters in safe mode 3 6 mA or 21 mA e The Download option can be used when LogicView for FFB is online to download only the var codes and the safe behavior for the DF117 e A configuration download of the all modules of the same type will be done and not only of the module which was changed Redundant I O modules configuration e Digital input module DF111 All redundant digital input points have besides a variable representing the point s value 0 or 1 a variable representing their status 0 good or 1 bad The status tag is the same of the value followed by tilde before the tag The statuses are read only type 3 103 User Manual 3 104 Object Properties Property Name Variable Channel eee ae Digital 1 0 ITAG00000 Input DF111 00000 N A Digital O TAGOQOO00 Input DF111 00020 Fig 3 199 Value and status of the DF111 module Digital output module DF112 All
19. If there are links in the output when you click some linked inputs inside Output Link option it also moves to the function that has the link 3 67 User Manual 3 68 With LogicView for FFB out of the supervision mode the number of inputs that are linked to an Output is showed as in the next figure To know what are these inputs follow the procedure mentioned above LogicView for FFB Bridge 18 BLK 2 800001852a_001f02 psi 1 File Edit View Ladder Tools Help Celts BS BO SRlo 2 A A BB e a AF Wo om _Time Pulse Process Data Math _ Comparison Contacts _ Comm _ E THH EHEH OG OO GO O Iz x x 4k Contacts 4 TAGO JH TAGO12 JH TAGO12 4 TAGO1z d TAGO1z f 4H TAGO1z 4 Coils lt gt Taco1 17 lt gt YOOOO lt gt TAGO woes oe 1 Bee Pe S ivscnuairwacniail gt voo0d CONST_2 0UTI t gt VO001 CONST_2 0UT2 x gt YOO02 16 CONST_2 OUTS 1 Functions TON_1 MAI_1 TEMP _ MAQ_1 19 CONST virtuals J G op 00 ee Ce one a n a INSTANCE workspace System302 Scan Time lt N A gt Device lt N A gt Ladder Status lt N A gt 0 Ladder 0 Cell 0 18 Fig 3 128 Inputs linked to outputs In all functions outputs the user can use an Alias user tag for them that is if an Alias was defined this is the tag which will be supervised and it can be linked with functions inputs If an Alias
20. The user will be warned about operations which can cause problems See the following example The warning appears because the quantity of imported lines is higher than the available lines at Properties Editor LogicView for FFB Attention Lines to be imported from file 24 Property Editor available lines 19 The quantity of lines to be imported is HIGHER than Property Editor available lines Some lines of the file will not be imparted Do you want to continue Fig 3 106 Importing a txt file Logic Library The Logic Library is an efficient way to reuse logics and templates creation for treatment of well known process in discrete automation area To understand the logic library of LogicView for FFB is necessary to understand the following concepts e Library Logic Element a logic of library corresponds to a logic diagram ladder of LogicView for FFB or part of it that can be exported for later reuse The user gives a name and a description to each library logic when it is created e Library File it can be understood as a container or logic bank Each library file can have one or more logic of library See above The library files can be created during the exporting process described later and they receive appropriated name and description defined by user To create a logic of library first the user has to select the logic that will be copied Right click and choose the Export to Library option T
21. group 0 or 1 and P point 0 to 7 Examples e 214 Rack O slot 2 group 1 and point 4 e 12307 Rack 12 slot 3 0 and point 7 When the EN input is true logical level 1 at each control cycle the pulses accumulated in the module are read and added to the TOT accumulator After the pulses are read the pulse accumulator module is cleared and a new counting begins To clear the TOT pulse counter it is necessary a false to true logic state transition in the CLRA input The Q output This function block can also give the information of pulse speed flow in a time interval that can be configured by the user in the MP parameter The Q output will keep showing an updated value of accumulated pulses on each MP time interval The MEM output The MEM output is updated with the pulses accumulated in TOT after the counter is cleared that is in an ascending transition in CLRA input the TOT counter is cleared and its current value is sent to the MEM output The THR output The THR Threshold output is controlled by the TR_ON and TR_OFF parameters DF41 DF42 or DF67 module configuration parameters At each MP time period it is verified if the number of pulses accumulated is greater than TR_OFF or less than TR_OFF If the number of pulses is greater than TR_ON the THR output will be set on logic level 1 and will only be set on logic level 0 if the accumulated value is less than TR_OFF Accumulator Mode The ACC function block acc
22. where the module is inserted The rule for filling is RRS00 where RR rack and S slot Examples e 200 Rack 0 slot 2 e 12300 Rack 12 slot 3 2 146 User Manual Multiple Analog Outputs MAO Description When EN input is true this function block places the linked or configured values in the AO A1 A2 and A3 inputs in the respective outputs of the analog output module associated in CN channel The STO ST1 ST2 and ST3 inputs are the fault state values that will be attributed to the module outputs in case EN is false MAO MULTIPLE ANALOG OUTPUTS DESCRIPTION TYPE O CN CHANNEL S OMONG I Input P Parameter O Output IMPORTANT The CN parameter has to be configured obligatorily with the slots base channel where the module is inserted The rule for filling is RRS00 where RR rack and S slot Examples e 200 Rack 0 slot 2 e 12300 Rack 12 slot 3 2 147 Function Blocks 2 148 Multiple Analog Outputs for IOR or HART MAOx Description When EN input is true this function block writes the values of the AOO AO1 AO2 AO3 AO4 AO5 AO6 and AO7 inputs in the analog output module associated to CN Channel For the IOR modules Redundant I O the module s outputs correspond to the input values of the 8 block channels For the HART modules the block inputs correspond to the values of output primary current of the 8 devices connected to the module s channels It also gen
23. 01201 TAGOI202 input fDF20 01202 TAG01203 jint fDF20 01203 ene TAG0O1204 inp DF20 01204 enn TAGO1205 input DF20 01205 TAGOI206 i input DF20 01206 TAGOI207 input DF20 01207 TAGO1300 TAGO1I301 TAGO1302 TAGO1303 TAGO1304 TAGO1305 TAGO1306 TAGO1307 Fig 3 35 Tag List Diagrams Execution Order Selecting this option a list with the ladder diagrams execution order will be printed Cross Reference List Selecting this option a cross reference list of the configuration tags will be printed indicating the respective diagrams where they are used See the next figure LogicView for FFB LogicView exemplo_manual 1 oO M 4 gt N Page 2 Close S ma r Projeto_Smar Page 1 1 OFM 706 14 13 45 VO Discrete Cross Reference List Ta TAGO1200 TAGOI201 TAGO1202 TAGO1203 TAGO1204 TAGO1205 TAGO1206 TAGO1207 TAGO1300 Tannin Ta Used inthe diagram Fig 3 36 Tag List Cross Reference Modbus Addresses Selecting this option a Modbus addresses list of the configuration tags and their groups will be printed indicating the respective Modbus addresses where they are used See the next figure 3 19 User Manual 3 20 LogicView for FFB LVFFB_Manual 1 a o AR e K 4 ig mn Page 1 Close Preerererert smar Page 1 4 05 20 08 08 50 12 KO Modbus Address Lis
24. 1131 Extra Float Download Error 1131 Long Download Error 1131 Float Download Error 1131 Tags Download Error 1131 Cfg File Download Error 1131 FFB Download Error 1131 FFB Link Download Error 1131 ID Modules Error 3 77 User Manual 3 78 1131 Internal Bool Parameters Error 1131 MB Al Error 1131 MB AO Error 1131 MB DI Error 1131 MB DO Error 1131 Num Net IO Error 1131 Net IO DO Error 1131 Back Fore Times Error 4 1131 Temp Download Error Failure in the download sequence or failure in the temperature module configuration Uploading the function parameters a4 With the Upload Function Parameters E button the user updates the function blocks parameters By clicking it the next message will appear LogicView for FFB A would you like to upload function parameters Fig 3 150 Confirming upload After confirm the operation LogicView for FFB will update the function blocks parameters and the following message will appear informing the operation success Fig 3 151 Upload has finished In the Output Window will appear a parameters list whose values has changed NewValue and OldValue See the following figure The LogicView for FFB SRIF Logic iew for FFB PBusController 2 FFB 1 800001852f 000901 pqi 1 File Edit View Ladder Tools Help jose als m elSRlo e lal Blee Ala a Time Pulse Process Data Math Comparison Contacts Communications j ajaan npn Sos uae ae Be
25. Advanced PID APID Description This function block when EN is true does the PID controller The acclaimed PID algorithm for continuous process control associated with the configuration flexibility of the operation settings through parameterization allows the utilization of this block to a variety of applications and control Strategies This block supplies several options of algorithm settings having as a basis the Proportional P Integral 1 and Derivative D terms that may be applied in error or just to the process variable PV This block also supplies three outputs for alarms one is for deviation alarm and two can be configured This block allows selection of the following control types Pl Sampling Quadratic Error GAP and Adaptative Gain The user may set limits of anti reset windup only applied to the integral term Besides the user might choose the type of the PID algorithm ISA or parallel direct action or reverse manual to automatic control transference bumpless or hard PID type It is defined by the PID parameter PID 0 PI D type PID 1 PID type PID 2 PD type PID 3 PI SAMPLING type PI D P and I actions act over the error and the D action over the process variable In this way the output signal tracks set point changes according to the proportional and integral actions but there is no undesired variation due to the derivative action It is the most recommended type for most applications wit
26. BUT NOT COMPATIBLE OUTBOMBAS INBOMBAS FOUND BUT NOT COMPATIBLE OUTBOMBAS INBOMBAS FOUND BUT NOT COMPATIBLE OUTBOMBAS INBOMBAS FOUND BUT NOT COMPATIBLE Total matching elements found 0 Matching elements selected 0 Appii Changes Clase Fig 3 57 Tag Matching example verifying the compatibility The user can select in the table which variables replacement operations have to be done by the Select column as shown in figure above When you click the Apply Changes button all replacements will be effective in the selected ladder diagram Example for Function Blocks If the user just wants to rename a set of function blocks the Tag Matching also can be used Tag Matching x Selection Rule FIND functions tags containing 1 RENAME function s tag to 2 Search Options Contacts Coils variable exchanging f Function Blocks tag renaming Tag found by rule Tag suggested by matching TONr1 TONT2 TAG FOUND OPERATION NOT ALLOWED Total matching elements found 0 Matching elements selected 0 Appli Changes Close Fig 3 58 Tag Matching example renaming function blocks In the above example the user tried to find all function blocks whose tags have 1 and then rename them changing 1 to 2 For example TONr_1 to TONr_2 The association procedure found a tag TONr_2 which exists in the configuration and for this reason you cannot rename the tag indicated by the status
27. Blocks 2 80 Limiter LMT Description This function when EN input is true limits the IN input between the MIN and MAX input values and places the result in the OUT output Suppose the user desires to limit a signal input between 1 and 10 In this case the user has to configure the MIN input with the value 1 and the MAX input with the value 10 The signal that will be limited has to be connected in the IN input When the upper limit is exceeded the OUT output is equal to 10 and when the bottom limit is reached the OUT output is 1 If the EN input is false the output is held in zero false LMT LIMITER CLASS MNEM DESCRIPTION TYPE I Input P Parameter O Output User Manual Increasing Sequence LT Description When EN input is true this function holds the OUT output in true if the input values IN1 to INn are in an increasing order i e IN1 lt IN2 lt IN3 lt IN4 INn 1 lt INn The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs In case of only two inputs are used IN1 and IN2 this function block performs as a comparison less than and OUT output becomes true if IN1 lt IN2 If the EN input is false the output is held in zero false It is possible to use this expression to implement conditional blocks that compare two inputs and then make a decision the output state changes to 1 and enables another block LT INCREASING SEQUENCE
28. IN input and the OUT output values are given in the 0 10000 format Time Selection The block time basis can be selected in minutes seconds or hours according to the requirements of the application by the parameter T_SEL This parameter has the following values 0 seconds 1 minutes 2 hours This selection affects directly the chosen value for the FTIME parameter FTIME and IC_DC Parameter FTIME is the time which the output takes to change from 0 to 100 The change direction is given by the IC_DC input If this input is true the OUT output will be gradually decreased with speed defined by the FTIME parameter otherwise the output will be increased with the speed defined in the FTIME parameter Pause Command The PAUSE command freezes the OUT output So the output can be increased or decreased through the selection of the UP and DOWN inputs UP and DOWN Command ASPD Parameter The UP and DOWN inputs will advance or revert the OUT output to a desired value using the manual speed adjustment by the ASPD parameter This parameter configures the speed of manual actuation LOWL and HIGHL Parameter The LOWL parameter configures the bottom limit of the ramp generated by the ARAMP function block while the HIGHL parameter configures the upper limit of the output ramp It starts from the value in the IN input and goes to the maximum value set in the HIGHL parameter If the inout value is less than LOWL the initial value of the ramp will b
29. Initial Date 2007 i0605 gm r Le k L F LE EAO Device DF YS Background Foreground Exe 10 Pri rit Node Local Prefi L Fig 3 162 Project information window The LogicView for FFB Priority This parameter defines the priority which the controller executes the logic in comparison with the other tasks of the system See the following table Priority DF62 DF63 DF73 DF75 DF79 DF81 DF89 DF95 DF97 0 VeryHigh 0 6 Intermediate 6 X OX XxX 0 8 0 9 Intermediate 9 as 1__ High x X X Foreground Background Visualization of the logic execution rate in comparison with the other tasks of the system The values are changed according with the priority chosen Hardware The user can configure the hardware that will execute the ladder logic in this window Here the racks can be inserted removed and configured The LogicView for FFB shows a window with the racks and their slots in use and also which ones are available The racks configuration can be changed Right click Hierarchy Hardware and the following options are available ep oe Controllers es Controller 12 e E Virt Insert New Rack A SS Net Remove Last Rack GP FFE Remove All Racks Hardware Configuration a Reset Hardware Configuration Fig 3 163 Hardware Options in Hierarchy Window Insert New Rack With this option as many racks can be inserted as needed for the applicatio
30. LAST For example an application that requires 30 points to represent a function will have the following configuration Y 20 0 yalor 10 0 alor 90 0 valor eee LINZ intermediate Last PASS DONE PASS DONE A IM OUT IH 2 113 Function Blocks e The pairs x y must be inserted in an increasing order of the X values beginning in the x1 y1 pair and without jump the indexes e It is not necessary to use all 10 points provided by the block for curve generation but it will be necessary to repeat the values of X and Y of the last point of the desired curve in the other unused items For example the curve desired use x1 y1 until the pair x5 y5 then the other pairs should be configured with the same values of x5 y5 e The values inserted for the coordinate X must be the same type values in percent or engineering unit of the IN input value and the values inserted for the coordinate Y must be the same type of the expected value in the OUT output LIN LINEARIZATION CLASS MNEM DESCRIPTION TYPE EN INPUT ENABLED BOOL PASSES THE INPUT TO THE OUTPUT WITHOUT PASS ANY PROCESSING BOOL IN EO ENABLES THE NEXT LIN BLOCK IN AN DONE OUT TYPE X1 Y1 X2 X TO THE SECOND POINT FLOAT Y2 Y TO THE SECOND POINT FLOAT O o X9 Y9 SELECTS THE OUTPUT FORMATS REAL OR INTEGER NUMBERS I Input P Parameter O Output 2 114 User Manual LEAD LAG LLAG Description This is a dynamic c
31. LAUNCHING THE APPLICATION sccsessessessessecsessussucsucsucsscsucsucsuesucsucsscsuessesucsuesuessesuesacsuessesuesucssesucsussuesecsussacsecseesesseeseesseseeee 3 3 INSTANCE MODE a 3 4 AN os By E MOD a imeem ena NC vn Coe vn ne a ROSE a CEO rn no nO nT A 3 9 SUPERVISION ONLY MODE cccccccccsecsecsecssessccecseeseesscsecsecsscssesucsacsecsucsucsucsarsarsacsacsecsecsacsarsacsecsacsucsecsetsacsetsacsetsasssstsaeseeseee 3 11 SIMULATION MODE werap e ee arte athe cake cee e ak ta eae att tt calle Gana tule thats enna ea 3 12 VIEW MODE se ceca cae etree ccc oleccasesees eased cuaceduzscascetc tL aak saute d anaaadiatacocenls saneaats cea tesbeamapdoneca ache oamunncrestesvenaanhaneote 3 13 LADDER NETWORK EVALUATION cccccscecceceessesecsecsecsecseesecsecsecsecsersecsecsursarsursarsarsarsucsacsarsecsarsatsetsacsarsatsutsatsatsetstsetsetsateees 3 13 ACKNOWLEDGING THE WORK AREA 2 2 sc ceases cee sieve sis udtecn eee kk kannu ede sce aceg een eee ranea 3 14 MAINIME N esr tnt ce a ages lena a arch aa calanoid ES 3 15 EENEN ees enn rere rem ee ee or ean IRR em nney ts PRS OSE aint mie av PE Der Ter ame nc 3 15 CREATE TEMPLATE casos ec eter te ad cae ccutee tec tuea kane cuca Sa ae baleen eoenhe weucmnaanten cue aamate see 3 16 EXPORT TAGS FOR OPC BROWSING cccscccsscsecssessesuessessesecsucsuessessesucsucsuesucsucsucsussucsuesussecsusssssuesaesucsuessessessesatsesseesaeeseseesees 3 17 EXPORT TAGS FOR SUPERVISION ccccccssescecsecsecsecsecsecseesecs
32. Link Type and OUT Value can be changed To change the function block tag double click the right cell of the TAG The editing mode will be enabled and the user will be able to write the desired TAG In P1 and P2 Link Type the options are Value Numerical value that has to be inserted by the user and that will be downloaded Address Indicates that the function block input is linked to some block output FF Address Indicates that the function block input is linked to some FFB analog output NetlO Address Indicates that the function block input is linked to some NetlO analog output e Meta Parameter Indicates that the function block input is linked to a meta parameter analog output type In P1 and P2 Value the available options will depend on what was chosen in P1 and P2 Link Type respectively If Value was the choice the user has to enter a numerical value If Address was chosen in P1 and P2 Link Type the available options in P1 and P2 Value will be Not Connected or the function blocks outputs lf FF Address was chosen in P1 and P2 Link Type the available options in P1 and P2 Value will be Not Connected or the FFB analog outputs If NetlO Address was chosen in P1 and P2 Link Type the available options in P1 and P2 Value will be Not Connected or the NetlO analog outputs lf Meta Parameter was chosen in P1 and P2 Link Type the available options in P1 and P2 Value will be Not Connected or the meta parameters analog
33. LogicView for FFB removed the function blocks links with the FFB analog points and renamed the function block to maintain the integrity of tags However as only the TON_3 block was copied the link between it and the TON 2 block was maintained now is TON_ 2 ET linked to TON_ 14 PT The elements of the ladder drawing area can select all at once Just click Edit Select All Find and Replace The elements tags on the ladder network can be found and replaced with the command Edit Find and Replace The next window will appear Find and Replace x Find what 0003 Find Next Replace with Direction Up Only in thig Net Match whole word onl Down M Log results Match case Fig 3 48 Find and Replace The Find command searches for the tags of contacts coils and function blocks and the Replace command only replaces the contacts and coils tags If the user wants to find a tag in the network just write it in Find what and then click Find Next button The LogicView for FFB will find it and the cell where the tag is will be selected To replace a tag select the respective tag by clicking E A window with the available tags will appear To select a tag click Select See the next figure 3 25 User Manual Select a Parameter O Type Farameter Type o gt kepword filter f 1 0 t FFB P Virtual C Nek Meta Parameters f Local Direction Device Treen Safe Output Description TA amp GO0001 Input DF
34. Multiple Analog Inputs MAI Description When EN input is true this function block reads the values of the analog input module associated in CN channel and places them in the AIQ Al1 Al2 AIB Al4 Al5 Al6 and AI7 outputs MAI MULTIPLE ANALOG INPUTS CLASS MNEM DESCRIPTION TYPE O P I Input P Parameter O Output IMPORTANT The CN parameter has to be configured obligatorily with the slots base channel where the module is inserted The rule for filling is RRS00 where RR rack and S slot Examples e 200 Rack 0 slot 2 e 12300 Rack 12 slot 3 2 145 Function Blocks Multiple Analog Inputs for IOR or HART MAIx Description When EN input is true this function block reads the values of the analog input module associated to CN Channel and places them in the AIQ Al1 Al2 Al3 Al4 Al5 AI6 and AI7 outputs For the IOR modules Redundant I O the 8 inputs in the module correspond to the block output values For the HART modules the block outputs correspond to the values of input primary current of the 8 devices connected to the module s channels It also generates in the STS output the status of the inputs each bit corresponding to an input where 0 indicates good and 1 bad MAIx MULTIPLE ANALOG INPUTS FOR IOR OR HART DESCRIPTION P I Input P Parameter O Output IMPORTANT The CN parameter has to be configured obligatorily with the slots base channel
35. OUT4 OUT_4 IN5 IN_5 OUTS OUT_5 ING IN 6 2 OUT 6 OUT 6 170 Type Single 1 0 Multiple 1 0 Cancel Change IO Quantity ONotUsed F 140 Used in 170 Used in 4 140 Used in LogicView 140 Used in LogicView Syscon 3 and Syscon Area Link Number of WOs 0 INSTANCE Fig 3 214 Defining the FFB parameters This procedure can be done via Syscon in Instance mode before editing the logic For further details refer to Syscon manual The FFB input and output tags are single If the user tries to give an existent tag to a FFB parameter the next message will appear Object properties LopicView for FFB The LogicView for FFB A This FFB tag can t be used in the configuration Because this same tag is already matched with another element Fig 3 215 Error Changing a tag of the FFB parameters When a FFB block is used in a control strategy is recommended to foresee extras parameters for future usage avoiding an impact of stopping the control during an incremental download It will be necessary when a new strategy with new parameters were included When new FFB parameters are added as well as a change of parameter s name the devices DDs will be redefined and this will demand a wider download resulting in deleted links and deleted blocks and the re establishment of them The utilization of extras parameters which were previously defined will not redefine new DDs and will demand only the establ
36. REF2 The alarms ALM1 and ALM2 are independents and can be configured They are activated through their parameters comparing the reference value REFx and the selected variable in INALx SP or MV Is possible to select the comparison type TYPEx checking if INALx is above High below Low or equal Equal to REFx To avoid output signal oscillation when the variable is very close to the reference a hysteresis value can be adjusted through the DBNx parameter See the next figure REFERENCE Alarm with Hysteresis 2 95 Function Blocks 2 96 PID constants KP TR TD FB input and BIAS parameters KP Proportional gain TR Integral time in minutes repeats thus bigger TR means less integral action It can be understand as the necessary time to increase decrease the output of error value parallel PID keeping it constant TD Derivative time is given in minutes The derivative time is calculated using a false derivation i e an action similar to a lead lag controller in which the lag constant is Alfa TD In this block implementation the Alfa factor is equal to 0 13 BIAS This parameter will allow the adjustment of the initial output value in percentage when the control is transferred from manual to automatic The applied value in this parameter has to be among 0 and 100 The use of this input can be done through the selection of TRS parameter FB Through this input is possible to adjust the initial outpu
37. SIMULATION WITH THE SIMULATION OPTION iei E 4 4 Vill Chapter 1 NETWORK ELEMENTS LADDER ELEMENTS This section will help you understand the meaning of the network ladder elements and the network tools The Network Elements As mentioned before Logicview for FFB uses symbols and notations defined in the IEC 61131 3 standard and some additionals used in languages other than ladder re THEI OO G6 OG OCH ABB x Kx Fig 1 1 Network Toolbox Definitions of the Network Tool Box Elements IEC 61131 3 standard Ladder Tr Normally Open Contact The state of the left link is copied to the right link if the state of the associated Boolean variable is ON Otherwise the state of the right link is OFF ar Normally Closed Contact The state of the left link is copied to the right link if the state of the associated Boolean variable is OFF Otherwise the state of the right link is OFF IF Positive Transition Sensing Contact The state of the right link is ON from one evaluation of this element to the next when a transition of the associated variable from OFF to ON is sensed at the same time that the state of the left link is ON The state of the right link shall be OFF at all other times ul Negative Transition Sensing Contact The state of the right link is ON from one evaluation of this element to the next when a transition of the associated variable from ON to OFF is sensed at the same time the state of the left link is ON The s
38. So t 1 60 h or 1 minute b IN is FLOAT and represents the flow in percentage In this case the input will be seen as a percentage represented by a float number in the range O to 100 FCF must be equal to the maximum flow value in engineering units flow at 100 to the totalization to be given in EU The TU parameter setting is similar to the previous item The totalization will be displayed in the EU configured User Manual c IN is INTEGER In this case the input will be interpreted as an integer number in the range O to 10000 0 and 100 respectively FCF must be equal to the maximum flow in EU divided by 10000 Suppose a maximum flow of 1 m s and a constant flow of 0 5 m s The FCF value is equal to the maximum flow divided by 10000 or 0 0001 The TU value in this case is 1 because the totalization unit is m A 0 5 m s input is equal to 5000 or 50 of the scale Thus OUT J IN t dt 0 0001 5000dt 0 5t m 0 0 So in one minute or 60 seconds the totalized value is 30 m d FCF is less than zero When the block is totalizing a negative flow the totalization is decreased When the flow is positive the totalization is increased When FCF is greater than zero i e positive the ETOT function block only accepts positive flows RST Input If the RST input is changed to true the totalization is restarted and the internal registers of the ETOT function block are cleared OpMode Parameter It indicates
39. TAG FOUND OPERATION NOT ALLOWED 3 31 User Manual 3 32 Tag Matching x Selecton Rue A A A Search Options FIND functions tags containing 1 Contacts Coils variable exchanging RENAME function s tag to 10 Function Blocks tag renaming Tag found by rule Tag suggested by matching TONr1 TONr_10 P0PERATION ALLOWED Total matching elements found 1 Matching elements selected 1 Apple Changes Clase Fig 3 59 Tag Matching example renaming function blocks In the above example the user tried to find all function blocks whose tags have 1 and then rename them changing 1 to 10 For example TONr_1 to TONr_10 The association procedure did not find any TONr_10 and for this reason it is possible to rename the tag indicated by the status OPERATION ALLOWED Meta Parameters The LogicView for FFB has the following conventional parameters types e Reals I O parameters associated to hardware e Virtuals auxiliary variables to implement discrete logic They are created on LogicView for FFB and belong exclusively to the logic configuration which they were defined e FFB input and output parameters of Flexible Function Block FFB created through the Define Parameters Tool DPT e NetlO input and output parameters resulting from network mapping Profibus AS i or DeviceNet through the Mapping Tool applicative The meta parameter is a special element of LogicView for FFB and i
40. a Function Block the LogicView for FFB shows the following error message Logic iew for FFB AN Logicview detected that the Tag TON_1 is USED by a Function Block You cannot perform any valid action with this Tag Edition The operation will be cancelled Fig 3 138 Error message unavailable operation This message indicates that is not possible to perform any operation with the typed tag because it belongs to a function block that is being used in the ladder Click Ok The tag edition will be canceled and the former value will be restored If the tag typed by user is a parameter which is not compatible with the contact or coil for example the edited element is a coil and the typed tag is an input real point the following error message will appear Logic iew for FFB E x Logicview detected that the Tag T4G00200 is USED by another variable which is WOT COMPATIBLE with the selected Contact Coil You cannot perform any valid action with this Tag Edition The operation will be cancelled Fig 3 139 Error message unavailable operation This message indicates that is not possible to perform any operation with the typed tag because it belongs to a previously created parameter and is not compatible with the contact or coil actually being edited Click Ok The tag s edition will be canceled and the former value will be restored 3 73 User Manual 3 74 Communication tab If the user is
41. a PID block Selecting the IN input and the OUT output formats PERC parameter PERC false the IN input and the OUT output values are given in percentage 0 100 PERC true the IN input and the OUT output values are given in 0 10000 format SMPL SAMPLE HOLD WITH UP AND DOWN CLASS MNEM DESCRIPTION TYPE EN UP DOWN PASS IN INPUT FLOAT EO OUTPUT ENABLED BOOL OUT OUTPUT FLOAT ACCELERATION FACTOR INCREMENT OR ACCEL DECREMENT LONG ASPD SPEED OF ACTUATION IN PER SECOND LONG L LMT LOWER LIMIT FLOAT H LMT UPPER LIMIT FLOAT SELECTS THE INPUT AND THE OUTPUT FORMATS PERG BETWEEN 0 10000 AND O 100 BOOL I Input P Parameter O Output 2 127 Function Blocks CLASS MNEM DESCRIPTION TYPE RACK1 RACK2 SLOT2 RACK3 SLOT3 RACK4 SLOT4 RACK5 SLOTS RACK6 SLOT6 RACK7 SLOT RACK8 SLOTS I Input P Parameter O Output RACKI RACK2 SLOT2 RACK3 SLOTS RACK4 SLOT4 RACKS SLOTS RACK6 SLOT6 RACK7 SLOT RACK8 SLOTS 2 128 User Manual Step Control STP Description This function is used in combination with the PID block Connect the PID block output to the DMV input to make an ON_OFF or ON _NONE_OFF control The ON_OFF establishes the open and close control of valves during a particular time interval The ON _NONE_OFF control allows the open and close control of valves according to the rate of variation in the PID
42. a basis the Proportional P Integral 1 and Derivative D terms that may be applied in error or just to the process variable PV This block also provide three outputs for alarms one is for deviation alarm and two can be configured This block allows selection of the following control types Pl Sampling Quadratic Error and GAP The user may set limits of anti reset windup only applied to the integral term Besides the user might choose the type of the PID algorithm ISA or parallel direct action or reverse manual to automatic control transference bumpless or hard PID type It is defined by the PID parameter PID 0 PI D type PID 1 PID type PID 2 PD type PID 3 PI SAMPLING type PI D P and I actions act over the error and the D action over the process variable In this way the output signal tracks set point changes according to the proportional and integral actions but there is no undesired variation due to the derivative action It is the most recommended type for most applications with set point adjustable by the user PID P I and D actions act over the error thus the output signal changes when there are changes in the processes variable or in the set point It is recommended for ratio control or to cascade slave control I PD In this type only the integral action acts over the error The set point changes producing soft Output signal variations It is recommended for a process that cannot have sudden cha
43. allows finding function blocks which have links with the selected parameter from a list It can be launched from Edit menu according to the next figure 3 26 The LogicView for FFB LopicView for FFB ghy E463BCB0D61 File Baale View Ladder Tools Help Select All Tag Matching Find Meta Parameters Meta Parameters Replacement Fig 3 51 Find links option When that option is chosen the following window will appear x Parameter Type Parameters List options Functions FFB C Net l 0 J Show Outputs Function Blocks Parameter T agg E Po fw Show Inputs Grd inte Fig 3 52 Find links window The window s elements are as follows Parameter Type in this box is possible to select the parameter type which will be available for searching function block parameters Functions flexible function block parameters FFB and net I O parameters NetlO Parameters List options it allows selecting if the parameters list will show only the inputs Show Inputs or outputs Show outputs points 3 27 User Manual 3 28 Using the Parameter Type options e By clicking Functions the set of available function block tags will be listed on the window s left side Function Blocks When a function block from this list is selected the tags of its analog points will be listed on the window s right side Parameter Tags e By clicking FFB or NetlO
44. at IN with four reference values LL L H and HH The variable that wil be compared is connected to IN input and the reference signal in the LL L H and HH inputs are added to the values of AGL AGLL AGH and AGHH internal parameters respectively These comparisons will trigger the LLow Low High and HHigh outputs if they are smaller smaller bigger and bigger respectively The State internal parameter indicates if the outputs are normal in 0 and in alarm in 1 or vice versa To avoid oscillation of the output signal when the variable is very close to the reference a hysteresis value can be set by the DBL DBLL DBH and DBHH parameters The block works according to the followiing figure REFERENCE i E IWE sme m Alarm with hysteresis AI SETA QUAD ALARM EN EQ AI SETA HHigh High Low LLow 2 67 Function Blocks MNEM DESCRIPTION TYPE EN INPUT ENABLED BOOL IN INPUT FLOAT LL REFERENCE FOR LOW LOW ALARM FLOAT REFERENCE FOR LOW ALARM FLOAT REFERENCE FOR HIGH ALARM FLOAT Ee HH REFERENCE FOR HIGH HIGH ALARM FLOAT EO OUTPUT ENABLED BOOL Low LOW LOW ALARM OUTPUT BOOL LLow Low LOW ALARM OUTPUT BOOL HIGH ALARM OUTPUT BOOL HHigh HIGH HIGH ALARM OUTPUT BOOL STATE STATE OF ALARM TRIGGER LONG DBLL HYSTERESIS OF LL ALARM FLOAT VALUE ADDED TO THE REFERENCE TO AGLL IGALCULATE THE LL ALARM FERAT HYSTERESIS OF L ALARM FLOAT E N L L H H E O D D FLOAT CALC
45. block and then in Edit Logic The LogicView for FFB will be launched in Instance Mode E HSE Network 1 S HSE Network 1 i HSE HOST 1 BE Controller 1 HSE_NMA_VFD Controller 1 RB 1 E Controller 1 BLK 1 E Controller 1 HC 1 Controller 1 TRDRED 1 d Off Line Characterization Customize Characterization New Trend Define Area Link Parameter Edit User Parameter Tags Delete Block Define Parameters Edit Logic Replace On Line Characterization Attributes Fig 3 11 Editing the logic Instance Mode This operation mode can be identified by a FFB LOGIC Tag at the left bottom of the LogicView for FFB main window See the following figure The LogicView for FFB FFB LOGIC Fig 3 12 Instance Mode identification The FFB block tag which is linked to the instance will appear in the upper left corner of the title bar between LogicView for FFB and the filename that was generated in the Instance mode In this mode the LogicView for FFB will edit only the FFB instance from which the Edit Logic command was processed For this reason operations like New Open or Save As will not be available except for the Save command All ladder logic commands will be allowed The user can create and or modify the discrete logic The FFB on instance mode is a real block thus it is possible to download the logic to the corres
46. drawing all its valid characteristics see bellow Paste use this command to paste the group which was copied or cut When the Paste command is performed the LogicView for FFB will evaluate the conditions to keep the valid characteristics of the elements group that will be inserted on the diagram 1 Paste performed after a Cut In this case will be maintained beyond the drawing all characteristics of the group tags and function blocks links 2 Paste or more after a Cut In this case the behavior will be identical to Paste after a Copy see below Paste after a Copy In this case the drawing will be maintained and the LogicView for FFB can perform some of the changes below as appropriate o Contacts and Coils they are maintained exactly as they were with their associated tags if they exist o Function Blocks links between function blocks and analog output points FFB or NetlO will be removed each output point can only be used once in a function block link o Function Blocks internal links internal links among function blocks will be maintained In this case will be maintained beyond the drawing all characteristics of the group 3 23 User Manual 3 24 IMPORTANT The function blocks tags are changed at each paste command to maintain the uniqueness of the tags The LogicView for FFB automatically redo all connections function blocks because of these changes Example of behavior with function blocks B
47. hybrid logic in conventional logic In other words the logic can be applied usually in an automation plant 3 35 User Manual To perform the replacement operation the LogicView for FFB has the Meta Parameters Replacement option in the Edit menu Logic iew for FFB Controller 1 FFB2 1 80000 File Edit View Ladder Tools Help E Unda bree Reda Grey faut trits Topy Cte Gopy Brewing Paste Cr Select All Find and Replace Find Links Tag Matching Find Meta Parameters Meta Parameters Replacement Markell Remove tell Mark Go To Mest Marked Gell Fig 3 67 Meta parameters replacement option By choosing this option the following window will appear Meta Parameters Replacement g E l x Search options lt Replacement applies to DI Digital Inputs V DO Digital Outputs Only on this diagram Jv Al Analog Inputs M AD Analog Outputs M Matched Parameters M Not matched Parameters f All Diagrams Meta Parameter Type Parameter Type HEOMBA 1 Digital Input m BOMBA Virtual HSAIDA1 Digittal Output SAIDA 1 Hardware Output HINO Analog Input INO FFB Analog Input C HMT_ AQ 0000 Analog Output match not found Total matched elements found 3 Selected replacements 3 Apple Replacements Fig 3 68 Meta parameters replacement window The LogicView for FFB performs the process of tag matching in all meta parameter
48. is the instantaneous voltage and I t is the instantaneous current OUT output and TU parameter The time interval while the output is totalized is according to the value set in TU The OUT output is the totalization value MEM output It stores the totalization value before the last reset HIGH and PHIGH outputs If the totalization becomes greater than or equal to the values configured in TRIP and PTRIP the HIGH and PHIGH outputs are activated respectively CutOff parameter The totalization is not performed if the input flow value is less than or equal to CutOff value FCF parameter The FCF parameter allows the ETOT function block to operate in 4 different modes a IN is FLOAT and represents flow in Engineering Units EU FCF must be equal to 1 to the totalization is done without any EU scale factor or adjust the factor that you wish to use For example The Q flow is measured in m h One hour has 3600 seconds So the TU value must be equal to 3600 Suppose a constant flow of 60 m h The totalization is given by the expression t sec onds C t sec onds t sec onds z IN t dt 60dt f dtim J 3600 60 0 TOT t So after 1 minute or 1 60 hour or 60 seconds the TOT value will be 60 1 TOT m far m 60 Each 1 60 hours or each 1 minute the block totalizes the input and shows this value in the output Since 60 m3 1 hour 1 m3 t time interval when the totalization is displayed
49. is true this function holds the OUT output in true if the input values IN1 to INn are in a decreasing order i e IN1 gt IN2 gt IN3 gt IN4 INn 1 gt INn The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs In case of only two inputs are used IN1 and IN2 this function block performs as a comparison greater than and OUT output becomes true if IN1 gt IN2 If the EN input is false the output is held in zero false It is possible to use this expression to implement conditional blocks that compare two inputs and then make a decision the output state changes to 1 and enables another block GT ee DECREASING SEQUENCE DESCRIPTION TYPE I Input P Parameter O Output 2 75 Function Blocks 2 76 Reduced Decreasing Sequence GTr Description When EN input is true this function block performs as a comparison greater than and OUT output becomes true if IN1 gt IN2 If the EN input is false the output is held in zero false GTr REDUCED DECREASING SEQUENCE CLASS MNEM DESCRIPTION TYPE O I Input P Parameter O Output User Manual Decreasing Monotonic Sequence GTE Description When EN input is true this function holds the OUT output in true if the input values IN1 to INn are disposed in a decreasing monotonic sequence A decreasing monotonic sequence is a sequence of numbers that two adjacent elements are re
50. manual to automatic the PID block will supply as first value in automatic the last manual value plus the proportional term AUTOMATIC MAHUAL OUTPUT ni OUTPUT FE INPUT KP e Anti Saturation by the integral term AWL and AWU Usually the control algorithm automatically stops the contribution of the integral mode when the output signal reaches the 0 or 100 limits Contributions of proportional and derivative modes are not affected A unique characteristic of the algorithm is the possibility to set these limits For example in narrowing those limits through the AWL and AWU parameters we can get faster answers while avoiding overshoot in the heating process 2 121 Function Blocks PID Constants KP TR TD and BIAS KP Proportional Gain TR Integral time in minutes per repeats so the larger is this parameter the shorter is the integral action It can be interpreted as the necessary time to the output to be increased or decreased of the error value Parallel PID keeping it constant TD Derivative time is given in minutes The derivative time is calculated using a false derivation i e an action similar to a lead lag controller in which the lag constant is Alfa TD In this block implementation the Alfa factor is equal to 0 13 BIAS This parameter will allow the adjustment of the initial output value when the control is transferred from manual to automatic This can be done only if the FB input is
51. of detectors If two detectors are tripped the alarm is triggered The alarm is represented by the SR functional block The alarm only is cleared by pushing the Clear_Alarm switch If any smoke detector is ON a LED will light in the control room to warn the operators eh Alarm a Clear Alarm ei Warning Fire Area HNF ji J Control od Room Fig 4 1 Fire Alarm System Starting the project eles Run the System302 and in the Studio302 screen chooses the LogicView icon ke ual A window will appear and the user has to choose New FFB Logic Template The LogicView for FFB will run in template mode Create a new project give a name to it and save the file If the user wants to fill the project information click Smar LogicView in the Hierarchy window and then in the Object Properties window fill the fields This step is optional and can be done at any moment Configuring the Hardware Right click Hardware in the Hierarchy window and then in Hardware Configuration The next window will appear 4 1 User Manual Hardware Configuration FRE MED VED GET EG EEE EE EEE FEY ETE RE FE GRE E GPE EER FEE r Configuration slot DF50 Power Supply Module 90 264V4C Redundant 7 Slot DF62 DFI302 Processor 1x100Mbps 42H1 a Slot Available Slot 3 Available Add Rack Z Bones pack2 Fig 4 2 Configuring the Hardware 1 In the rack 0 already will be the DF50 and the DF62 which are
52. oggi oo002 o0003 ooo04 00005 00006 ogag 00100 00101 000z O0103 00104 nn Ac NAA HA NAA NAA HA NAA NAA NAA Ot Ot Of Ot Off mice Fig 3 101 Changing the Tags search Safe Output Description Import File Export File Just choose in the Parameter Type filter the desired tags type and a list will be updated to reflect the filter choice By double clicking the desired parameter the editing mode will be enabled and thus the tag can be changed The same procedure can be done by clicking the descriptions fields The LogicView for FFB The changes that were done in this editor will affect all logic elements which use those tags in all project diagrams independent of their execution mode even the disabled diagrams will be updated The tags only can have alphanumeric characters and the underscore character The tags also cannot have spaces Invalid characters automatically are not allowed in tags NOTE The virtual variables tags the inputs and outputs tags can have until 16 characters Besides the tags the elements descriptions will be shown in the ladder drawing area There are other important features in Properties Editor which are the Import File and Export File options The tags and descriptions of parameters type I O and Virtual can be exported to a txt file and later they can be manipulated at Microsoft Excel This file can be imported by LogicView for FFB with the Import File
53. or GAP with adaptative gain can be used to solve this problem Example Considered error in percentage for a GAP control with a band equals t 10 SGB 10 and special gain equals to zero SGGAP 0 Gap Control with Special Gain 0 Some processes may require a special gain within the band In such cases it is possible to select a factor at parameter SGGAP which multiplies the error thus making the error to be considered in the EPID calculations to be e SGGAP Thus the control action will be within the GAP faster when SGGAPs1 and slower when SGGAP lt 1 For SGGAP 0 null band the GAP control is not activated User Manual BAND SGB 10 RANGE SGB 10 GAIN IN BAND SGGAP 0 5 GAIN IN BAND SGGAP 2 0 GAP control with Special Gain a Gain lt 1 b Gain gt 1 Anti Reset Windup by integral term AWL and AWH Usually the control algorithm automatically stops the contribution of the integral mode when the output signal reaches the lower or upper limits configured through the AWL and AWH parameters Contributions of the proportional and derivative modes are not affected The special feature of this block s algorithm is the option of adjustment of those limits When the AWH limit is greater than OUTH limit the OUT output is kept in the OUTH value but internally the algorithm continues the integral calculation up to AWH limit The user may avoid this case configuring the AWH limit to a value les
54. output or in the DMV input Selecting the DMV input format parameter PERC PERC false the DMV input value is given in percentage 0 100 PERC true the DMV input value is given in 0 10000 format Valves opening time VOT This parameter must be adjusted with the approximated time that is necessary to open totally the valve or close it totally Minimum Pulse Width WPL The user should configure the minimum pulse width per 0 1 seconds through the WPL parameter and the time for total excursion of the control element Control Type CTRL The user has to select the control type i e ON_OFF or ON_None_OFF e ON_OFF Control CTRL 1 In this control mode the block compares the DMV input with the ON_T and OFF_T parameters Ifthe DMV input is greater than ON_T the ON output is ON true and the OFF output is OFF false Ifthe DMV input is less than OFF_T the ON output is OFF false and the OFF output is ON true Ifthe DMV input value is between OFF_T and ON_T the ON and OFF outputs will assume the last state e ON None_OFF control CTRL 0 A PID that has only the proportional action with gain KP 1 and VOT equal to 1 minute Suppose that in the instant t O a step with error of 25 is applied Thus the valve opening is 25 of 1 minute or 0 25 TR 15 seconds The figure below shows this example ea tisegundas PID QUT Toe 400 ti segundos STP OUT OH l l 0 li Kaepundos 2 129 Functi
55. ready When Sync Time equal Scan Time the controllers are being synchronized each execution cycle In item Options menu Tools it is possible for user to decide if will be showed either alternatively only Scan Time or only Sync Time e Device shows from which device is requested the scan time E g Device Model DF62 SN 100 e Ladder Status indicates if the ladder is running Running if it is stopped Stopped or if is in Standby This last status indicates that the CPU is a secondary of the redundant pair e Ladder indicates which ladder is being visualized e Cell indicates in which cell is the cursor is The information about the Scan Time and the ladder execution can be obtained direct in the Status bar When the user tries to connect a device and it is not found the Scan time and the Ladder Status in the Status bar will be N A Not 3 115 User Manual 3 116 Chapter 4 LADDER LOGIC EXAMPLE WITH LOGICVIEW FOR FFB Process Description The next figure is a ladder logic example of a part of a fire warning system The Fire Area is monitored by three smoke detectors SENSOR1 SENSOR2 and SENSORS There is also a manual switch SW1 which can be used to trigger the alarm Some smoke detectors can be unreliable and can erroneously indicate the presence of fire To prevent false alarms the system only triggers the alarm if two or more detectors are tripped It is possible by simply checking for the various combinations
56. represented by each digital input Prm 0 AND Function The logic function AND for two inputs IN1 and IN2 has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below Prm 1 Function OR The logic function OR for two inputs IN1 and IN2 has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below Prm 2 Function XOR The logic function XOR for two inputs IN1 and IN2 has the OUT output given by the Boolean expression OUT INIIN2 INIIN2 This will result in a state table as shown below Prm 3 Function NAND This function associates the AND and NOT functions So the logic output is the inverted AND logic function Prm 4 Function NOR This function associates the OR and NOT functions So the logic output is the inverted OR logic function Prm 5 Function NXOR This function associates the AND and XOR functions So the logic output is the inverted XOR logic function 2 33 Function Blocks The BWL1 block allows expansion up to 14 inputs In the table below we present the logic functions for more than 2 inputs and their respective outputs INPUTS OUTPUTS If the EN input is false the output is held in zero false If the Prm value is greater than 5 the EO and OUT outputs will be zero false BWL1 BITWISE LOGIC 1 DESCRIPTION E
57. selected group does not have enough space For the selected TAG IF vou accept the addresses of the groups below it will be changed to Fix it Cancel Fig 3 97 Group does not have enough space Clicking Ok the addresses will be reordered and clicking Cancel the operation is canceled The groups can be removed however all elements associated to these groups will be without addresses that is with empty addresses To remove a group just select it and click Remove See the next figure ModBus Address Grouping Selection Group Start Address A i End Address D escription 10001 10040 i 1 a fron 1008 Li a Add Remove caledi TAG OF Cancel Fig 3 98 Removing groups A warning message will appear to confirm the operation See the next figure LopicView for FFB 1 Removing this group affects the TAGs assigned to it Are vou sure thak you want to do this Cancel Fig 3 99 Warning Removing groups The addresses associated to a group can be changed however this implicates that the addresses of subsequent groups will change too A warning message will appear asking the user to confirm the operation 3 51 User Manual 3 52 LopicView for FFB A Modifying the address of this group implies in the modification of the groups below it Ore you sure that you wank to da this Cancel Fig 3 100 Warning Modifying a group address e When hardwa
58. the LogicView for FFB See the next example smar LogicView Programs Esl Untitled dk Contacts x Coils x OUTI 2 t gt OUT2 lt gt QUTI 6 Controllers g Bridge 1 Hardware 3 Z Virtuals 6 Network I O FF Block Definition Fig 3 23 Ladder evaluation example In DF65 OUT2 will be activated after IN2 is activated because the ladder execution sequence is by column In the new controllers OUT2 will be activated after IN1 is activated because the ladder execution is by row 3 13 User Manual Acknowledging the work area When the LogicView for FFB is opened in Template Mode or Instance Mode the window below will open In this example a simple ladder logic is already configured LogicView for FFB FFB2_1_Controller 1 8000018501_000101 pgi 1 File Edit view Ladder Tools Help el tmel o ar we BBs Elg ao K Time Puise Process Data x Mathi Compatson Elemenis Communications ee 2 8 Ea in ha loi lee oe 30 ga e gi i mi S eb er Ga OF 32 zi fel x ms E c D E F Object Properties Ex ia ix smar Logic iew TAG FFB2_1_Controlle A Eppe TAG00105 l Property Name Property Value Programs Name Ladder 4 EB Untitled 1 a E O Ladder 0 D a D 4 Execution TRUE A 1 Ladder 1 jJ i E 2 Ladder 2 z MAD OA Tasos TTT Al 3 Ladder 3 Bl 4 Ladder 4 2 i E
59. the generation In case Segm is configured also have to be considered in which segment will be the initial value that is configured at SEGM parameter That is at IN always will be the initial value that may be time or an engineering unit value If Time Value or Segm are not configured they will be None the generation will start at time 0s 2 125 Function Blocks CLASS MNEM DESCRIPTION TYPE BLOCK INPUT THAT DEFINES THE CURVES WO E FLOAT INPUT VALUE COMPARED WITH THE OUTPUT TO BKIN CALCULATE THE DEVIATION FLOAT ELAPSED TIME SINCE THE BEGINNING OF TM_PS CURRENT STEP SECONDS FLOAT ELAPSED TIME SINCE THE BEGINNING OF CURVE TMT ES FLOAT OUT BLOCK OUTPUT FLOAT E a ha aia VAL INITIAL VALUE 1 FLOAT VAL2 INITIAL VALUE 2 FLOAT r SSG a Eo VALIO INITIAL VALUE 10 FLOAT VAL11 FINAL VALUE FLOAT DURI _ TIME OF FIRST SEGMENT FLOAT TIME OF SECOND SEGMENT FLOAT es ee SEGM amis WHICH SEGMENT THE CURVE WILL LONG ADEV MAXIMUM DEVIATION ALLOWED PERCENTAGE FLOAT I Input P Parameter O Output 2 126 User Manual Sample Hold with Up and Down SMPL Description This function block when EN is true samples the value of the IN input and places it in a register when the PASS input changes from true to false The register value can be increased or decreased using the UP and DOWN inputs The speed of this increment or decrement is defined by the ASPD parameter This block may be used with
60. the message box above means Yes Sim by clicking it the changes will be confirmed and the FFB will be modified according to the user operations No Nao by clicking it the message box is closed and the user can continue the editing Cancel Cancelar by clicking it any changes are discarded and the tool is closed A Modifying a FFB already defined When the user modifies a FFB which was previously defined and it was used in a control strategy the block may be deleted during a download process creating inconsistencies in the plant It is recommended do a complete download in the bridge or gateway which has modified the FFB Template Mode A FFB Template is another way to work with flexible function block and that allows its reuse in different configurations A FFB template is a model of flexible function block that can be reused in different fieldbus configurations Since it is only a model a FFB Template CANNOT be transferred via download to a linking device The main technical characteristic of FFB Template is it DOES NOT HAVE Device Descriptor information However this characteristic contributes to the flexibility and reuse of the block in its applications The procedure to launch the LogicView for FFB in FFB Templates editing mode is to click the LogicView icon in the toolbar or the Tasks item of Studio302 See the figure 3 5 Another way is from Studio302 Logics window right clicking New Logic Template option Th
61. the operation mode AUTO DEMAND In this mode the ETOT function block is restarted through a true value on the RST input or when the totalization value reaches the TRIP value DEMAND In this mode the ETOT function block is restarted through the RST input ETOT ENHANCED TOTALIZATION RST HIGH CLASS MNEM DESCRIPTION TYPE ice ALARM WHICH INDICATES WHEN THE Le TOTALIZATION REACHES THE TRIP VALUE 2 111 Function Blocks Sucy ALARM WHICH INDICATES WHEN THE TOTALIZATION REACHES THE PTRIP VALUE STORES THE TOTALIZATION VALUE WHEN OCCURS A RESET BOOL TOTALIZED OUTPUT FLOAT TOTALIZATION VALUE FOR ONE UNITY OF COUNTING paged FACTOR OF FLOW RATE FLOAT INDICATES THE OPERATION MODE IF THE RESET OpMode_ IS ON DEMAND OR WHEN REACHES THE TRIP FLOAT P VALUE TRIP VALUE THAT GENERATES THE HIGH ALARM FLOAT PTRIP VALUE THAT GENERATES THE PHIGH ALARM FLOAT IF THE IN INPUT IS LESS THAN THIS VALUE THE CutOff OUTPUT DOES NOT TOTALIZE FLOAT 2 112 User Manual Linearization LIN Description When EN is true this block simulates a function using a table of points coordinates x y Intermediate values are calculated using the linear interpolation method Each block can implement curves with up to 10 points if is need more points just arrange others blocks LIN in series to obtain the necessaries curves The user should set a table of points X and Y pairs which represent the function At each value in the Xn input
62. the time elapsed since the beginning of the current step TM_PT Informs the time elapsed since the beginning of the curve When the end of the cycle is reached the END output goes to true and keeps in this state until the timer s reset If the AT_CY parameter is true the cycle is continually repeated until the timer is reset or paused The time scale Seconds minutes or hours is configured through the TIME parameter The TRK parameter indicates to the timer if it will start from table s beginning None from a specific time value Time or from a specific value of engineering unit Value If Time or Value is configured the beginning is defined in the IN input Through the TIME parameter the time scale is configured in seconds minutes or hours The TRK parameter indicates to timer if it will start from the beginning of the table None from a specific time value Time or from a specific value in engineering units Value or Segm In case of Value it will start from the first point found in the curve independent of the segment In case of Segm it will start from a specific value in engineering unit inside a specific segment if it was defined in SEGM parameter In case of Time Value or Segm is configured the initial value is defined in the IN input If Time is configured at IN will be the time initial value that will start the generation If Value or Segm is configured at IN will be the initial curve value that will start
63. true At this moment the Q output comes back to false If the EN input is false all outputs are held in zero false Internal CV Counter Every time an ascending transition occurs in the block input the CV is increased by one unit When the internal count reaches the value defined in PV the Q output changes to true RS Reset If the RS input is true the counter will be cleared While RS is true the counting is held CUP PULSE UP COUNTER CLASS MNEM DESCRIPTION TYPE TE ENABLED IN PULSE INPUT Bo Eok RESET a BE eee VALUE OMe Q BLOCK OUTPUT o BOOL a I Input P Parameter O Output User Manual Reduced Pulse Up Counter CUPr This function block works exactly like the CUP block but it does not have the EN input and the EO output CUPr REDUCED PULSE UP COUNTER MNEM DESCRIPTION TYPE Q BLOCK OUTPUT BOO O O I Input P Parameter O Output 2 15 Function Blocks 2 16 Reduced Pulse Up Counter 2 CTUr Description The CTUr function counts the transitions from 0 false to 1 true When the EN input is true this function counts false to true logic state transitions in the IN input and increases the CV value When CV reaches the value defined in PV the Q output changes to true and stays there until the EN input goes to false At this moment the Q output comes back to false If the EN input is false all outputs are held in zero false Internal Counter CV Every time an a
64. user has to run the Syscon and from there after the logic is edited the LogicView for FFB will be executed ff HSE Network 1 E E HSE Network 1 HSE HOST 1 I eal E Controller 1 RB 1 H E Controller 1 BLK 1 E Controller 1 HC 1 H Controller 1 TRORED 1 G EL co OFF Line Characterization Customize Characterization New Trend Define Area Link Parameter Edit User Parameter Tags l Delete Block Define Parameter T Edit Logic Replace On Line Characterization Attributes Fig 3 7 Editing the logic Instance Mode Instance Mode Typically the access to LogicView for FFB for creation or modification of discrete logic of flexible function block FFB will be done from a FFB instance created by Syscon as shown in the next figure A FFB Instance can be considered as real block that can be transferred via download to a linking device The instance HAS Device Descriptor information and for this reason is EXCLUSIVE for the configuration that contains this block The LogicView for FFB ly HSE Network E Eva HSE Network 4 Upstream pork 1 Macro Cycle 130 ms HSE HOST 0001 Main Fieldbus HSE Network Root ky DAZ DF6Z 8000016501_000101 Upstream port 5 Block 28 Resource Block 2 Black 29 4 Transducer Block 30 Diagnostics Transducer BREW re 1131 FFE 1131 Control Module 1 Fig 3 8 FFB Block in Syscon After
65. will be configured with the DF73 and vice versa If the user tries to insert some module which does not be a CPU the next message will appear LogicView for FFB fx Fig 3 171 Error Inserting modules in the Rack Z 2 When the user starts a LogicView for FFB project the Rack Z is created but it is empty In a new LogicView for FFB project the Rack 0 has the slots 0 and 1 occupied In the slot O there will be the power supply DF50 and in the slot 1 there will be the controller The slots 0 and 1 only can be configured with a power supply and a controller respectively in this case which the Rack Z is not being used The Rack 0 slots 2 and 3 and all slots of the racks 1 to 15 3 88 The LogicView for FFB can be configured which any module type except controllers If the user tries to insert some controller the next message will appear LopicView for FFB Fig 3 172 Error Inserting CPU in wrong slot If the work is being done on Template mode the controller type DF62 DF63 DF73 DF75 DF 79 DF81 DF89 DF95 or DF97 can be changed This choice will depend on the user application If the Instance mode is being used the controller is already configured by Syscon and in this case it cannot be changed LopicView for FFB Fig 3 173 Error Changing the CPU in the Instance Mode The Rack Z can be removed by clicking the Remove Rack Z button Automatically the power supplies which were in the
66. x gt x gt x gt E virtuals FF Block Definition J 4H 4 10 lt gt Fig 4 5 Drawing the Ladder Logic Note that when the elements are inserted they appear in the Hierarchy window The next step is to define the tags and select the parameters To better visualization and comprehension of the ladder edit the coils and contacts tags Go to the Tools menu and choose the Tags editor option The next window will appear Properties Editor Element Type RealYariables C Virtual Variables Function Blocks FFB Keyword a Search 1 0 Types Tag Direction Device Channel Safe Output Descrip A SENSORI Input DF11 00200 NAA SENSOR2 Input DF11 00201 N A SENSOR3 Input DF11 00202 NAA TAG00203 Input DF11 00203 N A TAGO0204 Input DF11 00204 N A TAGO0205 Input DF11 00205 N A TAGO0206 Input DF11 00206 N A TAGOO207 Input DF11 00207 N A TAGO0210 Input DF11 00210 NAA TAGO0211 Input DF11 00211 N A TAGOO212 Input DF11 00212 N A TAGO0213 Input DF11 00213 N A TAGOO214 DF11 00214 NAA TACAN comme ob mrad nna co KIJA Fig 4 6 Editing the Tags Double click TAG00200 and the editing mode will be enabled Write SENSOR1 Repeat the procedure to the following tags 4 3 User Manual TAG00201 SENSOR2 TAG00202 SENSORS TAG00300 SW1 TAGO0301 CLEAR_ALARM TAGO1000 ALARM TAGO1001 FIRE_WARNING V0000 EO Now is necessary associate the hardware elements and their respective tags with the l
67. 00 Error to be considered in the APID calculation QUADRATIC ERROR 400 LINEAR NORMAL QUADRATIC l T T a d 100 j KA LINEAR 7 ERROR Quadratic Error x Normal Error GAP Control SGB and SGGAP There are applications which the control is unstable near the set point due to actuator dead band noise or other reasons In this case it is advisable to have a controller with a differentiated action around the set point The GAP control or GAP with adaptative gain can be used to solve this problem Example Considered error for a GAP control with a band equals t 10 SGB 10 and special gain equals to zero SGGAP 0 Gap Control with Special Gain 0 Some processes may require a special gain within the band In such cases it is possible to select a factor at parameter SGGAP which multiplies the error thus making the error to be considered in the APID calculations to be e SGGAP Thus the control action will be within the GAP faster when SGGAPs1 and slower when SGGAP lt 1 For SGGAP 0 null band the GAP control is not activated User Manual BAND SGB 10 RANGE SGB 10 GAIN IN BAND SGGAP 0 5 GAIN IN BAND SGGAP 2 0 GAP control with Special Gain a Gain lt 1 b Gain gt 1 Control with Adaptative Gain INVAG ADAPG Coordinates X Y The adaptative gain modifies the PID constants by a factor G This factor G follows a curve of 10
68. 000 0004 Descricao do parametro e o e e e e e e e l a a m a a a a e a a e a e e e e e e e e a a a la a a a e a e a i e e e i e e a o a a o l a a a a e a o e e e a e e e o e e o a l o a a e e i e e e e e e e o a e e e o m h a o a a a u a e a o AND0 OUT_D_o N Da n ee ee ee ee OUTDO F Fig 3 112 Importing a logic This window shows the logic libraries that are available in your workstation When a library is selected its logics will be shown Some library management options are available e Add Library creates a new logic library empty e Delete Library remove a logic library e Delete Logic remove the selected logic When a library or a logic is removed a confirmation message similar to the following figure will appear 3 59 User Manual Logic iew for FFB E xi A The selected library 4 will be DELETED Are vou sure Fig 3 113 Confirmation message the library will be deleted The user can also rename the libraries and logics as well as their descriptions After to perform the changes is necessary to click Save Changes button to effect the operations editing creation or removing of libraries and or logics A confirmation message similar to the following figure will appear Logic iew for FFE ES All changes will be saved This operation cannot be undone Ore You sure Fig 3 114 Confirmation message saving the changes Importing a logic of library to Lo
69. 2 Groups of 4 NO Relays Outputs DF26 2 Groups of 4 NC Relays Outputs DF27 1 Group of 4 NO and 4 NC Relay Outputs DF28 2 Groups of 8 NO Relays Outputs DF29 2 Groups of 4 NO Relays Outputs vithout AC Protection DF30 2 Groups of 4 NC Relays Outputs Without AC Protection 1 Group of 4 NO and 4 NC Relay Outputs ithout AC Protection 1 Group of 8 24VOC Inputs and 1 Group of 4 NO Relays bal Fig 3 176 Configuring the Hardware Choose which modules are needed in this application click them and they will be automatically set in the rack Click OK The racks occupation can be seen in the Hierarchy window See the next figure Hierarchy smar LogicView Programs 6 Controllers amp Bridge 1 9 Rack z i o DFS50 1 DF50 2 DF62 I 3 DF62 W Rack o f 0 DF20 1 DF24 f 2 Available f 3 Available E Rack 1 E Rack 2 B Virtuals 6 Network I O FF Block Definition Fig 3 177 Racks occupation The user can copy the rack s configuration and paste it in another rack For this the user has to right click the source rack and chooses Copy Configuration To paste the copied configuration just go to the target rack and choose Paste Configuration If there were any configuration in the target place the LogicView for FFB will replace it with the new one 3 90 The LogicView for FFB smar LogicView 8 Programs amp Untitled FA O La
70. 20 o0001 HA T amp Gooo02 Input DF20 oo002 HA TAGOO003 Input DF20 o0003 HA TA amp GO0004 Input DF20 o0004 HA T amp GO0005 Input DF20 0000s HA TAGOOO0E Input DF20 o0006 HA TA amp GoOo00F Input DF20 0o07 HA T amp GO0100 Output DF28 00100 Off TAGOOIO1 Output DF28 00101 Off TAGOOIO2 Output DF28 O01 02 Off TAG00T03 Output DF28 00103 Off TAGOO 04 Output DF28 00104 Off TAT nni nc lke ok nea nn Ac mice T Do Not Show Status Fig 3 49 Selecting a parameter After selecting the tag the software will return to the Find and Replace window and the user can replace the tag clicking Replace for one element or Replace All for all elements of the same type To canceling the command click Cancel The user may choose the searching direction Up or Down and if the searching will be only in the selected net Only in this net When the user chooses the Log results option in the Output window will appear a list informing the cells which the chosen tag was found See the example in the figure below l Searching for SENSOR1 gt SENSOR1 found gt SENSOR1 found Soa SENSOR found 3 occurrence ss of SENSORI Have heen found Fig 3 50 List informing the cells which the chosen tag was found e The Find and Replace commands distinguish lower case and upper case and whole words e The Undo and Redo commands only act on the insertion and removal of ladder elements Find Links this option
71. 3 IN4 IN5 IN6 IN7 IN8 IN9 INTO IN11 IN12 IN13 IN14 0 OUT oe W N_IN I Input P Parameter O Output 2 38 User Manual Reduced Bitwise Logic 2 BWL2r Description This function allows implementation of the logic functions using a function block Six different function blocks can be set AND NAND OR NOR XOR and NXOR The user chooses the type of logic operation during the BWL2r block setting and this block will perform this logic function The block does the operations among the bits which are represented by the two digital inputs Prm 0 Function AND The logic function AND for the IN1 and IN2 inputs has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below IN1 BIT17 BIT16 BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 IN2 BIT27 BIT26 BIT25 BIT24 BIT23 BIT22 BIT21 BIT20 OUT BIT17ANDBIT27 cccccccceceeeeeeeseeeees BIT10ANDBIT20 Example IN1 00001111 IN2 11110000 OUT 00000000 PRM 1 Function OR The logic function OR for the IN1 and IN2 inputs has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below IN1 BIT17 BIT16 BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 IN2 BIT27 BIT26 BIT25 BIT24 BIT23 BIT22 BIT21 BIT20 OUTS BIT17ORBIT27 sg icedcvodeeein cess BIT10ORBIT20 Example IN1 00001111 IN2 11110000 OUT 11111111 Prm 2 Functio
72. 3Wires 5 Otoio0 o0 100 3Wirs 52 Oto 400 O0 400 3Wires 53 Oto2000 O0 2000 Table 3 2 Sensor Classes foots Q 9 9 9 9 9 9 3 3 3 3 3 ala alalajalalal aiajaja aiaiai The range can be configured within the maximum range specified in the table These values will be used in Burnout 3 102 The LogicView for FFB HART modules configuration The available HART modules are DF116 input and DF117 output After inserting them as described above they have to be configured Right click the module to open its configuration window Select the Edit Analog Modules option and then Edit Module Inputs for DF116 or Edit Module Outputs for DF117 The following window will open HART XMTR VAR CODE Select Channel Channel 0 Fry 250 Bi SV 250 TY 250 Ti Ov 250 me Safe Behavior Hot Used EU Q O Appl channel settings to other channels Cancel Download Fig 3 198 Configuring the HART modules So the module configuration can be changed Each module has 8 channels One device can be connected per channel Select the desired channel with the Select Channel option The standard configuration is showed on the figure above For each device the respective VAR_CODES of the PV SV TV QV 5V 6V 7V and 8V variables can be configured The valid values are from 0 to 255 The block engineering unit corresponding to current value can be changed as follows e Eng Unit 0
73. 5 User Manual Cancel Fig 3 27 Saving FFB Templates If the user tries to give an existent tag to the template the following message will appear The user has to choose another one LopicView for FFB A The Tag kid already exists and cannot be used Fig 3 28 Tag already exists NOTE The Save As option is available only for FFB Templates Create Template This option is used to create an instance s template and replicate it in any other CPU regardless of CPU type defined in the original instance Clicking this option the following message will appear LopicView for FFB Py In order to save this Logic as a Template the changes below will be necessary a WetlO and FFB points on the logic will be turned into meta parameters IMPORTANT CHANGES WILL BE APPLIED ONLY ON THE GENERATED TEMPLATE Do you want to continue Sim Hao Fig 3 29 Confirming the template s creation The user is informed that all NetlO and FFB points which are dependent of CPU model will be turned into metaparameters And then the user has to give a tag to the template Automatically it is created and the original instance remains open This new template can be accessed via Studio302 Logics window 3 16 The LogicView for FFB e Studio302 Site Smar Current Database System302 Logged as angelo_roncali mA Fie Settings Tools Window Help R LE MDO BHRMPESQAAee A Smar E _ Areas
74. 62 and DF63 controllers working exactly as for other controllers However they need a specific firmware as both the DF62 and DF63 can also have their Modbus functions working via function blocks of Syscon The two ways are mutually exclusive the firmware defines which mode the controller works Modbus Address In this option Tools Options ModBus Address the user can choose the Modbus addressing mode The default option is Automatic If the user is in Automatic mode and changes to Manual the LogicView for FFB keeps the addresses generated by the Automatic mode but they can be changed in according to the application needs Properties _ General __ Interface _ Connections ModBus Address Assignment Fig 3 87 Configuring the Modbus Addressing Changing from Manual to Automatic the registered addresses in the previous mode will be lost and will be in the Automatic mode standard The user will be warned by the following message LopicView for FFB 1 J Changing to AUTOMATIC ModBus generation will lost all ModBus assignment Are you sure khat you want to do this Fig 3 88 Changing the Modbus Addressing from Manual to Automatic 3 47 User Manual In the following table are the Modbus addresses ranges which are used for each element type The analog values FLOAT or LONG with 4 bytes use two consecutive Modbus addresses Item Initial address End Address NetlO DO Value 1 1024 Output FFB_DI D
75. All elements with the former tag will be automatically updated with the new tag e Assign variable YYYYY to the selected Contact Coil If LogicView for FFB finds a parameter with the same tag typed by user which is compatible with the edited discrete element contact or coil this option will associate this parameter to the contact or coil of ladder e Create a new Virtual variable with Tag YYYYY This option will create a virtual parameter and then associate it to a discrete element of ladder contact or coil which is being edited This new virtual parameter will be inserted in the virtual tags list and can be seen at Tools gt Properties Editor gt Virtual e Create a new Meta Parameter with Tag YYYYY This option will create a meta parameter and then associate it to a discrete element of ladder which is being edited When the previous figure appears LogicView for FFB will automatically disable the options which are not compatible and or are not available at the moment for example the options 1 and 2 are mutually exclusive i e whenever a parameter with the tag typed by the user already exists it is not possible only to rename the tag the only available option is to assign a contact or coil to the existing variable To select an option just click the desired item or type the corresponding number of the option on the keyboard 1 to 4 To cancel the operation option 4 you can press ESC If the tag typed by the user belongs to
76. BLOCK OUTPUT BOOL I Input P Parameter O Output User Manual Off Delay Timer TOF Description When the EN input is true this function holds the true state of the IN input in the Q output for a time period previously defined after the IN input changes to false The time period is defined in PT parameter and its unit is milliseconds If IN changes to true before Q goes to false Q will stay on true state and the time period will start again in the moment that IN goes to false If the EN input is false all outputs are held in zero false PT Input The PT input can be connected to a function block output a FFB or a fixed value TOF OFF DELAY TIMER CLASS MNEM DESCRIPTION TYPE oQ BLOCK OUTPUT BOO I Input P Parameter O Output Off Delay Timer Function Timing diagrams n OT boo t0 t1 2 B t t5 Q Pp t0 t1 PT t2 t5 PT PT ET 0 t0 t1 2 t5 2 23 Function Blocks Reduced Off Delay Timer TOFr This function block works exactly like the TOF block but it does not have the EN input and the EO output TOFr REDUCED OFF DELAY TIMER CLASS MNEM DESCRIPTION TYPE MEO BLOCKOUTPUT BOO I Input P Parameter O Output 2 24 User Manual On Delay Timer TON Description When the EN input is true this function causes a delay in the false to true transition in the Q output for a specific time interval previously defined after the IN input changes to true The time i
77. Database This information is saved on Database by the Save command of Syscon after the commissioning Otherwise the following message will appear LopicView for FFB Database has returned DeyvID 1 and Serial Number 1 Please in Syscon go online tif cou is nok commissioned make it and save the configuration ATTENTION If the LogicView for FFB sends an error message about failure when connecting to controller follow the steps below to analyze this condition 1 Use the FBTools to try a connection to controller 2 On DOS prompt Use the ping command to verify the connection with the controller Use the netstat n command The answer should be TCP ip_pc 4988 ip_df random_port ESTABLISHED Probably one of these two conditions will fail In this case the possible causes of failure are 1 Wrong IP configuration on Server Manager Check on Settings Network General 2 Firewall or antivirus are blocking the connection between the controller and computer Disabling them the connection is established 3 Difference in configuration of the subnet mask of the network cards Usually it is set to 255 255 255 0 Both the computer as the controller the mask should have the same configuration to establish the connection To verify this configuration on computer at DOS prompt use ipconfig command On controller use the FBTools or the webserver For further information refer to DFI302 manual Downloading the configuration Fie T
78. E DEFINES THE ALGORITHM TYPE USED BOOL JJ u U OIQIQOJO O JOJOJO a La Laa Laa SEC AM SEC_V OlIOl gt r D gt AIS gt gt CIC E J U 2 5 2 108 User Manual DEFINES THE ACTION TYPE DIRECT REVERSE BOOL DEFINES THE TRANSFERENCE TYPE FROM AUTOMATIC TO TRS ANGE LONG CLIM DEFINES IF OUTL AND OUTH LIMITS ARE VALID FOR AUTO MAN LONG MODES OR ONLY FOR AUTO LONG FLOAT FLOAT FLOAT FLOAT FLOAT BAND GAP TO BE CONSIDERED TO GAP CONTROL FLOAT FLOAT LONG FLOAT FLOAT FLOAT ACTUATION TIME OF PI SAMPLING FLOAT LONG FLOAT FLOAT LONG LONG FLOAT FLOAT O Z 2 109 Function Blocks 2 110 Enhanced TOT ETOT Description This block gives the input totalization This totalization is the integral of the input times a scale factor FCF that allows the user to configure the totalization in 3 different operation modes If the application requires the computing of instantaneous totalized volume use the ETOT function block to accomplish this task The time basis of this calculation is seconds The flow generally is given in Engineering Units EU by units of time For example A 1 m s flow as input of the ETOT function block will have as output volume in m Suppose the application needs the energy value of an electrical device The ETOT block allows calculating the value of this energy by the instantaneous power expression 3 Energy Pot s at and Pot t V t I t where V t
79. E INPUT CONNECTED TO FB PASS TO THE FLOAT OUT OUTPUT SEC V IF SEC IS TRUE THE INPUT CONNECTED TO SEC_V WILL PASS FLOAT _ TO THE OUT OUTPUT EXTERNAL VARIABLE TO DETERMINE THE ADAPTATIVE GAIN FLOAT PO processvaRABLE FONG PROCESS VARIABLE SAA THE TRANSFERENCE TYPE FROM AUTOMATIC TO LONG CLIM DEFINES IF AWL AND AWH LIMITS ARE VALID FOR AUTO MAN LONG MODES OR ONLY FOR AUTO 2 98 User Manual FLOAT FLOAT FLOAT LONG FLOAT FLOAT LONG LONG FLOAT FLOAT LONG LONG FLOAT FLOAT LONG LONG FLOAT FLOAT FLOAT Y COORDINATES FOR CURVE OF ADAPTATIVE GAIN FLOAT I Input P Parameter O Output 2 99 Function Blocks 2 100 Automatic Up and Down Ramp ARAMP Description This function when EN is true increases or decreases the OUT output in a linear way based on a pre established time interval This function block may be used to create a time database to an automatic set point generator when it is used together with the linearization block or a simple ramp In a set point application the ARAMP block is prepared to generate a O to 100 output in a time interval which tracking the set point curve The ARAMP output will be connected to the input of the LIN function linearization set with a set point profile curve Selecting the IN input and the OUT output formats PERC parameter PERC false the IN input and the OUT output values are given in percentage 0 100 PERC true the
80. ENABLED BOOL MAXIMUM INPUT VALUE FLOAT I Input P Parameter O Output User Manual Reduced Maximum MAXr Description This function when EN is true selects the maximum value of the IN1 and IN2 inputs and places it in the OUT output If the EN input is false the output is held in zero false MAXr REDUCED MAXIMUM CLASS MNEM DESCRIPTION TYPE O I Input P Parameter O Output 2 87 Function Blocks Minimum MIN Description This function when EN is true selects the minimum value of the used inputs IN1 to INn and places it in the OUT output The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs Operation Suppose we have 4 inputs and their values are IN1 5 899 IN2 7 9000 IN3 10 899 IN4 23 90 The output generated by the MIN function bock will be IN1 or 5 899 If the EN input is false the output is held in zero false MIN MINIMUM DESCRIPTION TYPE FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT I Input P Parameter O Output 2 88 User Manual Reduced Minimum MINr Description This function when EN is true selects the minimum value of the IN1 and IN2 inputs and places it in the OUT output If the EN input is false the output is held in zero false MINr REDUCED MINIMUM DESCRIPTION l I Input P Parameter O Output 2 89 Function Blocks Process Control Functions 2 90
81. F67 Their functioning is similar to THR of ACC block CLRA Input Every time there is a transition in the CLRA input from zero to one TOT outputs are cleared and their respective values are transferred to the MEM outputs ACC_N PULSE ACCUMULATOR CLRA THRI 2 139 Function Blocks 2 140 CLASS MNEM DESCRIPTION TYPE THAT ARE TRANSFERRED TO MEMI THAT ARE TRANSFERRED TO MEM2 THAT ARE TRANSFERRED TO MEM3 THAT ARE TRANSFERRED TO MEM4 P I Input P Parameter O Output User Manual Simple Analog Input Al Description This function block when EN is true reads the analog input module s value associated with CN channel and places it in the OUT output Besides the block has some more features The CN input has to be RRSGP type where R rack S slot G group and P point Filter s Characteristic Time K1 The K1 parameter is the filters characteristic time in seconds Consider a step input When the output signal reaches 63 of the step value the time measured until this moment is defined as characteristic time Fitter Time Square Root If the SQR parameter is TRUE the block calculates the square root of analog input value If the input is negative the output Is zero With SQR in TRUE if MUL parameter is TRUE the following equation is applied OUT 10 IN If the analog input has a value less than the specified value in the CTO parameter the output will receive a value equals to ze
82. FB is online to download only the scales if they were changed A configuration download of the all modules of the same type will be done and not only of the module which was changed Analog output module The available analog output module is the DF46 After inserting it as described previously it has to be configured With a right click the module open the module s configuration window by selecting the options Edit Analog Modules and then Edit Module Outputs See the next figure The LogicView for FFB maF Logicview H Programs amp Controllers es Hardware FA Rack z A Rack o Rack 1 f oO DF45 j Copy Module goa Pas PENEAN virtuals 68 Network I S FF Block Definition Edit Analog Modules Edit Module Outputs Fig 3 190 Configuring the analog output module The window of the next figure will appear and there the module configuration can be changed Each channel or point has a configuration independent from the other four ones Select the desired channe through the option Select Channel The default configuration for all channels is showed in the figure below Select Analog Module Outputs Select Channel Channel 0 Set Parameters Values Voltage Output M 1 to Gy Dip Switch Off Voltage Output i Dip Switch On Curent Output m Range Scale EU UO Apply channel settings to other channels Cancel Download Fig 3 191 Ch
83. HR HOUR O I Input P Parameter O Output 2 19 Function Blocks IMPORTANT 1 The RTC Real Time Clock of the controller in which the RTA will be executed must be configured according to the official local time The RTC of the DFI302 controller can be configured manually via Batch Download option of FBTools and when available automatically kept synchronized via SNTP For futher information refer to the FBTools help and Server Manager appendix in the Studio302 manual respectively The user has to take care with the changes at the beginning and end of daylight saving time The important thing is when changing the time for ahead or back you must do the same change in the controller 2 20 User Manual Set Reset SR Description When EN input is true this function block works in this way If the S input is true the Q output goes to true If the R input is true Q goes to false If the two inputs are true Q is held in true If the EN input is false all outputs are held in zero false SR SET RESET CLASS MNEM DESCRIPTION INPUT ENABLED SET R BLOCK RESET O OUTPUT ENABLED Q IBLOCK OUTPUT I Input P Parameter O Output 2 21 Function Blocks 2 22 Reduced Set Reset SRr Description This function block works exactly like the SR block but it does not have the EN input and the EO output SRr REDUCED SET RESET MNEM DESCRIPTION TYPE BOOL R BLOCK RESET BOOL Q
84. I64 Value Status Al Al16 status 11536 Input FFB_DO DO64 Value Status AO AO16 status 1536 Output FFB_AI Al64 Value 30001 30511 Input NetlO Al Value 30001 30511 Inout FFB_AO AO16 Value 40511 Output NetlO AO Value 40511 Output Output Inout Function Blocks 40513 44997 Output Internal Function Blocks 40513 44997 Table 3 1 Modbus Addresses In Manual mode if elements are removed from the ladder gaps will remain which are addresses empties intervals Any new inserted element will be with an empty Modbus address and the user has to insert the new address In Automatic mode if there are gaps the LogicView for FFB will fill them as new elements are inserted in the configuration A way for remove gaps from the Automatic mode is to do the following procedure In Tools Options ModBus Address changes from Manual click Ok come back to Automatic and click Ok again When the user clicks Tools ModBus Address and chooses the element type a window as the following will appear 3 48 The LogicView for FFB ioj x Element type O NetlO i Virtual Variables C Function Blocks C FFB Neto Number of TAGs Tag lnv Qut Type Group ME Address 7 Fig 3 89 Visualizing the Modbus Addressing In the previous figure is possible to see the tags types groups and Modbus addresses of the configuration s elements Attributing addresses in Manual mode Grouping and Ungroup
85. LATED FUNCTIONS c cccececececseceseccssececcecscececsecaceceesecacaceesevatacsesevavaceecetatetescsvatetensevavenereaes 2 7 ACCUMULATOR TIMER ACMT ccscssssssessessessesscsussucsscsussuecsesecssesseseesessacssesecsecsussecssessesaesecsecsetsetsasssesecsatseesecsetsetseesssetsecssesses 2 7 REDUCED ACCUMULATOR TIMER ACMTR ccccscescescecsecceesecsecsecsecsecsecssesecsucsecsucsecsarsacsecsersassucsecsarsacsacsacsansarsecsarsecsecsateecee 2 8 REDUCED ACCUMULATOR TIMER ACMTH c cescessecsecseeceeseessececsuesecsecssesecsucssessesucsucsuessessesucsecsucsutsuesecseesacsecsecsecsecsecseceeeee 2 9 PULSE DOW NE COUN Te GDN esse certs ates rs cutis ghee haat ieee cat tetc cutest tae Mead scien iataene aliactateds oe it cusen cialin te aeatet gtcacehcaiat 2 10 REDUCED PULSE DOWN COUNTER CDNR ccssccsessessesseseessecuessessessesscsuesecsucsuessesucsucsuesecsuessessesaesecsueseesutsseseesetssesseseeesesees 2 11 PULSE UP DOWN COUNTER CTUD cs scccesseesscssessessessessesecsucssessesecsucsucsuesucsucsuesuesecsucsusssessessessesaesiessessssuessessessesssieseeeeeees 2 12 REDUCED PULSE UP DOWN COUNTER CUDR ccsscssesseseessessessessesecsecsecsucsuesuesecsucsussucssessesucsatsucssesecsuessesuesacsacsiesseeeeeees 2 13 PULSE UP COUNTER CUP ice lt iieiaraccteenscetetesans doolssiocstiernseneedecvondasaesaddcae ostideessnbedecwa decbasentecto dissed LAL EASA A EEAS LE EAEan 2 14 REDUCED PULSE UP COUNTER CUPR sccscsssssessessesuessesscsucsuesscsu
86. N IN1 IN2 IN3 IN4 INPUT 14 BOOK I Input P Parameter O Output 2 34 User Manual Reduced Bitwise Logic 1 BWL1r Description This function allows implementation of the logic functions using a function block Six different function blocks can be set AND NAND OR NOR XOR and NXOR The user chooses the type of logic operation during the BWL1r block setting and this block will perform this logic function The block does the operations among the bits which are represented by the two digital inputs Prm 0 AND Function The logic function AND for the IN1 and IN2 inputs has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below Prm 1 Function OR The logic function OR for the IN1 and IN2 inputs has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below Prm 2 Function XOR The logic function XOR for the IN1 and IN2 inputs has the OUT output given by the Boolean expression OUT INIIN2 INIIN2 This will result in a state table as shown below Prm 3 Function NAND This function associates the AND and NOT functions So the logic output is the inverted AND logic function Prm 4 Function NOR This function associates the OR and NOT functions So the logic output is the inverted OR logic function Prm 5 Function NXOR This function associate
87. NABLED BOOL EQ o ALMI OUTPUT ALARMI BOOL ALM2 ALM2 OUTPUT ALARM2 BOOL TYPE1 ALARM1 TYPE LONG DBN1 ALARM1 HYSTERESIS FLOAT ARGI prey ana TO REFERENCE TO CALCULATE FLOAT TYPE2 ALARM2 TYPE ONG DBN2 ALARM2 HYSTERESIS FLOAT VALUE ADDED TO REFERENCE TO CALCULATE ARG2 ALARM FLOAT User Manual Inequality DIF Description When EN input is true this function holds the OUT output in true if IN1 IN2 is greater than DBN Dead Zone Otherwise the OUT output is held in false The DBN parameter is configured by the user If the EN input is false the output is held in zero false Example IN1 0 78 IN2 0 70 IN1 IN2 0 08 DBN 0 05 In this case the OUT output is true because the configured value for DBN 0 05 indicates in the example above IN1 is different from IN2 DIF INEQUALITY CLASS MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 71 Function Blocks 2 72 Equality EQ Description This function when EN is true holds the OUT output in true if the input values do not have a deviation greater than the Dead Zone DBN of the IN1 input Otherwise if the input values are different the OUT output is held in false The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs The EQ block is indicated when the user desires to compare variables in terms of equality The DBN parameter is a tool to determine how close each one of these
88. O1 lt gt yooo2 _ eee rere 1 Functions 8 ontEles Cut Copy Copy Drawing Export to Library Logic Library Manager Hardware Z Virtuals amp Network I O FF Block Definition Delete Select All FFB I O Attach gt bs MAO_1 ST0 MAO_1 ST1 MAQ_1 ST2 TEMPLATE Workspace System302 Scan Time lt N A gt Device lt N A gt Ladder Status lt N A gt 0 Ladder 0 v Cell 8 6 i Fig 3 126 Output link option Output Link A more practical way to link a function output to an input is to position the mouse on the output the user wants to link at this point the mouse cursor turns into a hand symbol indicating that it is on a function analog output parameter and press the SHIFT key Thus the output parameter is stored By placing the mouse on the input to make the link the cursor again takes the form of a hand and pressing the SHIFT key the link is automatically performed IMPORTANT To perform this operation the focus must be in the ladder drawing area If an input has a link and right clicking it the next figure will appear RT A ee r ee ee eT MALAD MAI_1 AI0 MALAI MAI_1 AI0 0 0000 Undo Ctrl Z MAL41 Al0 0 0000 0 0000 o Select All FFB I O Attach gt Output Link gt Go To Out Fig 3 127 Go to Out option The last option Go to Out command moves to the function which is linked with this input
89. ON TYPE RACK1 RACK2 SLOT2 RACK3 SLOT3 RACK4 SLOT4 RACK5 SLOTS RACK6 SLOT6 RACK7 SLOT RACK8 SLOTS I Input P Parameter O Output RACKI RACK2 SLOT2 RACK3 SLOTS RACK4 SLOT4 RACKS SLOTS RACK6 SLOT6 RACK7 SLOT RACK8 SLOTS 2 150 User Manual Status for HART Variables STSh Description This function when EN is true allows viewing the status of up to 8 variables of HART devices connected to the HART modules channels where 0 indicates good and 1 bad STSh STATUS FOR HART VARIABLES DESCRIPTION TYPE L INPUT ENABLED I Input P Parameter O Output 2 151 IMPORTANT The CNO 7 parameters must be configured with the channel of the HART variable whose status will be monitored The rule for filling is RRSGP where RR rack S slot of HART module G group position of the HART device in the module and P point indicating the variable that will be monitored according to the following table 0 1 2 3 4 5 6 T 8 primary current Examples Monitor the TV status of the HART device connected to the second channel of the HART module that is on rack 3 slot 1 CNx 3112 Monitor the PV status of the HART device connected to the fifth channel of the HART module that is on rack 12 slot 2 CNx 12240 Monitor the primary current status of the HART device connected to the first channel of the HART module that is on rac
90. OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below IN1 BIT17 BIT16 BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 IN2 BIT27 BIT26 BIT25 BIT24 BIT23 BIT22 BIT21 BIT20 OUT21BIT17ORBIT27 ale ete BIT10ORBIT20 Example IN1 00001111 IN2 11110000 OUT 11111111 Prm 2 Function XOR The logic function XOR for two inputs IN1 and IN2 has the OUT output given by the Boolean expression OUT IN1IN INLIN This will result in a state table as shown below IN1 BIT17 BIT16 BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 IN2 BIT27 BIT26 BIT25 BIT24 BIT23 BIT22 BIT21 BIT20 OUT BIT17XORBIT27 0 ccccccccseeceeeceeeees BIT10XORBIT20 Example IN1 01011100 IN2 11110000 OUT 10101100 Prm 3 Function NAND This function associates the AND and NOT functions So the logic output is the inverted AND logic function Prm 4 Function NOR This function associates the OR and NOT functions So the logic output is the inverted OR logic function Prm 5 Function NXOR This function associates the XOR and NOT functions So the logic output is the inverted XOR logic function If the EN input is false the output is held in zero false If the Prm value is greater than 5 the EO and OUT outputs will be zero false 2 37 Function Blocks BWL2 BITWISE LOGIC 2 BIT A BIT CLASS MNEM DESCRIPTION TYPE EN IN1 IN2 IN
91. Offline the Communication tab will appear as in the figure below arson Elements Communications Fig 3 140 Offline Communication Tab Build Fa The Build button activates the command to generate the pseudocode that will be executed by the virtual machine 1131 as explained previously If there is an error in the ladder logic such as missing connections in the element the following message will appear LopicView for FFB Fig 3 141 Build error If the message above appears the error specification will appear in the Output bar and when clicked the LogicView for FFB indicates the error point in the ladder drawing area Simulation The Simulation button was explained in the Ladder Menu topic Online Click Online button and the next window will appear Server Settings Server oree Fig 3 142 Server settings window The user has to choose between Local and Remote and then click Connect button When the user tries to connect a device and it is not found the Scan time and the Ladder Status in the Status bar will be N A Not available If the user is in Online mode the Communication tab will appear like in the figure below T dal Process Data Matt L sakar 3 A E a ti tigi n a 2 Go s a EBD ale Fig 3 143 Online Communication Tab The controller type with that the LogicView for FFB will connect and its serial number are The LogicView for FFB obtained from the
92. PRI_V PV SV TV QV 5V 6V 7V and 8V outputs Alh ANALOG INPUTS FOR HART DEVICE CLASS MNEM DESCRIPTION TYPE INPUT ENABLED BOOL z P CN_ CHANNEL LONG I Input P Parameter O Output IMPORTANT The CN parameter has to be configured obligatorily with the slots base channel where the module is inserted The rule for filling is RRSxO where RR rack S slot and x is the device connected to the DF116 from 0 to 7 Examples e 200 Rack 0 slot 2 device 0 e 12350 Rack 12 slot 3 device 5 The Alh block access only one HART device 2 143 Function Blocks Analog Outputs for HART Device AOh Description When EN input is true this function block reads the values of the HART output device actuator associated to CN Channel and places them in the PV SV TV QV 5V 6V 7V and 8V outputs and writes in the PRI_V the current value If EN is false the current value will be written in ST input AOh ANALOG OUTPUTS FOR HART DEVICE MNEM DESCRIPTION O P ON CHANNEL LONG I Input P Parameter O Output IMPORTANT The CN parameter has to be configured obligatorily with the slot s base channel where the module is inserted The rule for filling is RRSxO where RR rack S slot and x is the device connected to the DF117 from 0 to 7 Examples e 200 Rack 0 slot 2 device 0 e 12350 Rack 12 slot 3 device 5 The AOh block access only one HART device 2 144 User Manual
93. Seed f Use Original Taq Cell Type F Parameter Linked To Tagon Libr Description Function Link TON 2 ET OUTI6B 0 01 OUT16_ 0 01 Function Link TON 3 ET OUT16_0_00 OUT16_0_00 Back lear liustomiged Tags Finish Fig 3 111 Tags edition during exporting process to Logic Library 2 The LogicView for FFB will perform a consistency checking of the links among function blocks Inconsistent links will be removed in exportation For example the function block TT has a link to the YY block but this block was not selected to be exported In this case the link of TT will be removed in the exporting process The Automatic Tags Generation has two automatic customizing options e Use Original Tag default this option repeats in the Tag On Library column the same tag of the Original Tag column for contacts and coils or the Linked To column for function blocks e Use Logic name xxxxx as Seed this option uses the name of library logic defined in the window of figure 3 107 as base for automatic generation of all tags that will be exported to the library with numeric indexing For example if the name of library logic is L1 the generated parameters will be L1_001 L1_002 etc If the user wants customize the tags is possible edit them one by one Just click the tag and change it e The manual tags edition has priority over automatic tags generation i e tags which were manually changed by user are no lo
94. TAG00301 Simulation T F Use Automatic Inputs Ba ma nea wa oFso ore2 TA amp AGO0202 co Fig 3 77 Simulation window When the user clicks Run button in the lower side of the window the simulation starts To real I Os the values can be changed on the screen In order to change them just click desired input and the high level 1 will be attributed for the input In the Simulation window the high level of the inputs is represented by red color and in the outputs the high level is represented by green color In the ladder drawing area the simulation will be represented with high level 1 in green and low level 0 in red See the next figure 3 41 User Manual A A T4600201 T4600301 5 i Simulation T4 amp G00202 ar Close Fig 3 78 Simulation Example The simulation can be stopped by clicking on the Stop button The changes made in the Simulation window will not affect the outputs before the Run button is clicked again To finishing the application click the Close button Simulating with virtual variables When there are virtual variables in the configuration the user can change the virtual variable value right clicking the element and then in Toggle Value in the simulation Automatically the virtual variable value is inverted that is the false state value 0 will become true 1 and vice versa NOTE The virtual variable value also can be changed as described above when the ladder is supervised After s
95. Test1 1 File Edit View Ladder Tools Help Fig 3 25 Main Menu File Menu By clicking File or through the shortcut ALT F the following menu will open E LogicView for FFB Controller 16 FFB2 1 800001i File Edit View Ladder Tools Help New Ctri h Open Ctri 0 Close Save Ctrl 5 Save As Create Template Export Tags for OPC Browsing Export Tags for Supervision Print Ctrl P Print Preview Print Setup Import Template to Database Export Template from Database Export Tags to File Import Tags From File Recent File Exit Lr Oo Fig 3 26 File Menu This menu has all Windows default options such as New Open Close Print etc They work like any kind of Windows application If the user is in Template Mode and choose the New option the LogicView for FFB will create the new file with an empty Rack Z and a Rack 0 with the slot 0 filled with the DF50 power supply and the slot 1 filled with the DF75 controller The user can choose if the Rack Z DF 78 or DF92 will be used or not in the hardware configuration This rack has to be used for power supplies and controllers redundancy For further details see the DFI302 s manual Further details about the hardware configuration will be shown in the Hierarchy Hardware configuration topic Save Save As Procedure When the Save As option is chosen the user has to give a tag to the configuration See the following figure 3 1
96. ULATE THE H ALARM FLOAT VALUE ADDED TO THE REFERENCE TO pou CALCULATE THE HH ALARM joni N H O W VALUE ADDED TO THE REFERENCE TO P CALCULATE THE L ALARM eee GH 2 68 User Manual Double Alarm ALM Description This function when EN is true works as a double alarm that is it has two independent alarm comparators In the first comparator the compared variable is connected to the IN1 input and the reference signal in the REF1 input is added to internal parameter value ARG1 The second comparator is equal to the first that is the IN2 and REF2 inputs are used as the same way as IN1 REF1 and ARG1 Each comparator can be configured independently to generate alarm s output according to these options Variable lt Reference Low Alarm Variable gt Reference High Alarm Variable Reference Equality Alarm The reference is the sum of REF1 input or REF2 with the ARG1 parameter value or ARG2 To avoid output signal oscillation when the variable is very close to the reference a hysteresis value can be adjusted through DBN1 parameter or DBN2 The block works as follows REFERENCE a HIGH 100 X sais i 100 X E E i Alarm Action with Hysteresis 2 69 Function Blocks 2 70 ALM DOUBLE ALARM DESCRIPTION TYPE EN JINPUTENABLED BOL INt INPUT FOR ALARMI FLOAT FLOAT EN N1 INPUT FOR ALARM2 FLOAT EO REF2 REFERENCE FOR ALARM2 FLOAT OUTPUT E
97. ULSE TIMER cece eter eect eae eet elton eee oe cutee eee ig een cele ss rtpemeee etneiatentnig 2 27 REDUCED PULSE TIMER ca 2 eR ae nn en ern Tene re mee ee een Are EE 2 28 DATA MANIPULATION FUNCTIONS cccccccsecececcscececcececececsesecececcesavacecsesavacecsecevatscsacstacececevarecescsvatesercetsveverereees 2 29 BYTE TO INT CONVERSION BINT scssessessesseesecsessucsuessecseseesuesuessesuesucsucssesucsucsuessesucsucsutsacsussseseesatsecsuessesuesseseeseeseesieseeseeeees 2 29 BYTE TO BITS CONVERSION BTB csscscecceceesecseeceeseeseesecsecsecsecsecseesecsarsucsersecsucsarsucsecsecsacsersansecsersacsursacsetsatsutsetsatsatsatsaeeees 2 30 BOOLEAN TO INT CONVERSION BTI1 ccccscescecseeceeseeseesecsecsecsecsecsecsecsucsecsersersursersansucsecsarsessacsacsatsecsetsatsetsatsetsetstsatsateateees 2 31 BCD TO INT CONVERSION BE G12 sccssc tessa ee hc Se edd ke ie aa ere Se dank n At Aann n igi nacivenep tema beietieseueuae 2 32 BTV Gls cance recat ela a eect eich lant nace at Seah a tated owt Cumen iain cs eset sien ahaa 2 33 REDUCED BITWISE LOGIC 1 BWL1R cccccssecsessesscssesseseessessesucsuesucssesuesucsuesucsuesuesecsucsucsussucsssseesuesaesecsuesuessesseseesetssssieseeseesees 2 35 BITWISE LOGIC 2 BWL2 c scssessessecsessscsscsucsuesucsucsscsucsucsuesucsuesuesucsussuesussucsucsucsussussuesuesucsussuessesuesuessesucsuessesuessesetseseesesesseeees 2 37 REDUCED BITWISE LOGIC 2 BWLOR cccccscescecsecceesecsecsecsecsecsecsecsecsecsucsecsecsec
98. adder elements For this select the element right click and then click Select parameter Choose the parameters as in the figure below ee thy x C A B C D E F G EO A SENSORI SENSOR ALARM Programs 3 Ee Untitled Bl 0 Ladder 0 4h Contacts SENSORI SENSOR3 4k SENSORI1 3 4k SENSOR2Z 4k SENSORI 4 JH SENSORS SENSOR SENSOR3 4k SENSOR2 4 4k SENSORS 4b Swi aoe dk CLEAR_ALAF 5 4k SENSOR 4k SENSOR2 dk SENSORS CLEAR_ALARM Coils 6 lt gt FIRE WARN x gt EO lt gt ALARM SENSORI FIRE WARNING Functions 7 Virtuals E FF Block Definition SENSOR 8 SENSOR3 g v 10 3 gt Fig 4 7 Selecting the Parameters Save the file and then click Build The user can click in the desired item in the Hierarchy window or in the element in the ladder drawing area and in the Object Properties window will appear their properties SR Function Block When EN input is true this function block works in this way If the S input is true the Q output goes to true If the R input is true Q goes to false If the two inputs are true Q is held in true If the EN input is false all outputs are held in zero false Alarm Simulation with the Simulation Option Click the Simulation button activate the SENSORY click Run Suppose the SENSOR 1 has detected smoke the alarm will not be triggered only the warning LED will light It is represented by the contact FIRE_WARNING See the nex
99. aes lhe ef Boat aise 2d eed Fens easton nts oaar re eenaa 2 50 OUTPUT BINARY SELECTION OSEL cccccsceccescessccecsecsecsecsecsucsuesecsecsecsucsecsecsecsersersecsarsarsecsecsarsatsacsersacsassacsetsecsecsetsetseeeeee 2 51 BINARY SELECTION FOR BOOLEAN INPUTS SEL1 sssssssessssesseessesecssesecsuessessecucsucsuessesuessessessesecsuessessesseseeseeseesseseeseeeees 2 52 BINARY SELECTION FOR FLOAT INPUTS SEL2 sc sssssssessessessecseesuesecssesucsuesuessesucsucssesucsusssessessesucsuessessessessessssessseseeseeeees 2 53 SEIU Gy Wale ITRON Sinn COP Cen RIOR st a Srgr een eeier 2 54 MATHEMATICAL FUNCTIONS cccccccesecesessecececsecececcesecececcesacaceesesavaceesesavsceesasavsceesavavaceesavavaceecavaveceseecsvateceseevareces 2 55 ABSO O VA UE A ko ame eee cane ne mee gE ce ce ee TO Ce NEC itor ee et 2 55 NITION ADD cix2s cstatconcasciact snintantanis ten sesuesenc ons aban ascosegdecatendctatoo ates tendegnbasinsche litle ssh sok cuauh udeudednnnshcaleideddischatocthosdscaseondiaed 2 56 REDUCED ADDITION ADDR MAN 2 57 BITWISE AND OF 2 TO 8 INPUTS AND2 AND8 sc sssseseessessesecssesuesecsucsucsuesuesuesuesucsuesuesuessesuessesucssessesuesseseessestsssesseeeeeees 2 58 EIST IN sacra ce eae tase Nl ee ete eed aceasta eal en ete aa eee 2 59 PTO OS IMIG eee ea ner renee cnet ee A cee eee cea ieee aes A EE 2 60 MULTIPLICATION MUL scssessesseessesscsscsvessessesscsucsucsuesuessesucsuesucsuesuesuesuesuesucsussuesussussuesuesussuesuesue
100. ains reset until set by a SET coil The associated Boolean variable will be retentive to the memory Note The action of this coil is identical to RESET Unlatch Coil except that the associated boolean variable is automatically saved in the memory F Set Retentive Memory Coil The associated boolean variable is set to ON state when the left link is in the ON state and remains set until reset by a RESET Coil The associated boolean variable will be retentive to the memory Note The action of this coil is identical to SET Latch Coil except that the associated boolean variable is automatically saved in the memory Horizontal Connecting Line Use this tool to draw a connecting line from left to right in the marked cell Vertical Connecting Line Use this tool to draw a connecting line from the right side of the marked cell downward K Eliminate Vertical Connecting Line This tool eliminates the vertical connecting line Place the selection box in the element that has the vertical line the user wishes to eliminate a Delete Object Use this tool to delete an object inserted in the cell It has the same function of the keyboard Delete button k Selection Use this tool to select a network element contact or coil The selected element will be red I Add Note Use this tool to insert a note text in the cell To select this note click on it with the Selection tool and it will be red After selected the note can
101. alse If the EN input is false the output is held in zero false MUX1 MULTIPLEXER FOR BOOLEAN INPUTS 0 BANS MNEM DESCRIPTION TYPE P O I Input P Parameter O Output 2 45 Function Blocks 2 46 Reduced Multiplexer for Boolean Inputs MUX1r Description This function when EN is true selects one of the two inputs and places its value in the OUT output The selection is done in according to the value in the SEL input Output Selection If SEL is equal to 0 the selected output will be IN1 for others values of SEL the selected output will be IN2 If the EN input is false the output is held in zero false MUX1r REDUCED MULTIPLEXER FOR BOOLEAN INPUTS EN EO MUXtr OUT DESCRIPTION I Input P Parameter O Output User Manual Multiplexer for Float Inputs MUX2 Description This function when EN is true selects one of the IN inputs and places its value in the OUT output The selection is done in according to the value in the SEL input Output Selection If SEL is equal to 0 the selected output will be IN1 If SEL is equal to 1 the selected output will be IN2 and so on If SEL is greater than the number of possible inputs N 1 the INn output will be selected In this case EO output goes to false indicating the SEL input is out of range If the number N_IN is greater than 14 or less than 2 the EO and OUT outputs go to zero false If the EN input is false the
102. anging the analog output module configuration The Voltage Output V option corresponds to the range of values in the channel output If the output is in current the corresponding selected value is in Current Output mA The allowed types 1 to 5 V default 0 to 5 V default 5 to 5 V default The engineering unit to the input block can be modified follow the next rule Eng Unit 0 EUO is the minimum value Eng Unit 100 EU100 is the maximum value 3 97 User Manual 3 98 If EUO 0 and EU100 1 the input value has to be between 0 and 10000 which will be converted in the output range that is if Voltage Output V is equal to 1 to 5 V the value 0 in the block input will correspond to an output of 1 V in the channel and the value 10000 in the block input will correspond to an output of 5 V in the channel Intermediate values in the input will be presented in the output as interpolated values between 1 and 5V For other EUO and EU100 values the input value will be converted to the specified range in EUO and EU100 that is if Voltage Output V is equal to 1 to 5 V the EUO value is equal to 10 and the EU100 value is equal to 50 if the block input is 10 it will correspond to an output of 1 V in the channel If the block input is 50 it will correspond to an output of 5 V in the channel Intermediate values in the input will be presented in the output as interpolated values between 1 and 5V The Apply channel set
103. arsacsacsarsatsatsacsetsacsetsetseteees 2 75 REDUCED DECREASING SEQUENCE GTR ccscscecccssessesecsecsecsecsecsecsecsecsecsecsecsersecsecsersarsecsecsecsersacsecsessetsatsacsecsecsetsetseeeees 2 76 DECREASING MONOTONIC SEQUENCE GTE ccscccscsecsseseessessesscssesecsecsecsucsucsuesaesecsucsussuesuessesecsussacsucsscssessesaeseessessesseseesees 2 77 REDUCED DECREASING MONOTONIC SEQUENCE GTER c csccsessessessessessessesseseesecsecsucssessesecsecsecsuessesseseeseeseesseseseeseeeees 2 79 BITER EMT cet cen va sane ee se hee ce ee cae eae ad eect ests cep 2 80 INCREASING SEQUENCE LT ccccccessecseeseesseseessesecsecsecsecseesecsucsucsecsecsersecsecsarsucsarsarsecsucsacsarsarsacsersarsacsecsassecsarsessatsacsatsatsaeeees 2 81 REDUCED INCREASING SEQUENCE LTR cccccsssscessecscseesecsecsecsecsecsecsecsecsecsecsecseesecsucsecsersucsecsersarsacsersacsatsatsatsecsacsetsetsecsees 2 82 INCREASING MONOTONIC SEQUENCE LTE ccsscssessessecseseessessessessesecsscsucsecsuesseseesucsecssesacsesssesacsscsecsucsseseesseseeseesssseseseeeees 2 83 REDUCED INCREASING MONOTONIC SEQUENCE LTER sessessessessececsseceesecsseseesecsecsucsecseessesecseesecseessessessesecseesecssesseseeeees 2 85 SLITES E crn Tt ee Sms nme tree ere 2 86 REDUCED MAXIMUM MAXR cccccccsesecsecssesseceessessessesuessesuesucsucsucsscsuesucsucsuesecsucssesacsuesucsussacsuesassassutsecsuessesecseesiesessseseeseeseeeees 2 87 RINT ACMI ceatectsa etree eh cae ccena A anita ie eh a ue alata nk eta
104. be removed with keyboard Delete button or it can be moved by clicking and draging the mouse The text of the inserted note will be in the color defined in Tools Options Interface Network Elements Ladder Elements Definitions of the Network Tool Box Elements IEC 61131 3 standard other languages mA FROM Normally Open Contact The state of the left link is copied to the right link if the state of the associated variable is ON Otherwise the state of the right link is OFF Lae To Coil The state of the left link is copied to the associated Boolean variable and to the right link q Gap Wire Use this tool to draw a connecting line gap wire on the right side of the marked cell It is a vertical line that passes through a horizontal one without the occurrence of a cross between them i e the vertical flow does not influence the horizontal flow and vice versa See the following example NOTE For this function to take effect there must be a vertical line previously at the location where you want to insert the gap wire 5 Eliminates Gap Wire To eliminate the gap wire is necessary to position the selection frame in the element which has the gap wire NOTE When the gap wire is eliminated it automatically becomes a normal vertical line User Manual Boolean Logic 1 4 The association of relays and coils creates Boolean functions Below we present a brief summary of these functions and Boolean Algebra
105. bles tags the input and output tags can have until 16 characters The functional blocks tags can have until 10 characters The functional blocks tags are single If the user tries to give an existent tag to the functional block 3 93 User Manual 3 94 the next message will be shown LogicView for FFB A Tag already exists Fig 3 185 Error Tag already exists NOTE The tags also can be changed in Tools Properties editor Inserting a description The user can insert an element description to facilitate its identification Select the element double click the Description right cell in the Object Properties window and write the description which can have until 64 characters Object Properties Property Name Property Value FIRE WARMING Direction Oucput Device DF2 Channel o1001 Safe Output OFF Description Ladder0_Output3 Fig 3 186 Inserting a description Special Modules Some types of analog modules can be edited analog inputs analog outputs pulse inputs and temperature Analog Input Modules The available analog input modules are DF43 DF44 and DF57 After inserting them as described previously they have to be configured By right clicking the module the module s configuration window will open For this select the options Edit Analog Modules and then Edit Module Inputs See the next figure The LogicView for FFB Hierarchy jamar Logic iew F E Program
106. c time filter in seconds Consider a step input When the output signal reaches 63 of the step value the time measured until this moment is defined as characteristic time El Filter Time Hysteresis K2 and HIGH and LOW alarms H_L L AIGH When the input reaches the value set in H_LVL the HIGH output will change to true until the input goes beyond H_LVL K2 Similarly when the input reaches L_LVL the LOW output will go to true until the input goes beyond L_LVL K2 2 118 User Manual MATH MATHEMATICAL EQUATION FOR SIGNAL PROCESSING CLASS MNEM DESCRIPTION TYPE INPUT ENABLED BOOL PROCESSING SIGNAL FLOAT OUTPUT ENABLED BOOL BOTTOM LIMIT ALARM BOOL HIGH UPPER LIMIT ALARM BOOL OUTPUT AFTER FILTER FLOAT a CHARACTERISTIC TIME IN SECONDS IT IS A ae FIRST ORDER EXPONENTIAL FILTER o HYSTERESIS ALARM PROCESSING HIGH AND O gt LOW IT MUST BE A NON NEGATIVE VALVE LOWER LIMIT FOR ALARM PROCESSING AFTER LIVE THE DIGITAL FILTER FLOAT UPPER LIMIT FOR ALARM PROCESSING AFTER H_LVL THE DIGITAL FILTER FLOAT I Input P Parameter O Output 2 119 Function Blocks 2 120 PID Controller PID Description This function when EN is true does the PID controller The acclaimed PID algorithm for continuous process control associated with the configuration flexibility of the operation settings through parameterization allows the utilization of this block to a variety of applications and con
107. ccording to the new point position following the notation TAGRASGP where R Rack S Slot G Group and P Point Configuring the Safe Output Values The user can configure the modules safe output values in case of fail In the example below the Rack 0 has a DF24 module The user has to right click the desired output and chooses the desired value On or Off By default all outputs are configured with Off when the project is started 3 91 User Manual Hierarchy ama Logic iew Programs amp Controllers mb Hardware Rack z Rack a os J O DF50 i DF62 f 2 DF20 f 3 DF24 Group O io m On S d Of fo 3 E o4 g ifos B U0 6 E o7 F Group 1 Rack 1 E virtuals 88 Network LO H E FF Block Definition Fig 3 180 Configuring the safe output values 1 The safe values also can be configured in the Object Properties window Select the output double click the Safe Output Value right cell and choose the desired value On or Off See the next figure Object Properties Property Mame Property Value Type ica Digital 10 l Tag ALARM Direction Output Device DF24 Channel 01000 Safe Output GFF Description Fig 3 181 Configuring the safe output values 2 At Tools Properties Editor the safe values can be configured Click the output which will be configured and choose On or Off See the following figure 3 92 The LogicView for FFB Properties Editor
108. channel through the option Select Channel The default configuration for all channels is showed in the figure below Edit Temperature Module Settings Select Channel Channel 0 General Settings Class Name Ohm Connection Three Wires Type 0 to 400 Unit Ohr Damping 0 32s Burmout Range fe Low Low 0 Ohm C High High 400 Ohm Apply channel settings to other channels Cancel Download Fig 3 196 Changing the temperature module configuration The Apply channel settings to other channels button can be used if the user wants to replicate the configuration done to one channel to the others Just select the channels as in the following figure 3 100 The LogicView for FFB DE a a n ny A a a ae by AN i T a ne ono Edit Tem perature Module Settings Select Channel Channel General Settings Class Mame Bee Select the channels Channel 4 Channel 1 Ww Channel 5 i Channel 2 lf Channel 6 Channel 3 Channel 7 eS Eas C High High 400 Ohm 4pply channel settings to other channels I OK Cancel Download Fig 3 197 Selecting channels to replicate the configuration The Download option can be used when LogicView for FFB is online to download only the scales if they were changed A configuration download of the all modules of the same type will be done and not only of the module which was changed 3 101 User Manual The ch
109. counts the O false to 1 true logic state transitions When the EN input is true this function counts the transitions from false to true in the IN input and decreases the CV value When CV reaches zero the Q output changes to true and stays there until the LD input changes to true At this moment the Q output comes back to false and CV is loaded with the PV value If the EN input is false all Boolean outputs are held in zero false and CV is loaded with the PV value Internal Counter CV In this block input a digital input is connected Every time an ascending transition occurs CV decreases by one unit When the internal count reaches zero the Q output changes to true LD Load If LD is true the Q output comes back to false and CV is loaded with PV value CDN PULSE DOWN COUNTER 0 NSS MNEM DESCRIPTION TYPE INPUT ENABLED BOOL PULSE INPUT BOOL LOAD BOOL PROGRAMED VALUE LONG OUTPUT ENABLED BOOL 0 Q BLOCK OUTPUT BOOL CURRENT COUNTING VALUE LONG I Input P Parameter O Output User Manual Reduced Pulse Down Counter CDNr This function block works exactly like the CDN block but it does not have the EN input and the EO output CDNr REDUCED PULSE DOWN COUNTER CLASS MNEM DESCRIPTION TYPE PULSE INPUT PROGRAMED VALUE Q IBLOCK OUTPUT BOOL CURRENT COUNTING VALUE LONG I Input P Parameter O Output Function Blocks Pulse Up Down Counter CTUD Description When the EN input is tru
110. ction acts over the error The set point changes produce soft output signal variations It is recommended for a process that cannot have sudden changes in the variable due to the set point change It is the case of heating process with high gain Algorithm Type It is defined by the ALG parameter ALG false Parallel algorithm ALG true ISA algorithm PARALLEL MV t K e t feodi 7 de t _ eS de t ISA MV t K e t a edt T A User Manual Action Type Some processes require that the output signal manipulated variable MV does not increase when the process variable increases while most of the other applications require the opposite PARAMETER ACTION TYPE ERROR EFFECT ACT false Reverse e SP PV Output decreases with the increase of PV ACT true Direct e PV sp Output increases with the increase of PV TRF input If the TRF input is true the PID will be in manual control If TRF is false the PID will be in automatic control Type of transference from Manual to Automatic It is defined by the TRS parameter TRS 0 bumpless amp FB input does not connected TRS 1 bumpless amp FB input connected TRS 2 hard amp FB input does not connected TRS 3 hard amp FB input connected Bumpless During switching from manual to automatic the PID block will start calculations from the last manual value i e there is not a jump in the block output Hard During switching from
111. d but the associated tags will not lab The Export Tags for OPC Browsing command updates the Taginfo ini file with all tags of the open logic enabling them to search without downloading the configuration on the controller te The Commit command works as follows clicking on its icon the files that were created or modified locally are sent to the multi user server To discard the alterations made to a local file and restore the original configuration file click the icon rts Revert on the Main toolbar For further details about Multi User Mode refer to the Syscon Manual Zoom Bar Fig 3 120 Zoom Bar The user can zoom out the ladder drawing area by clicking and then clicking the work area The zoom will increase in 10 at each click the window The user can zoom in the ladder drawing area by clicking and them clicking the work area The zoom will decrease in 10 at each click the window ry ia The button allows seeing the full page ea The button allows fitting the page on the window NOTE To disable the zoom functions just press the ESC key or in the Select button R 3 63 User Manual Toolbox The Toolbox toolbar has eight tabs with different function block types IO Time Counter Process Data Math Comparison and Elements Also there is a Communication tab with functions related to online mode simulation supervision and others This tab will be explained separately later
112. d operate in simulation mode see the SimulationView manual The Simulation mode is indicated in the title bar and by work area background which can be changed by user See the following figure Properties M Show Grid Paper Color F Auto Scrolling Enable Function Addresses on Property List Enable Modbus Addresses on Property List Enable Information Dialog during FFE Download Selection Color Grid Color Page Break Color Onl Scan Time prevails upon Syne Time M Only Syne Time Alternate List Color Display Links Only in the Current Net Oe Online List Color r f Simulation Color Separator Cache Level Zz Lal Undo Redo levels 20 ET View Mode Color OPC Timeout 1500 ms Supervision Only Color hal E E Cancelar Fig 3 21 Option for changing the color of Simulation mode The LogicView for FFB View Mode This mode is only for viewing ladder logic associated with FFB block At Syscon right click the FFB icon and select View Logic The LogicView for FFB runs in View mode and no changes can be done A Ladder network evaluation A ladder network evaluation by the LogicView for FFB is done by line from left to right The user always has to keep this characteristic in mind when he is doing the configuration See the figure below In LogicView for DF65 the ladder evaluation is done by column from top to bottom That is why the user has to be careful when he is configuring
113. dder 0 Controllers Bs Bridge 1 QO Hardware Copy Configuration Paste Configuration J 2 DF62 J 3 DFE62 f Rack o O DF20 1 DF24 f 2 Available f 3 Available E Rack 1 FA Rack 2 6 Network I O FF Block Definition Fig 3 178 Copy and Paste the rack s configuration If the user wants to copy and paste only one module the procedure is similar to the one mentioned above Right click the source module and choose Copy Module The module will be copied and it can be pasted in another slot For that just choose the target slot right click it and choose Paste Module See the next figure Hierarchy smar LogicView TAG AND E8 Programs o Untitled H E 0 Ladder0 E 1 Ladder E 2 Ladder 2 E 3 Ladder 3 ntrollers O E E E mg EP Wl ne amp Hardware H a Rack Z H A Rack o Spliff Rack 1 H i ie DF Oe wen 1 Avi Copy Module Cut Module ans A 3 Avi Paste Module sh E Virtual l i ft hota Dararmatal Edit Analog Modules a rN Pt Fig 3 179 Copy and Paste the module s configuration It is also possible to move the modules doing first the Cut Module operation and then Paste Module When performing these operations the elements whose tags are different from default tags will keep them and they will refer to the point in the new module position If the element has a default tag for example TAGO1000 it will be renamed a
114. disconnected NOTE BIAS AWL and AWU are percentage values PID PID CONTROLLER SES MNEM DESCRIPTION TYPE EN _ INPUT ENABLED Z o BOOL O PROCESS VARIABLE SP PV IF TRF IS TRUE THE INPUT CONNECTED TO FB IS EO OUT PASSED TO THE OUTPUT OUT KP____ PROPORTIONAL GAIN _ _ FLOAT TR J INTEGRAL TIME MIN REP TD DERIVATIVE FACTOR MIN FLOAT _ SELECTS THE INPUT AND THE OUTPUT FORMATS PERO BETWEEN 0 10000 AND 0 100 BOOL DEFINES THE TRANSFERENCE TYPE AUTOMATIC TO MANUAL jana I Input P Parameter O Output EN SP PV FB EO KP TR TD 2 122 User Manual Pressure and Temperature Compensation PTC Description This function block when EN is true performs the pressure and temperature compensation defined by the block diagram and equation as follows PT COMP FO LIMIT SORT P 0 84 Pb 0 64 Tb 273 15 T 273 15 FI Fl Measured Flow Rate F Measured Pressure Bar 3 T Measured Temperature Deg C FO Compensated Flow Rate Pb Base Pressure Bar G To be defined per each case Tb Base Temperature Deg To be defined per each case PTC PRESSURE AND TEMPERATURE COMPENSATION MNEM DESCRIPTION TYPE P MEASURED PRESSURE FLOT _ _ Pb BASEPRESSURE FLOAT _ __ CONSTANT FLOAT I Input P Parameter O Output 2 123 Function Blocks 2 124 Set Point Generator SPG Descr
115. discrete inputs and FFB Just right click the input then Toggle Value and the input value will be inverted The CPU can be in Run or Stop mode a0 Freeze out Boor In this mode the inputs are scanned the ladder executes and the outputs are not updated They keep the last value By clicking the icon the next message will appear confirming the operation LogicView for FFB ik P Do you really want to put CPU in freeze output mode Fig 3 158 Confirming the Freeze Out mode Is possible to change the Toggle Value of the discrete outputs Just right click the output then Toggle Value and the output value will be inverted The CPU can be in Stop mode Ha Safe Mode 22 In this mode the inputs are scanned the ladder executes but the outputs keep the safe values set by user By clicking the icon the next message will appear confirming the operation LogicView for FFB ik A Do you really want to put CPU in safe mode Fig 3 159 Confirming the Safe mode Force Mode ai In this mode the hardware inputs are scanned the ladder executes the outputs are updated and the user can act over the inputs which no exist in hardware By clicking the icon the next message will appear confirming the operation The LogicView for FFB LogicView for FFB J Do you really want to put CPU in force mode Fig 3 160 Confirming the Force mode It is possible to change the Toggle Value of the discrete inputs and FFB Just right cl
116. dow can be enabled or disabled through the View Menu as presented previously It can also be enabled by clicking Build or Simulation The next window will open Configuration Manual Checking ladder for consistences Check succesfull Code size 64 bytes Functions Tags 2 CADocuments and Settings Administrator My Documents Manual pet 0 errors Build time 0 55 seconds Fig 3 222 The Output window If clicking Build and the LogicView for FFB detects some error it will be showed in the Output window See the next figure connection at cell s LEFT Build Error 52 Diagram 1 Row 3 Column E Missing connection at cells LEFT Fig 3 223 Build errors in the Output window In the example above two errors were detected Click any of the errors in the Output window and the LogicView for FFB will take the user straight to the error The error s point will blink in a yellow background in the ladder drawing area 3 114 The LogicView for FFB Status Bar This is the part of work area that displays important information about the application status FFB LOGIC Workspace System3a02 Scan Time ZNAS Device lt Nia4 gt Ladder Status Nia 0 Ladder 0 Cell 4 1 Fig 3 224 Status Bar e Workspace indicates in which active work area the instance is working e Scan time it was already explained in the Ladder Menu item e Sync Time Time for redundant controllers to keep synchronized Zero means no synchronism or not
117. e standard configuration is showed on the figure above The Select Input Range option corresponds to values range in the channel input The allowed types are O 4 to 20 mA O 0 to 20 mA The engineering unit can be modified follow the next rule e Eng Unit O EUO is the minimum value e Eng Unit 100 EU100 is the maximum value The presented value the MAIx block will be in the specified range in EUO and EU100 related to the input range For example if Select Input Range is equal to 4 to 20 mA the EUO value is equal to 10 and the EU100 value is equal to 50 the block output is 10 it will correspond to an input of 4 mA in the channel If the block input is 20 mA the block output is 50 Intermediate values in the current input will be presented in the output as interpolated values between EUO and EU100 The Apply channel settings to other channels button can be used if the user wants to replicate the configuration done to one channel to the others NOTES Always configure EUO lt EU100 The Download option can be used when LogicView for FFB is online to download only the scales if they were changed A configuration download of all modules of the same type will be done and not only of the module which was changed e Analog output module DF114 After inserting the module as described above it has to be configured Right click the module to open its configuration window Select the Edit Analog Modules option and then Edit M
118. e 7 i Search Virtual C Netl O Meta Parameters Analog OUT O OUT_1 AnalogOUT 1 Value OUT 2 AnalogOUT Z Value OUT _3 AnalogOUT 3 Value OUT 4 AnalogOUT 4 Value OUT 5 AnalogOUT 5 Value OUT_6 Analog OUT 6 Value OUT_ AnalogOUT 7 Value OUT_8 AnalogOUT 3 amp 8 Value OUT_49 AnalogOUT Value OUT_10 AnalogOUT 10 Value OUT 11 AnalogOUT 11 Value OUT 12 AnalogOUT 12 Value tons OLIT T Do Not Show Status Close Fig 3 70 Parameters selection The LogicView for FFB will filter the parameter type that is compatible with the meta parameter that will be replaced To choose the variable just double click it To apply the selected replacements click the Apply Replacements button and the LogicView for FFB will perform automatically the replacements in the logic configuration NOTE All meta parameters used in the logic configuration must be replaced and in this way the configuration can be normally used in the plant The meta parameters are an useful feature of LogicView for FFB that increase and make more flexible the creation and reuse of logic configurations allowing the user has options to develop the automation project For further details about meta parameters refer to Logic Lybrary topic To marking a cell just select it and go to Edit Mark Cell The marked cell will have a blue symbol on the top right side See following figure cell B 1 Fig 3 71 Marking a cell To deleti
119. e List Modbus addresses t All Diagrams ees j oa ho c maj Fit To Page Print Grid Lines l Show Rulers On All Diagram s Pages DK Print Setup Fig 3 33 Print Options The user can choose which information wants to print and how will be the print The options are 3 18 The LogicView for FFB Information page The information about the project which were inserted in the Object Properties window for example the company s name plant project controller device etc will be printed if this item was selected Hardware configuration page Selecting this option a list of the hardware configuration will be printed as in the figure below LogicView for FFB LogicView exemplo_manual 1 amp o M 4 gt N Page 2 Close smar Projeto_Smar Page 1 1 074706 11 37 41 Hardware Configuration List Module i DF50 Power Supply Module 90 264 AC Redundant OF62 DFI302 Processor 1x100Mbps 4xH1 OF20 1 Group of 8 On Off Switches OF24 2 Groups of 8 120 240 VAC Outputs Fig 3 34 Hardware Configuration List Tags Tag Editor Selecting this option a list of the configuration tags will be printed See the next figure LogicView for FFB LogicView exemplo_manual 1 amp O H 4 gt N Page 1 Close S ma r Projeto_Smar Page 1 07A 76 11 51 22 VO Discrete TAG List Ta Direction Device Channel Safe Descripti TAG01200 input Ss 20 01200 TAGOI201 inp DF20
120. e calculation from last output value in manual mode proportional term KP x error TRS 4 Hard BIAS In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it starts the calculation from BIAS parameter value proportional term KP x error TRS 5 Hard FB In manual mode the block output value is equal to the inserted value in the FB input In this case it may not write in the OUT output When the block switches from manual to automatic it starts the calculation from FB input value proportional term KP x error User Manual MANUAL AUTOMATIC MANUAL AUTONLATIC OUTPUT OUTPUT TRS 0 TRS 3 Emp Hard OUTPUT OUTPUT TES 1 TES 4 Famp BLAS Hard BIAS OUTPUT t OUTPUT t TRS 2 TFS 5 Emp FE Hard FB Manual to Automatic Transference NOTE Before the block status changing from Manual to Automatic is recommended adjust the error to zero with SP equals to PV value Security value SEC_V SEC SECL SECH and PRIOR If SEC is true the defined value in the SEC_V input will pass to the OUT output The SECL and SECH parameters are used to define the possible limits values lower and upper of configuration for the SEC_V input If the input has values out of the range defined by SECL and SECH the output value will be kept in the limits values The value
121. e equal to LOWL HIGH and LOW Alarms When the output ramp reaches the bottom limit LOWL or the upper limit HIGHL the alarms LOW and HIGH will be turned on The LOW output goes to true if the bottom limit is reached Similarly if the upper limit is reached the output HIGH goes to true ACCEL Parameter It is the manual acceleration of actuation When the block output is a parabola the ACCEL parameter allows fine adjustment of the output allowing more definition of the output rate of change User Manual ARAMP AUTOMATIC UP AND DOWN RAMP CLASS MNEM DESCRIPTION TYPE SELECTION OF THE TIME BASE HOURS MINUTES OR T_SEL SECONDS LONG aii VM S cons TO CHANGE THE OUTPUT FROMOTO og ASPD MANUAL ACTUATION SPEED IN PER SECOND LONG ACCEL NITIAL MANUAL ACCELERATION OF ACTUATION LONG LOWL BOTTOM LIMIT OF REGISTER FLOAT HIGHL UPPER LIMIT OF REGISTER FLOAT SELECTS THE INPUT AND THE OUTPUT FORMATS PERC BETWEEN 0 10000 AND 0 100 BOOL I Input P Parameter O Output 2 101 Function Blocks 2 102 Enhanced PID EPID Description This function block when EN is true does the PID controller The acclaimed PID algorithm for continuous process control associated with the configuration flexibility of the operation settings through parameterization allows the utilization of this block to a variety of applications and control Strategies This block supplies several options of algorithm settings having as
122. e hour has 3600 seconds So the TU value must be equal to 3600 Suppose a constant flow of 60 m h The totalization is given by the expression t sec onds t sec onds t sec onds TOT t eae IN t dt y 60dt f dt m J J 3600 J 60 So after 1 minute or 1 60 hour or 60 seconds the TOT value will be 60 l TOT m gt dt Im m 0 Each 1 60 hours or each 1 minute the block totalizes the input and shows this value in the output Since 60 m3 1 hour 1 m3 t time interval when the totalization is displayed So t 1 60 h or 1 minute b IN is FLOAT and represents the flow in percentage In this case the input will be seen as a percentage represented by a float number in the range O to 100 FCF must be equal to the maximum flow value in engineering units flow at 100 to the totalization to be given in EU The TU parameter setting is similar to the previous item The totalization will be displayed in the EU configured 2 131 Function Blocks 2 132 c IN is INTEGER In this case the input will be interpreted as an integer number in the range 0 to 10000 0 and 100 respectively ECF must be equal to the maximum flow in EU divided by 10000 Suppose a maximum flow of 1 m s and a constant flow of 0 5 m s The FCF value is equal to the maximum flow divided by 10000 or 0 0001 The TU value in this case is 1 because the totalization unit is m A 0 5 m s input is equal to 5000 o
123. e procedure described above will launch the LogicView for FFB in Template editing mode This operation mode can be identified by the LOGIC tag at the left bottom side of the work area as in the next figure LOGIC Fig 3 16 Template Mode When a new template is created the user has to give a tag to it See the following figure New Logic Tag Gg Give a Tag for Logic Configuration Cancel Fig 3 17 New template s tag 3 9 User Manual 3 10 In this mode the LogicView for FFB will be able to create and modify only the templates of flexible blocks For this reason operations such as New Open Save As and Save will be enabled The ladder logic operations and the definition of FFB parameters will be totally enabled thus the discrete configuration can be done without restrictions However the user cannot download the logic to the controller because it is only a model of FFB NOTE The filenames generated in this mode have pot extension To use in Syscon a FFB Template that was created in LogicView for FFB it is necessary to create an instance block based on Template so that the Device Descriptor information is created by the system and the block is ready to be downloaded to the device A FFB instance created from a Template inherits all of its characteristics Parameters Definition and Internal Logic The creation of a FFB instance from a Template is done in Syscon from the Replace opt
124. e this function counts the false to true logic state transitions in CU input and increases the CV value If there are true to false transitions in CD input the CV value will be decreased If CV value reaches the PV value the QU output is held in true If the CV value reaches zero the QD output is held in true If RS goes to true QU is held in false QD in true and CV in zero If LD input goes to true QD is held in false QU in true and CV is loaded with PV value The LD input predominates over the RS input While RS or LD are true the counting is held If EN input is false every Boolean output is held in zero and CV is loaded with PV value CTUD PULSE UP DOWN COUNTER CLASS MNEM DESCRIPTION TYPE OAD_ BOOK I Input P Parameter O Output 2 12 User Manual Reduced Pulse Up Down Counter CUDr This function block works exactly like the CTUD block but it does not have the EN input and the EO output CUDr REDUCED PULSE UP DOWN COUNTER DESCRIPTION TYPE CU PULSE INPUT QD BLOCK OUTPUT _ Ci I Input P Parameter O Output 2 13 Function Blocks 2 14 Pulse Up Counter CUP Description The CUP function counts the transitions from O false to 1 true When the EN input is true this function counts false to true logic state transitions in the IN input and increases the CV value When CV reaches the value defined in PV the Q output changes to true and stays there until the RS input goes to
125. ead the chapters 1 and 2 of this manual to get familiar with the ladder elements and function blocks The LogicView for FFB application software is based on Microsoft Windows and is therefore operated in the same basic way as other Windows applications i e through menus browsing copy and paste buttons drop down lists etc It is assumed that the user is already familiar with Windows interface Operating System The LogicView for FFB like another integral part of SYSTEM302 runs in Windows operating system For further details refer to SYSTEM302 Installation Guide Before Installation Begins Check minimum resources in the SYSTEM302 Installation Guide It is recommended and sometimes mandatory that all applications are closed before installing the SYSTEM302 Installing The installation should automatically start a few seconds after the installation DVD is inserted in the driver If after inserting the DVD into the driver the installation does not start automatically go to the directory containing the application and run the AUTORUN executable file The installation program will run and guide the user throughout the installation procedure For further details refer to SYSTEM302 Installation Guide After installing the SYSTEM302 the user has to run the LicenseView application and authorized the installed products such as the LogicView for FFB For further information about how to get the license refer to the SYSTEM302 Installation Guide
126. ecking of engineering unit and the connection s type is related to the sensor class The table below shows the available relationships Connection Ea Type Type Name Min WED 1 Ditferential 1 CutoGE 270 270 Differential Differential Differential Differential 6 Pt50JIS_ 850 850 Differential 7 Pti00JIS 800 800 1 CuoGE 20 2 N120DIN_ 50 3 Pt50lEC 200 4 PHHOOIEC 200 __ 5 PHSOOIEC 200 6 PHSOVIS 200 7 PHOONIS 200 as ae ee ae S a CE ed a a bee Class l Class Nare JI z J ir J 7 1 7 1 7 Differential 1600 Differential 1100 2 TC 1 Differential 153 JNBS 600 1550 1400 2 TC 1 Differential 156 RNBS 1750 1750 2 TC 1 Differential 157 SNBS 1750 1750 1 Differential 158 TNBS 600 600 1 Differential 159 LDIN 1100 1100 N NBS 1300 RNBS O 1750 2 3 4 5 Cu10 GE 2 Ni120 DIN 3 4 5 N re i alo i 100 00 PO PO 00 00 NO PO O1 O01 O01 NI O1 O1 01 O1 NI O1 O O O O O OI OIOJO O NIN o_o 2Wires 157 SNBS O0 1750 400 2Wirs 201 6to22 6 22 Differential 100to100 100 100 Differential 400to400 400 400 2Wires 5i Otoi0o0 O 100 p 2 2Wires 52 0to400 O0 400 2Wires 53 Oto2000 O 2000 Ls
127. ecseccecsecsecsecsecsecsecsecsucsucsecsucsucsucsucsucsursussussucsuesucsucsucsacsacsecsacsatsacsacsarsacsecsucsecsessecsecsecseceeteeeee 1 5 CHAPTER 2 FUNCTION BLOGKS xicciccicdesiericdesies den tena A E ieee 2 1 TEE E Gar E EN IT T vera amr SOUT eta tere Cor eae me eR OT te rat 2 1 EN INPUT AND EO OUTA T a r a a r eget tet han enh ro Sta owe as 2 1 AVAILABLE FUNCTION BLOCKS IN ALPHABETIC ORDER c cssecesesescececescecececcecetececcecececeucevatecescsvetetescevaresereaes 2 2 FUNCTION BLOCKS LISTED BY FUNCTIONAL GROUPG ecescccesececcseecececcecscececcevsceceecevaceceecevateceecevaveceeeavereces 2 4 TIMER COUNTER FUNCTIONS cszsuco ccc cst on Sect as ects te caer a altace da seed cca ducal A L LEEA EL EEEa rnanan 2 4 DATA MANIPULATION FUNCTIONS cccsscssesseceessesseseesscssccecsecsuesucsucsuesucsuesucsucsuessessesucsusssessesucsecsacsucsuessesuesacsecsecseesecseceseseeen 2 4 RAT UIC TIONG ccs haces ae a ee eae a teeta oc ate tact aneetatetbneee 25 COMPARISON FUNCTIONS costes ta reteset acts vacieutccte ld sexecteanse Ace Gc ete sath bd LEE A LAL coda L EAA LA AEA ALL LEAI L L EEA sues EEan tee 25 PROCESS CONTROL FUNCTIONS cscclcit casi eed secu yeadebaltucttuas ate ne bl deeath di duel eSdanetins thc donald ces cldused atcsusuee ds rgenscte 25 INPUT OUTPUT FUNCTIONS ccccccscssssscssessessessecuesucssesucsucsucsucsucsucsucsucsucsucsucsussucsuesucsuesassuesucssesuesecsussuesucsucsecsacsucsecsacsecsecseeseeee 2 6 TIME AND COUNT RE
128. ecsecsecsecsecsacsecsarsecsursursucsucsacsarsutsacsecsarsacsacsetsatsatsetsatsetsatsateaesees 3 17 PPIIIN TOP ON SA 3 18 BE PMD Olcott eed eee freckle aed eee ad gt toed ent eat disaster eal wet cel 3 23 META PARAMETERS s scssessesssssesscsscsscsuessesucsucsucsucsucsuesuesuesucsuessesuesuesucsuesucsussussuesucsussuesussusssesuesecsucsuesissuessesessssseseseeeees 3 32 E Oem amet ree ee ne te ne ten to ee a a rt ee at ene te eC Ect Mle enc ene Canta ce Ro enrCeae aE 3 39 ATO EN ects cette eae cuet te Seg cele ae eat Ee ieee eg eg Re ay eee hee cnet a td eae ate ae 3 41 TOOL MEN Unea eater tent a v meter rte ir eter nny Ea te rte ent a eT eT oen oe 3 44 MODBUS ADDRESSES AT TRIBUTION ce seca ccccsscnstey Oh act cces cat annk khkk eel kk annn Ann an LL n aAA LA EAMA LAL lees LAL EEEE LE EEan 3 47 IO GIC IBA RY sectces sere sedect sce etn bnew scent cet i etic ecru helene geese 3 55 HELP MENU accessed se tesccte oat headin ned annlct As ede cuee Meade pelat hada gate cia AAA AnA tcenl ch Ae shu cl e sel deaecbalactlctaflotunalie cuneate 3 62 0E 2 cae RE Le rie A E A E A TRI Sea Se ee en Le ne 3 63 AINEA R se ce ee cece dg Be ed MaDe ce eRe a elt a 3 63 ZOOM c een cea eee oe E ERLE OLE See emi MRI ed anv ND UNL IS OR ON NN IE re rier cae 3 63 IKES AED APENE caer sete cer ieee cee rast eet te a ta estes ee cate eat 3 64 COMMUNICATION NNE 3 74 HIERARCOE ime a a a a a Teer rer 3 84 INFORMATION ABOUT THE PROJECT ccssssessessesssessessess
129. ecsecsecseesecsacsecsucsarsecsersacsecsecsacsarsecsecsecsecen 1A NEGATIVE TRANSITION SENSING CONTACT ccccccccscecsecccsecsecsecsecsecsecsecsecsecsucsuesecsersucsecsecsecsecsucsursersetsucsarsacsensarsacsecsecsecen 1 1 E E E pense T A E A E A aeceatacwaesentaect shacaaphaaeecn tee 1 1 PE AKo OU cle ince ede east ected i atone chen eds esac fendaencetde tad d 1 1 ET TA o eae secre ec eee cece ache decease cicada meameeeectia em ence done 1 1 RESET UNLATCH COIL ccc ccececis socose ca cesacha ca vac ccd a gcse ectctte acdeed tc cocuisncin cect n D aaar AnA Oaa nAAL AAAA EA O doe A nL anren e oaan re irana 1 1 POSITIVE TRANSITION SENSING COIL ccsccscescesceesesscsseseesecseeseesecsecseessesecsacsucsucsecsucsucsecsecsucsecsarsarsecsecsecsacsecsecsacsatsacseceeeee 1 2 NEGATIVE TRANSITION SENSING COIL ccccscceccesssessessesseceesucsuesecsucsscsucsscsecsucsucssesucsecsuesscsuesuesucsucsuesuesecsuesacsecsecsucsecseeseeeeeee 1 2 RESET RETENTIVE MEMORY COIL c cccccsceccecceessesscseeseesscsecseccecsecsecseesecsecsacsecsucsarsassecsarsucsacsarsatsecsersecsansacsecsecsecsecsecsecen 1 2 SET RETENTIVE MEMORY COIL c cccccsceececseeceeseesecsecsecseessessessessesecsecsecsecsersussacsecsersarsacsecsacsarsucsarsetsarsatsatsatsatsacsetsecsassesseeeees 1 2 HORIZONTAL CONNECTING LINE c scssessessessecsecsecsucsucseccecsucsucsucsucsucsecssesecsucsucsscsuesacsucsscssesuessesacsussuesaesuesecsseseesecsecseeseeseeee 1 2 VERTICAL CONNEC TING LINE vices ian c
130. ecsecsecsucsecsecsecsecsacsacsassecsatsecsatsatsetsatsatseteeeeees 2 144 MULTIPLE ANAL OGHNEUTS NIA aen eters testinal Ott ae alee acl eea 2 145 MULTIPLE ANALOG INPUTS FOR IOR OR HART MAIX cccsessessecseesecseessessessessesscsucsucssessessessesecsuesuessessessesstseeseseeseeseesees 2 146 MULTIPLE ANALOG OUTPUTS MIAO ys cso setae tat a eee do Lats EAn L A pad AA EAA LA EEEn La Eanna 2 147 MULTIPLE ANALOG OUTPUTS FOR IOR OR HART MAOX sssssssesssesssssesecsscssesecsucsuesucsuessesecsecsussuesecsscssesstsseseesesstseeseee 2 148 SYSTEM STATUS STATUS cccccccsccsecssesecseessesecsecseesecsecsecsersecsucsecsecsucsucsecsecsucsecsucsarsarsacsuesersersacsecsarsecsetsacsecsecsessersacseceetee 2 149 STATUS FOR HART VARIABLE SST SHY cxcescnccicdstoccter dece tuctareleaue scundele a a aie tt 2 151 TEMPERATURE TEMP ccsessessecsessessessecseseessesecsscsscsecsseseesecssesecsscsesssessesasssesseseesessssssesacsaessesacsaeseesassassiesessessesesesteseesees 2 153 CHAPTER 3 THE LOGIC VIEW FOR FFB uu wscccccecececcccecucucucesecennenenecucususasausenenecusuaususasaunenenuaueusasansenennanes 3 1 INTRODUCTION Depereemren me tetas ner rr avr tere mo nee ve I mC TCE ae eT ne ET ee oO 3 1 BS TUT OWN E te a tsar eat thas aa ton ae atid gate Nat ante ec 3 1 DE CS ner mv E E weed er Ne eevee EE A I E eee re 3 1 USING THE LOGICVIEW FOR FEB ccccccssecececcscecescecacececsesacececseaceceesesacsceeseacscecsesevacecsesevareceecevarecercevaveceresvareces 3 3
131. eds quickly to change a set of variables in contacts and or coils whose tags finish in 1 by other variables whose tags finish in 10 The Tag Matching window has to be filled as follows Tag Matching x Selecton Rue HAD Search Option FIND variables containing 1 f Contacts Coils variable exchanging CHANGE TO variables 10 Function Blocks tag renaming Tag found by rule Tag suggested by matching OOO YOO010 ENOT FOUND INBOMBT INBOMB10 FOUND woggi YOO010 ENOT FOUND OUTBOMB1 QUTBOMBI10 FOUND QOUTBOME1 QOUTBOMB10 FouND Total matching elements found 3 Matching elements selected 3 Apply Changes Clase Fig 3 56 Tag Matching example By clicking Find Matching the association procedure will search variables in contacts or coils which have the character 1 in their tags When variables with this characteristic are found the matching procedure replaces the character 1 by 10 typed in the CHANGE TO variables field creating a new tag And then the procedure searches variables with this new generated tag and verifies if it is possible to replace a variable by another analysis of compatibility The variables found will be showed in the list with the status of compatibility among them In the above example in the first line the association procedure found a variable V0001 shown in the column Tag found by rule already defined in LogicView for FFB For the selection rule defined in
132. el Fig 3 41 Selecting a template destination 3 21 User Manual 3 22 In this dialog box the user has to choose the destination folder of the templates which will be exported and for this reason the directory and folder selection is free After the destination folder selection or even creation a new one from de available tools of this dialog box just click Save The LogicView for FFB will export the files relating to the chosen template except those with dpt and pgt extension in the selected destination folder Importing a FFB Template To import a FFB Template choose the Import Template to Database option in the File menu and the following window will be shown import Configuration Select Template Lookin ig MyComputer o e e a e Local Disk 0 3 Loca Disk Ds ee DVD RW Drive Es 2 Geral on srvi9 Gs 3 Literatura on srvid Ls ae Users on servi Ts Files of type FFE Template Files pat Cancel Fig 3 42 Selecting a template file In this dialog box the user has to choose the template file which will be imported and for this reason the directory and folder selection is free After the file selection just click Open After import the user will request a tag to the template in question Give a Tag for Logic Configuration Cancel Fig 3 43 Giving a tag to template The LogicView for FFB will import the files relating to the c
133. electing the desired values the simulation occurs as in the previous case where there were only real I Os TA amp G00201 TA amp GOO0301 Rack 2 Fig 3 79 Simulation with a virtual variable 3 42 The LogicView for FFB Any module can be used for simulation except the temperature pulse and analog input modules They cannot be simulated in this LogicView for FFB version If in the simulation some functions are accessing those modules MAI TEMP ACC and ACC_N the analog outputs of these functions will keep always in zero The option Display Scan Time in Status bar will be always active and cannot be disabled The Scan Time showed at the LogicView for FFB bottom bar Status Bar is the scan time which is the time that one logic cycle takes to be executed in the device To choose the device in which the scan time will be monitored the user has to click Stop Run icon next to the icon used to connect to the Server Besides serving to trigger or stop the ladder execution in the device the icon Stop Run is used to enable time scan requests just to define the device There will be always one device only on which the logic was downloaded The information about the Scan Time can be obtained just connecting to the Server This time will appear in the Status bar 3 43 User Manual 3 44 Tools Menu By clicking Tools or through the shortcut ALT T the following menu will open Logic View for FFB T
134. emplate E4308 9BE89EE4CE File Edit view Ladder iii Help Time Calculator Options Properties Editor Ctr E ModBus Address Logic Library Manager Logic Properties smar Logicviews TAG Eel Propane i ig 3 80 Tools Menu The Time Calculator option can convert the time values given in hours minutes seconds and milliseconds HH MM SS MS to milliseconds seconds minutes or hours The user has to enter the value that will be converted in From choose conversion unit in To and then click Convert The conversion result will be shown in Result See the next figure Time Calculator From M h M2 m 3 g fo ms To Is Result 4323 0000 Close Fig 3 81 Time Calculator The work area appearance and connections can be configured in Options As shown in the figure below in the General tab the user may configure the drawing area background color the grid color the page break color the object selection color and the cell background color of the Object properties Besides in this tab the grid may be configured if it will be shown or not the auto scrolling if the function blocks parameters addresses and Modbus addresses will be shown in the Object Properties window and also the Undo Redo levels The user may disable the confirmation dialog box about keeping or not the CPU running when the configuration download is done via Syscon It is possible for u
135. erates in the STS output the status of the outputs each bit corresponding to an output where 0 indicates good and 1 bad MAOx MULTIPLE ANALOG OUTPUTS FOR IOR OR HART TYPE BOOL CLASS MNEM DESCRIPTION EN FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT EO ONG P LONG I Input P Parameter O Output DP PPP ae aan Ilola R O S O Q O IMPORTANT The CN parameter has to be configured obligatorily with the slots base channel where the module is inserted The rule for filling is RRSOO where RR rack and S slot Examples e 200 Rack 0 slot 2 e 12300 Rack 12 slot 3 User Manual System Status Status Description This function when EN is true allows configuring 8 boolean variables which inform the I O module status This block is recommended for a better monitoring of the functional state of each used I O module Thus the system can be advised if some I O module have a failure So that is easier to find a damaged module The GLL number which is printed in the circuit board must be higher than 1100 otherwise the module will not support identification by the Status block Parameters The programming of the monitored I O module is done defining a pair of parameters RACKi and SLOTI RACK1 defines the I O module s rack which status will be monitored in the OUT1 output SLOT1 defines the I O module s slot which status will be monitored in the OUT1 out
136. ere reached The DB parameter can be adjusted to generate a hysteresis avoiding output oscillation while the variable is close to the limit value RAT Parameter and ROC Output The ROC output goes to true when the signal rate of change reaches the value set in the parameter RAT When the A input changes faster than RAT the variation in the output is kept inside the value fixed by RAT until the A input signal decreases to a value inferior to RAT The ROC alarm in this interval is on high logic level 2 135 Function Blocks 2 136 XLIM CROSS LIMIT AND RATE OF CHANGE CLASS MNEM DESCRIPTION TYPE Bo BINPUT o POAT VERIFY BOTH ONLY POSITIVE ONLY L G B G B BL UPPER LIMIT GAIN FLOAT BH DB L H UPPER LIMIT BIAS FLOAT DEAD ZONE HYSTHERESIS FLOAT SPEED OF MAXIMUM VARIATION PER SECOND FLOAT SELECTS THE INPUT AND THE OUTPUT FORMATS PERC BETWEEN 0 10000 AND 0 100 BOOL I Input P Parameter O Output User Manual Input Output Functions Pulse Accumulator ACC Description The Pulse Accumulator Block works with the DF41 DF42 and DF67 Modules Modules of pulse inputs with the purpose of accumulating pulses that are coming from an external source The pulse input is configured in the IN input parameter IMPORTANT The IN parameter has to be configured obligatorily with the slots specific point where the module is inserted The rule for filling is RRSGP where RR rack S slot G
137. es of the Boolean Algebra 1 2 A A A AA A 1 A A A 5 At S 7 A AB A _ _ 9a When these expressions become too complex we suggest that you use the Karnaugh map in order to simplify them This information is easily found on any Digital Electronics Book 1 5 User Manual 1 6 Chapter 2 Introduction FUNCTION BLOCKS This is a complete and updated reference of the Function Blocks FB supported by the DF62 DF63 DF73 DF75 DF79 DF81 DF89 DF95 and DF97 controllers This chapter presents block diagrams with inputs outputs and configuration parameters It also includes detailed explanations of each block how they work how to configure each one of them Besides a few examples are presented in order to help understand and utilize the Function Blocks The data types used by LogicView for FFB are shown in the table below Reference Data Type Number of bits BOOL Bean O O LONG 32 Unsigned FLOAT Fost Each function block has a table that shows all inputs outputs parameters and variables of each block l Inputs They can be a variable from another FB or from an I O card or user configured P Parameters They are the values internally used by the function blocks O Outputs Variables resulting from the processing of the block ATTENTION A comma is not accepted in place of a decimal point E g for 9 5 you should write 1 8 instead of 1 8 If you write 1 8 the program will read 18
138. esecsecseesscsscsecsecssesecsecsucssesecsuesecsessussassuesatsecsesssssecssesiesecsssatsseeeeeees 3 84 HARDU ARE arcs wale cet hg at Cece ME sets hI lal PIS cadet alam sami AC cet 3 85 OG NS ccs ics ema ee eae en rs ee 3 107 NAD TUS eee ccc ae Vt nak cc eA eel nae Ne hci cal sn eat eae baa 3 109 FF BLOCK DEFINITION cosssticd arin ussceck oussdsscsandadodetiadl sstandocdsdstdes esbaashtedacidanlaatsadeastdaths seboedbedsihialsesbsadeesatstds sxtoadiesbdsrinsseonadse 3 110 OBJECT PROPER TIE Scere te Ser ie ent eth a Seed Be eae Aer a Sead Nad cen ae Bets Slt ard te 3 111 LADDER DRAWING AREA miana tne yh ttl can teen case eh teal ican ce ese inlet aon de hiked cancion at 3 112 Vil User Manual INSER V REMOVE BEANK LINE ceisia ak al ulipelteu a alte ling oleate teu ak ote ed alin ltet Anal a 3 112 I aelrsactte tices cht pence bn ceria big A ats Gre tear lade taunt and eats ced niet Scene ee alienated emseal te 3 114 STATUS BAR Scat cee cath tte ted a te ade nonce aha tecars uate iseeadetomak O salateea bh sendadideaacteahiceaes he 3 115 CHAPTER 4 LADDER LOGIC EXAMPLE WITH LOGICVIEW FOR FFB scconscccnssecensesennenennssenenenenss 4 1 PROCESS DESORPTION arare renner eee terror eaaa ner ry rer E a aasian e Naaa e SE aaa Er aa PEE A ENO here Freee e 4 1 STARTING THE al me Og eee a e e a ea ae a a a aa ena reer rere eres 4 1 CGONRIGURING THE RARDWARE eh a yen E E A E enue aaaieee 4 1 DRAWING THE LADDER LOGIO iiciin a E E E ania 4 3 ALARM
139. esucsucsucsucsucsuesuesucsucsussuessessesucsacsucssesuessesseseessssessesseseeeees 2 15 REDUCED PULSE UP COUNTER 2 CTUR cccccccescessecsecssesecsecsecsecsecsucsecseesecsucsucsersecsucsecsersarsarsecsarsacsarsarsessatsetsetsessetsetseeeess 2 16 FE SE E e cart steele a cate ee erage ed ceccreneatn eta cuca as Satta tte a tian ect tentata ae ate cease eat 2 17 REDUCED RESET GET ROR rires o ae ian aa araa aa a e a s ae i 2 18 REAL TIME ALARM RTA sce ec cance uted uteccn ended cee aed te aac na ears cantante ELA EEEn 2 19 SE ae eae te aoe cna eee eee ae beeches ee ae acc deere dhe ated Selene hereto hte cata ces 2 21 REDUCED SET RESET SRR ssesvessansh sau siancssianacedou titeseneds nc tSadlesbenacisentdedlsdnndetet alls stnedeses eleedeaedetided au listeanddsdaastiasonedsetes 2 22 OFF DELAY TIMER TOF ccccscescesceccecsecsecsecseccecsecsucsecsecsucsecsursucsecsersucsersarsersarsarsarsarsarsacsucsecsacsecsatsacsarsecsersussatsetsacssseeseesese 2 23 REDUCED OFF DELAY TIMER TOFR ccccscescessecceeseesecseesecsecsecsecsucsucsecsucsersersursarsussecsarsarsarsarsassarsacsatsersatsarsatsecsecsetsetseteees 2 24 V User Manual Vi ON DELAY TIMER TON wisest heen eat go oa tenth ankh hkkk annn kk kk anan Lk shootin ian ALL n AAA LA AEA A LA LEAI LA EEA ALAE EEEE LE EEA E Eanan 2 25 REDUCED ON DELAY TIMER TONR ccccccceceeccseesseseeseesscsecssesecsecseesecsecsecsecsursecsersacsucsucsarsarsacsacsarsecsarsessecsatsatsatsacsatsatsateess 2 26 P
140. et Point L R SPL SPLL and SPLH The L R input defines if the set point used in the integration will be remote SP input or local SPL internal parameter If L R is true the local will be used if is false the remote will be used The local set point value is limited by SPLL and SPLH parameters If SPL is configured with values out of the range defined by SPLL and SPLH the SPL value will be kept in one of theses limits This limit is valid for SP and PV with the same action type of SPL These limits also have a second function which is to define the values range for the action of SP and PV variables i e utilization of engineering values The default values for these limits are 0 and 100 that is PV and SP are in percentage However changing the default values of SPLL and SPLH will be possible work with any values range for PV and SP i e they are considered in engineering units EPID ENHANCED PID CLASS MNEM DESCRIPTION TYPE SEC SET POINT SELECTION LOCAL 1 OR REMOTE 0 BOOL A M MODE SELECTION MANUAL 0 OR AUTOMATIC 1 SET POINT FLOAT PROCESS VARIABLE FLOAT FB IF A M IS FALSE THE INPUT CONNECTED TO FB PASS TO THE FLOAT OUT OUTPUT IF SEC IS TRUE THE INPUT CONNECTED TO SEC_V WILL PASS E oat _ TO THE OUT OUTPUT E BOOL BOOL ALM 1 BOOL BOOL OUT FLOAT OUT FLOAT FLOAT TR FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT DEFINES THE PID CONTROL TYPE OVER THE ERROR AND LONG PROCESS VARIABL
141. face Connections ModBus Address 0 pl ES OEE EE fi r5 amp Network I O Untitled E mm FERRER nh w hee n og Ladder 0 Ladder 1 Ladder 2 Ladder 3 Ladder 4 Ladder 5 ers ntroller 1 Hardware Virtuals lt M Meta Parameters FF Block Definition illetle V Show Grid Paper Color Auto Scrolling os Grid Color emery at 5 Enable Function Addresses on Property List toperty Name rege Value L 0 Enable Modbus Addresses on Property List Page Break Color snes 1 ution TRUE Enable Information Dialog during FFB Download Selection Color Y Only Scan Time prevails upon Syne Time F Only Syne Time Alternate List Color a 2 F Display Links Only in the Current Net ae Online List Color f Simulation Color Separator Cache Level 5 es 3 Undo Redo levels 20 Lz View Mode Color OPC Timeout fi 500 is Supervision Only Color g Cancelar 5 6 F F B LOGIC Workspace System302 Scan Time lt N A gt Device lt N A gt Ladder Status lt NiA gt 0 Ladder 0 Cell 4 1 Ca isual Sourc v Studio302 cS Database Cl Syscon cl Logicview fo SUPERYVISI Fig 3 20 Supervision Only mode Simulation Mode This mode is used for simulation of SYSTEM302 control strategies through the SimulationView tool Both Syscon and LogicView for FFB must be Online to simulate the strategies For further details on how to configure an
142. g from chapter 3 prior to the other ones and consult chapters 1 and 2 any time it is necessary Iii IV User Manual This document is a description of all function blocks and ladder logic elements implemented in the controllers DF62 DF63 DF73 DF75 DF79 DF81 DF89 DF95 and DF97 Besides this document presents a description of how to configure and edit ladder networks through Smar s Logicview for FFB This document also describes details of this software Smar reserves the right to change any part of this manual without prior notice Note that different versions of these controllers have different types of data function blocks and generic characteristics Table of Contents TABLE OF CONTENTS CHAPTER 1 NETWORK ELEMENTS LADDER ELEMENTS 1 ssccecceccnccnncnnsensnnsnnsensenscnsenseuseussneeueens 1 1 THE NETWORK ELEMENTS coach can ctecrce thers oocect et cruateadias Scleassdtes acters tes teases cad oeaitieckedhdeneeabtutesestladadestaoie eeu cvstaataacteats 1 1 DEFINITIONS OF THE NETWORK TOOL BOX ELEMENTS IEC 61131 3 STANDARD LADDER 0 0 00 1 1 NIC IMAI VCORENG ONT C ssc ec he ec hkkk enakkk kannn hk nde te enact ALAL EAA LLL EAA LLE EAA LL EAEI E EEEE annan 1 1 NORMALLY CLOSED CON TACT scsi ce eta steccsssce tented hhkkk anank kkk annn h kk annn h k kann nA n cabins ce Mivtalectboseb A EAA LL EEA AL EEEE E annan 1 1 POSITIVE TRANSITION SENSING CONTACT cccccccesesseessessesseseeseeseesscseessesecsucsucsecs
143. g operation are e Contacts Coils variable exchanging for contacts and coils the matching operation will find those whose tags are in according to the Selection Rule which will be described later verifying one by one if the variable s replacement is possible e Function Blocks tag renaming for function blocks the variables replacement is not possible The available option allows renaming the tags of a set function blocks which are in according to the Selection Rule Selection Rule the fields to edit the selection rule allow the user to enter the tags characters which will be found and replaced in the diagram similar to a Find Replace procedure 3 29 User Manual 3 30 The first edition field is FIND variables containing or FIND Functions Tags containing if the Function Blocks tag renaming option is selected has to be filled with the characters of the tags which will be found for a possible replacement The second edition field CHANGE TO variables has to be filled with the characters of the elements tags which will replace those found by the first field FIND variables containing If the Function Blocks tag renaming option is selected this edition field will show the text RENAME Function s Tag to indicating that the operation will not be to change variables it will be to change tags To better understand Tag Matching see the example below The user has a set of variables previously defined and ne
144. gicView for FFB Choose the desired library and then the logic The drawing will appear in the window bottom part In Logic Preview field can be chosen the view zoom Click Import Logic and the following window will appear Importing Logic LOGIC1 From Library LIGRARY1 Step 7 Tags alidation F xi Library LIBRARY Logic LOGIC f Function Blacks Tags j Meta Parameters Tags Tag on Library Tag on Ladder Function Block TON_2 TON_2 invalid Tag Function Block T N_3 TON_3 invalid Tag Meta Parameter IN_D_O IN_D_O Gok Meta Parameter 0000 V0000 Gor Meta Parameter 0001 gwoon Gok Meta Parameter HOUT OO OUT_D_o Gok Meta Parameter OUT16 l OUT16 0 01 Gok Meta Parameter HOUTI6 0 00 OUT16_0_00 Gok Invalid Tags total 2 lt Back lear Customized Tage Finish Fig 3 115 Importing logic from library 3 60 The LogicView for FFB In this window will be shown the meta parameters tags of the logic that will be imported to LogicView for FFB The table items are e Type this column identifies the parameter as function block tag or meta parameter e Tag on Library this column shows the tag that was exported to the library e Tag on Ladder this column shows the element tag that will be imported to the LogicView for FFB and it can be edited and modified e Status this column shows if the tag defined in Tag on Ladder column can be imported or not depending on criteria of compatibility and inte
145. grity of tags The Filters box allows viewing the tags of function blocks meta parameters or both During the importing process the LogicView for FFB checks the tags compatibility between the ones of the logic that will be imported and those already defined and used in the discrete logic ladder If there is some compatibility problem the tag will be marked with Invalid Tag in the Status column and must be changed Examples of tags incompatibility e Function blocks if the ladder already has some function block with the same tag of a function block of the logic that is being imported this tag will be marked as Invalid Tag Meta parameters if the ladder has some meta parameter with a tag equals to a meta parameter defined in the logic that is being imported they must be of the same type Digital Input Digital Output Analog Input Analog Output If they have different types DI X DO the meta parameter tag will be marked as Invalid Tag All tags changes can be undone by clicking Clear Customized Tags button Click Finish to conclude the importing process The following window will appear Logic iew for FFB 25 x A The logic was sucessfully copied to Clipboard You now may just paste it on any Logicview diagrams Fig 3 116 Logic was successfully copied A The importing only can be performed if all tags statuses are OK Otherwise the following error message will appear and the importing process will return to t
146. groups Click Add and a new group will be created The user can define the range s initial address respecting the predefined values in the table 3 1 In case the initial address is out of specified range messages as the following will appear Logic View for FFB B40 ADDRESS J The address range For this type of element is 1537 9999 fused with increment of two For the next start address Fig 3 94 Error attributing addresses to groups 1 Besides respect the predefined ranges the user should be attentive for does not give even initial address to the elements groups with analog inputs or analog outputs The following message will appear LogicView for FFB 1 This type of element cannot start with even addresses Please correct it to continue Fig 3 95 Error attributing addresses to groups 2 If the quantity of the selected elements exceeds the address free range the following message will appear Redefine the addresses or groups 3 50 The LogicView for FFB LopicView for FFB l This address has already been used Please correct it bo continue Fig 3 96 Error attributing addresses to elements To attribute a group to an element with a free address just select it click Grouping then in the desired group and double click or click Ok If a group is defined more elements are inserted and do not fit in the range the following message will appear LopicView for FFB 1 The
147. h set point adjustable by the user PID P and D actions act over the error thus the output signal changes when there are changes in the processes variable or in the set point It is recommended for ratio control or to cascade slave control I PD In this type only the integral action acts over the error The set point changes producing soft output signal variations It is recommended for a process that cannot have sudden changes in the variable due to the set point change It is the case of heating process with high gain PI SAMPLING In this option when there is a deviation the output signal changes according to the PI algorithm during a time t0 which is adjusted by ATRIS parameter Then the output signal is kept constant during a time t1 where the total cycle period t0 t1 is adjusted by PPIS parameter If the deviation persists the output signal will vary again during tO and will remain constant during t1 This type is recommended for processes with high dead time User Manual py DEVIATION SP PV SP 0 t OUTPUT 0 it amp amp t0 t1 Sampling Period PPIS t0 Actuation Time ATRIS Pl Sampling Algorithm Type ALG It is defined by the ALG parameter ALG false Parallel algorithm or Ideal ALG true ISA algorithm or Non Interactive de t PARALLEL MV t K e t e t dt T R de t ISA MV t K e t fedt T R Act
148. h the sum of the durations calculated by DURx parameter The timer resets that is it is positioned in the starting point of the curve if the RESET input is 1 After resetting a new Start is waited in order to reinitialize the timer again When the RESET input is used and while its value is 1 the block is kept in reset So the timer will be available to start only after the RESET parameter changes to 0 Every time that a trigger of SPG block via STR happens necessarily to do a new trigger it is necessary first to do a RESET The timer may be interrupted at any moment changing the discrete signal PAUSE from false to true The timer will reinitialize when PAUSE is set to false and none condition interrupts the timer The timer is also interrupted by a PAUSE caused by a deviation between BKIN input and the generated set point Deviation BKIN OUT The deviation is set in ADEV percentage The timer stops and returns to normal operation when the deviation is within the prescribed limits If the ADEV value is 0 it will not be considered Another way to discard this value is to connect the OUT output to BKIN input In both cases which the timer is in PAUSE the P_ST output goes to 1 User Manual The set point is in the y axis while the time is in the t axis The set point value is available at output OUT Three outputs inform the current point of the curve ST_PS Informs the current segment or step TM_PN Informs
149. he window of figure 3 115 Logic iew for FFB a x A There are invalid tags You must change them before importing this Library Logic Fig 3 117 Importing error The imported logic can be pasted more than once in the ladder configuration However from the second paste the LogicView for FFB will check the data consistency and to apply the procedure described on Intelligent Copy Paste topic Click Ok and paste the copied logic in the desired area 3 61 User Manual Help Menu By clicking Help or through the shortcut ALT H the following menu will open LogicView for FFG exemplo_ladder 1 File Edit wiew Ladder Tools alin E y E Help Topics 7 About Logicview A q Lt Proc rey Data CEPOL LOTT Fig 3 118 Help Menu In this menu the installed software version can be viewed and the software help is available 3 62 Toolbars The LogicView for FFB Here the details of LogicView for FFB toolbars will be presented They can be enabled or disabled as seen in the View Menu topic Main Bar SRlo a P a Fig 3 119 Main Tool Bar oe Wk BR Besides the basic Windows options New Open Save Cut Copy Paste Print Print Preview and Help this toolbar has some new options Copy Drawing Commit Export Tags for OPC Browsing Find and Replace and Revert The Copy Drawing En command works just like the Windows Copy command The selected drawing will be copie
150. he CDN 2 ps fo UT_1_ Las EL block i linked to the QUT 1 LABEL output of the FFA block FP input of the COM 2 block TOMr_1 ET i linked ta the ET output of the TOMr 1 block E Fig 3 131 Links in the functional block inputs and outputs Elements Tab Each one of these symbols below was described at chapter 1 To understand how they work please read the chapter 1 This topic presents how to insert these elements to build the Ladder logic t T ti OG 6 6 6 6 amp gt i l 8 x KX Fig 3 132 Elements Tab With this toolbar the ladder elements can be inserted or deleted and then programs in ladder networks can be created and edited To add a ladder element in the network select an element contacts coils verticals or horizontals connecting lines in the Elements Tab of LogicView for FFB Click the element that will be added and place it on the desired cell in the ladder drawing area The LogicView for FFB automatically inserts this element The LogicView for FFB has a check as you go feature that prevents the user to insert elements that do not be applicable to a specific cell In this case the following message will appear LopicView for FFB A Cell cannot be inserted at this position Fig 3 133 Alert about element insertion in a cell The chosen element can be inserted how many times that will be necessary without having to click again Elements Tab To cancel the command pre
151. he Download Configuration button allows downloading the instance configuration the configuration 1131 ATTENTION The first download of a configuration always has to be done by Syscon If trying to download a configuration before the device is commissioned or the configuration is not saved the following message will appear LopicView for FFB Device commissioning is necessary First Please return to HSE network funder Syscon application and execute commissioning and or save the configuration Fig 3 144 Download error 1 Return to Syscon to commission the devices and save the configuration If the first download was not done via Syscon or if the FFB tag was changed or reviewed when executing new Define parameters the LogicView for FFB will show the following message when downloading via LogicView for FFB 3 75 User Manual LogicView for FFB Current FFB definition does not match wtih internal Device definition Please return to HSE network funder Syscon application and execute download of the Device in order to synchronize the missing information Fig 3 145 Download error 2 The user has to return to Syscon and download a device After the user has done the first download via Syscon he may be done others via LogicView for FFB But the user has to choose if the CPU will continue in running mode or not or if the download process will be canceled ga Click Download Configuration button and the f
152. he next dialog box will appear Step 1 Configure Logic and Library q i x Logic Properties ene CALDEIRA_1 Description 5 etup inicial de Caldeira Library Selection Hame CALDEIRAS Description Biblioteca de Caldeirad New Lib From the list T rea Fig 3 107 Export to Logic Library option In the Logic Properties box the user will define a name to the logic that is being exported with a description optional In the Library Selection box there are two options e New Lib this option is used to create a new library with a description optional If already 3 55 User Manual exists the library the following message will appear Logic iew for FFB x Library name already exists Type another name or choose s From the list belom Fig 3 108 Error message In this case choose the From the list option e From the List this option allows the user to select an available library in the list of logic library It is possible to export more than one logic to the same library but only one by time If already exists in the selected library a logic with the same name of the one that is being exported the following message will appear Logic iew for FFB y A Function name We already exists at library W Click Yes to OVERWRITE the Function or click No and type another Function name Fig 3 109 Error message The user has the opt
153. hosen template except those with dpt and pgt extension from the selected origin folder and will create all the necessary references to the Integrated System management When the import process finishes the LogicView for FFB will open the FFB template file newly imported NOTE The Import Template to Database and Export Template from Database options are available only when the LogicView for FFB is already opened in Template mode For further details see the Template Mode topic The LogicView for FFB Edit Menu By clicking Edit or through the shortcut ALT E the following menu will open __ LogicView for FFB ghy E463BCB0D61 File P View Ladder Tools Help O x 1 es Select All Hier Find and Replace Find Links Tag Matching Find Meta Parameters Meta Parameters Replacement Fig 3 44 Edit Menu Intelligent Copy Paste The LogicView for FFB has a smart feature to copy parameters of logic diagrams The common operations on Windows such as Copy Cut Paste are applied to a set of selected elements of a logic diagram through the button k and they are available in LogicView for FFB as follows Copy Drawing this command only copies the ladder drawing contacts coils and function blocks etc removing tags and links Cut this command cut the selected group removing it from the drawing area Copy this command copies the selected group keeping besides the
154. ick the input then Toggle Value and the input value will be inverted The CPU can be in Run or Stop mode ATTENTION e The execution modes may be simultaneous elf some execution modes are activated and LogicView for FFB goes to offline when it came back to online the execution mode will be kept For example the LogicView for FFB is online and Freeze In is the execution mode When it goes go offline and came back to online the execution mode will be Freeze In automatically 3 83 User Manual Hierarchy 3 84 This window can be enabled or disabled through the View Menu In the Hierarchy window the user can verify all the project structure Every Hierarchy item will be detailed in this topic Esmar Logicview TAG 4real_DFS9 FFB2_1 Programs EB Untitled cy O Ladder 0 amp amp Controllers G5 Areal _DFa9 E g Hardware virtuals y Meta Parameters F ea Network IC H FF Block Definition Fig 3 161 Hierarchy Window Information about the project The LogicView for FFB allows information about the project to be inserted Click LogicView on the tab Hierarchy that will enable in the Object Properties window several items in which the user can insert information about the project for example the company s name plant project controller device etc Object Properties Ex _ gt j Property Hame Property Yalue Company Smar Plan lan Project Projeto Sar Revisia Leader ersia
155. ing By default a group for each element type is created Inputs or Outputs In case the user needs new groups can be created also is possible remove them To create new groups first is necessary to have available Modbus address Select the tags which will form the new group the selection may be done in the Windows standard mode with the Shift or Ctrl keys and click Ungrouping The following message will appear LopicView for FFB 7 You are trying to remove the group assigned to this TAG Ore you sure that you want to do this i Cancel Fig 3 90 Removing groups Confirm or cancel the operation In case the address is not free the following message will appear LopicView for FFB A Some TAG selected already has GROUP assigned Please remove these TAG to continue Fig 3 91 Error creating groups 1 3 49 User Manual The selected tags must be of the same type Inputs or Outputs otherwise the following message will appear LopicView for FFB A Grouping of different types of parameters is not allowed Please select TAG of the same parameter type For grouping Fig 3 92 Error creating groups 2 With free addresses new groups can be created just click Grouping and the following window will appear ModBus Address Grouping Selection Group StartAddress EndAddess Description 1 70001 10040 Automatic Assignment Selected TAGs nj Fig 3 93 Creating or attributing
156. inserting the FFB block in Syscon the user has to define its parameters Only then the discrete logic can be edited Right click FFB block and choose Define Parameters The figure below will open B FFB Parameters Definition Edit Mode Xi Digital Inputs a2 4 Digital Outputs a2 4 FFB_DI Tag FFB_DO Tag 4 OUTDO OUT_D_0 gt OUT_D 1 OUT_D_1 OUT_D 2 OUT_D 3 OUT_D_3 gt OUT_D 4 0UT_D_4 gt NDS IN_D_5 e oUr oS jouTo5s INDE IN DE E OUTDS JouTDE Ej Analog Inputs 32 H Analog Outputs 32 H FEB_Al Tag R FFB AO Tag gt INO INO OUT_o gt IN 1 N1 OUT OUT IN_2 OUT2 ouT2 IN_3 OUT3 OUT 3 IN_4 OUT 4 OuT_4 gt N5 IN_5 OUTS OUTS INE IN l DUT OUT amp hd iO Type f Single 1 0 Multiple 170 Cancel Change IO Quantity VOUsedin fy WOUsedin Je 140 Used in Logicyiew 1 0 Used in oe WO Not Used 4AF Logice Sycon 7 and Svscon E Area Link Number of Os o INSTANCE Fig 3 9 Defining the FFB parameters From the 7 3 version of SYSTEM302 the FFB is automatically created with the following number of parameters 32 DO 32 DI 32 AO 32 Al 4 DO64 4 DI64 4 Al16 and 4 AO16 these last four types are created for the FFB2 Here the user can configure the number of analog and digital inputs and outputs Analog Inputs Analog Outputs Digital Inputs Digital Outputs Analog Inputs16 Analog Outputs16 Digital Inputs64 or Digital Outputs64 respec
157. ion Type Some processes require that the output signal manipulated variable MV increases when the process variable PV increases while most of the other applications require the opposite The choice of the action type is done by ACT parameter PARAMETER ACTION TYPE EFFECT _ep_ Output decreases with B l py Output increases with ACT true an ee the increase of PV Error type Linear Quadratic TYERR In the deviation or linear error TYERR 0 the considered error in the PID calculations is given by Reverse Action e SP PV Output decreases when PV increases Direct Action e PV SP Output increases when PV increases There are processes where the deviations in relation to the set point are preferable to disturbances caused by the controller on downstream processes Therefore the control actuation should be small for small deviations and increase gradually with the size of the deviation A typical example of this type of process is the level control of a tank which the set point is not as important as the flow stability downstream the tank This type of process can be controlled with adaptative gain control with gap or quadratic error The quadratic error TYERR 1 the error to be considered in the PID calculations is given by 2 91 Function Blocks 2 92 Reverse Action e SP PV Output decreases when PV increases Direct Action e PV SP Output increases when PV increases e le 1
158. ion about hardware conflicts that occurred when configuring hardware access in Syscon and LogicView for FFB simultaneously Possible conflicts can occur when accessing the same output via function blocks or via ladder logic or if there are conflicting configurations for the temperature module DF45 The information about possible conflicts is available in the Output window see the following figure In this example is indicated that the point 1 of the module in rack O slot 1 is being used by ladder and function blocks simultaneously In this case the point s value will be defined by blocks To solve the problem the user has to remove the conflicting point of the ladder or function blocks LogicView for FFB FFB2_1_Controller 1 8000018501_000101 pgi 1 File Edit view Ladder Tools Help 6 k P H ta ok q Bl ot 10x X Time Pulse__ Process Data Mathi Comparison __Elements__ Communications a 2 ga Qa Da FRA Git E Bg os y e ga m fio pa 82 38 ba arte x smar Logic iew TAG FFB2_1_Controller 1 Programs EB Untitled m 1 1 Ladder 1 2 Ladder 2 Fl 3 Ladder 3 E 4 Ladder 4 5 Ladder 5 Fl 6 Ladder 6 2 SA Controllers QS Controller 1 lt gt Meta Parameters 6 Network I O FF Block Definition o003 OUT_D_31 4 3 3 3 3 F i gt ANNA y x rack 0 slot 1 Point Not Available This point is being used by a block I Points 1 Ready FFB LOGIC Wo
159. ion of the FFB menu See the figure below H fey HSE Network 1 O HSE Network 1 H E Controller 1 BLK 1 H E Controller 1 DIAG 1 H Controller 1 HC 1 H E Controller 1 TRORED 1 OFF Line Characterization Customize Characterization New Trend Define Area Link Parameter Edit User Parameter Tags Delete Block Petach Block Define Parameters Edit Logic Mew LOgIG Replace On Line Characterization Upload Attributes Fig 3 18 Insertion of a FFB via template A list of FFB Templates which were created by the user will be shown Select one of them and click OK A FFB instance will be automatically generated by the system and incorporated to Syscon Control Module The LogicView for FFB Replace FFB FFB2_1_Controller 1 Templates M Only Logic lt b ccce db ffb_base Block Tag FFI Ease Information Manufacturer Device Smar DF73 Cancel Help Fig 3 19 New FFB via template If the user wants just to replace the FFB internal algorithm logic the Only Logic option on the previous figure has to be selected Click OK to finish IMPORTANT Some important notes about Instances and Templates of FFB e The modifications on a FFB template will affect only the FFB instances that are created AFTER the modification is done Any instance created BEFORE the FFB template modification will not be affected by this modification Two different co
160. ion to replace the former logic to the one that is being exported by clicking Yes Otherwise click No and change the information in the window of figure 3 107 In the From the list option an existing library can be chosen or a new one can be created by selecting the New option Give a name and a description Each library can have several logics Give the names and fill out the necessary descriptions Click Next and the logic will be exported The logics selected for exportation cannot have meta parameters If the selected logic has at least one meta parameter an error message such as the figure below will appear Logic iew for FFB X A Cell associated with Meta parameter MT_DO_ 0000 cannot be exported Remove or replace the meta parameter and then export the cell After defining the data of figure 3 107 the following window will appear 3 56 The LogicView for FFB Exporting Logic LOGIC to Library LIBRARY1 Step 2 Tags Edition x Library LIBRARY Logic LOGIC Filters f Function Blocks Links i Contacts 4 Coils Automatic Tags Generation Using logic name LOGIC as Seed Use Orginal Tag Cell Type Original Tag Tag on Libr Description Contact YOOOO YOOOO Coil 00g ooo Contact IM DO IN_D_O Coil OUT_D_O OUT_D_O Contact NDO NDO Coil OUT_D_O OUT_D_O lt Back lear Lustomeed Tage Finish Fig 3 110 Tags edition during exporting proce
161. iption The set point generator block is normally used to generate a set point to a PID block in applications like temperature control batch reactors etc In those applications the set point shall follow a certain profile in function of the time When EN is true the algorithm is enabled The curve is defined by ten segments or steps Each segment is defined by initial value VALx and time duration DURx The initial value of the next segment defines if the previous segment will increase will decrease or will keep constant The curve is given by VALx Starting value Eleven analog point values defining the initial value of each segment in engineering units DURx Time duration Ten analog point values defining the duration in seconds of each segment A zero value defines the last segment The two arrays define the set point value y axis in function of the time t axis Between two given points the set point is calculated by interpolation As each segment is defined by VALx DURx and VALx i a template with n segments will need n 1 starting values and n time durations As example the two following arrays define the curve shown in the chart below 60 60 120 60 60 t seconds stepl step2 step3 step4 step5 Setpoint Curve The position in the time axis t axis is controlled by an internal timer This timer is started by a transition from false to true at STR input Once started it runs up to reac
162. iption e Q Value for THR On Hysteresis upper limit of flow to set the THR outputs of the ACC and ACC_N blocks e Q Value for THR Off Hysteresis lower limit of flow to reset the THR outputs of the ACC and ACC_N blocks OBSERVATION Always configure Q Value for THR Off lt Q Value for THR On e Pulse Count Period Period in ms for the flow calculation e g when wanting to know the flow in a time interval from 2 to 2 seconds configure this parameter with 2000 2 seconds is equal to 2000 milliseconds Object Properties Property Mame Property Value Pulse Module 10 T4901100 Input OFE 01100 Pulse Period Description Fig 3 194 Configuring the Pulse Count Period Temperature module The available temperature module is the DF45 After inserting it as described previously it must be configured Right click the module and open its configuration window by selecting the options Edit Analog Modules and then Edit Temperature Module 3 99 User Manual Hierarchy smar Logic jew H E Programs ea Controllers Hardware H Rack z Rack o Rack 1 Al E virtuals Fea Network 1 0 Edit Temperature Module 4 FF Block Definition Fig 3 195 Configuring the temperature module The window on the next figure will appear and the module configuration can be changed Each channel or point has a configuration independent from the other eight ones Select the desired
163. irtual FFB Meta Parameter or Net I O In case of FFB discrete points the status value is represented by the same tag of point value followed by a tilde in front of the tag IMPORTANT In the logic any status value always will be 1 true if the status value is Bad or Uncertain and 0 false if the value is Good When a parameter type is selected a list with possible items their default tags installation s local and Safe Output values appears The user has to choose what suits him best It is not possible to edit the tags and safe output values in this window If after setting the parameter the user presses the ALT key plus the left mouse button the Stamp function will be activated in which the mouse cursor takes the form of a stamp With this function the user can replicate the same tag to other elements just keeping pressed the ALT key and clicking the left mouse button The Stamp function for contacts and coils is also activated by clicking the element Thus the element is stored By pressing the ALT key plus simple click on any contact or coil the element is replicated The Stamp function can also be used similarly for functions The internal and the input parameters without links are stored and can be replicated in another function of the same type of the original IMPORTANT The stamp function only can be performed if the focus is on the ladder drawing area e Right click the element The next window will o
164. is true converts BCD value in the IN input to an integer number and places it in the OUT output Conversion A 2 digit number on BCD has the following format BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BITO Each set of 4 bits composes a digit For example the number 10 If expressed in the BCD code it is written as 10 The first digit can be written in the binary form as 0001 and the second as 0000 So 10BCD 0001 0000Binary It is common to confuse the BCD code with the binary representation However each group of 4 bits only represents one digit varying from 0 to 9 There can t be a representation on BCD like 12 9BCD even though 12 can be expressed by 4 bits The BCD code is typically used in 7 segment displays Each segment represents a BCD digit The above representation may be extended to N digits always noting that each digit varies only from 0 to 9 BTI2 BCD TO INT CONVERSION MNEM DESCRIPTION TYPE I Input P Parameter O Output User Manual Bitwise Logic 1 BWL1 Description This function allows implementation of the logic functions using a function block Six different function blocks can be set AND NAND OR NOR XOR and NXOR The user chooses the type of logic operation during the BWL1 block setting and this block will perform this logic function The number of block inputs is configured by the N_IN parameter minimum of 2 and maximum of 14 inputs The block does the operations among the bits which are
165. ishment of new links which will use the reserved parameters In this window the user can verify the properties of the selected element and change them if necessary The object properties can be enabled by double clicking the object or through the View Menu as presented previously Object Properties Ee TF Hame Type Tag Direction Device Channel Safe Output Description Property Value Digital 10 SENSORS Input DFil o0z202 etre Fig 3 216 The Object Properties window The items in light gray cannot be changed by the user The items that can be edited are written in black The options will vary according to the selected element In the available items double click and a dropdown list will appear Then choose the option that Suits you best 3 111 User Manual Ladder Drawing Area 3 112 This is the place where the ladder logic is built It has 80 rows from 1 to 80 and 32 columns from A to FF i e 2560 cells The inserted elements contacts coils and function blocks can be deleted with the DEL key or x through the button The vertical connections can be deleted through the button K i E A B C D E F TAGOO2O1 TAGOO301 TAGOO202 Fig 3 217 Ladder Drawing Area There are some restrictions to where the blocks and elements can be inserted concerning the block size and elements in the vicinity Sometimes another place must be selected to insert the function block or the e
166. k 1 slot 0 CNx 1008 2 452 User Manual Temperature TEMP Description When EN input is true this function block reads the values of the temperature module associated in CN channel and places them in the TEMPO TEMP1 TEMP2 TEMP3 TEMP4 TEMP5 TEMP6 and TEMP7 outputs The BROUT output parameter indicates if there is fault in one of the temperature inputs of the module Each input corresponds to one bit out of an eight bits total The logic level O indicates normal operation and the logic level 1 indicates fault This output has to be used with BTB block which separates each bit from the presented value TEMP TEMPERATURE CLASS MNEM DESCRIPTION TYPE O CN CHANNEL LONG I Input P Parameter O Output IMPORTANT The CN parameter has to be configured obligatorily with the slots base channel where the module is inserted The rule for filling is RRS00 where RR rack and S slot Examples e 200 Rack 0 slot 2 e 12300 Rack 12 slot 3 2 153 Function Blocks 2 154 Chapter 3 Introduction Installation License THE LOGICVIEW FOR FFB This chapter presents the essentials for the use of the LogicView for FFB software for the advanced Smar Controllers DF62 DF63 DF73 DF75 DF79 DF81 DF89 DF95 and DF97 It will show how to create download and troubleshoot on ladder logic configurations that will be executed in these controllers The user before reading this chapter should r
167. l be from O to 10000 discrete from the input range that is if the Select Input Voltage is equal to 1 to 5 V the value 0 in the block output will correspond to an input of 1 V in the channel and the value 10000 in the block output will correspond to an input of 5 V in the channel Intermediate values in the voltage input will be presented in the output like interpolated values between 0 and 10000 For other EUO and EU100 values the presented value will be in the specified EUO and EU100 input range that is if the Select Input Voltage is equal to 1 to 5 V and the value of EUO is equal to 10 and the value of EU100 is equal to 50 in the block output we have for an input of 1 V in the channel the output will be 10 and for an input of 5 V in the channel we have in the block output the value 50 Intermediate values in the voltage input will be presented in the output as interpolated values between EUO and EU100 The Apply channel settings to other channels button can be used if the user wants to replicate the configuration done to one channel to the others Just select the channels as in the following figure select Analog Module Inputs Select Channel Channel 0 Channel 4 W Channel 1 I Channel 5 Channel 2 Channel 6 i Channel 3 Channel 7 Apply Cancel Download Fig 3 189 Selecting channels to replicate the configuration Always configure EUO lt EU100 The Download option can be used when LogicView for F
168. l dace eben ace eet ae 2 88 REDUCED MINIMUM MINR cccceccseseeceessesseceesscssccecsecseessesecsucsuesucssesucsucsecsuesuessesuesecsucsuesacsuesiesuesacsecsuesecsuesseseesetsesseseseesees 2 89 PROCESO CORO EOIN GTO INS etree ala teat an eee arte ba bad ts Pie acide ad ae Gt dct cheat etd 2 90 ADVANCED PID APID csccscescesseeseeseeseeseesecsecsecsecsucsecsecsucsucsersarsacsaesucsussursarsucsacsucsucsucsucsassucsacsarsessucsecsucsersarsetsecsatsatsacseceecee 2 90 AUTOMATIC UP AND DOWN RAMP ARAMP ccccescecceeceecseceecsesseseessesscsseseessesecsucsscsessseseessesecseesetsesseessesecsieseesseseseeeeeeees 2 100 ENHANCED PID EPID ccccscescessecseesecseesecseesecsecsecsucsucsecsecsecsucsecsucsecsacsursersersersucsacsecsacsacsacsecsensecsussarsatsacsatsatsetsetsetsetsaeseee 2 102 ENE ANS Eye LOD 2 110 INE AR ZION E cans te aes et ee cae a ee ete ree Re et a el et ceo eee en 2 113 Table of Contents ADIA 1M c perenne a mca ae aT Ree re eT ewan OO 2 115 MATHEMATICAL EQUATION FOR SIGNAL PROCESSING MATH cesssssecseceesecsecsecsesersecsecsecsesersersersecsceesersatsecareeteenen 2 118 PIEC ONIRE E b ae eer te Rec ane E a RT Oo ee eT Te 2 120 PRESSURE AND TEMPERATURE COMPENSATION PTC sccscsssssesecsesseseesersecsecsecsesersecsecsecsesersersecsseveresetsaveetseseeeeteeee 2 123 SET POINT GENERATOR SPG cccccscecesseeseececsscsecsscsecsecseessesecsecsecsursucsucsecsarsucsucsarsucsacsacsecsecsucsacsatsacsecsecsetsecsecsat
169. lated by INn 1 gt INn i e IN1 IN2 IN3 INn 2 INn 1 INn Where IN1 gt IN2 IN2 gt IN3 INn 2 gt INn 1 INn 1 gt INn The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs Operation An example of decreasing monotonic sequence is 12 8 8 5 3 and 1 In case of only two inputs are used IN1 e IN2 this function block performs as a comparison of greater or equal to and the OUT output becomes true if IN1 gt IN2 If the EN input is false the output is held in zero false It is possible to use this expression to implement conditional blocks that compare two inputs and then make a decision the output state changes to 1 and enables another block GTE DECREASING MONOTONIC SEQUENCE 2 77 Function Blocks MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 78 User Manual Reduced Decreasing Monotonic Sequence GTEr Description When EN input is true this function block performs as a comparison of greater or equal to and the OUT output becomes true if IN1 gt IN2 If the EN input is false the output is held in zero false It is possible to use this expression to implement conditional blocks that compare two inputs and then make a decision the output state changes to 1 and enables another block GTEr REDUCED DECREASING MONOTONIC SEQUENCE DESCRIPTION I Input P Parameter O Output 2 79 Function
170. lecting the A and B input formats and the OUT output format PERC parameter PERC false the A and B input values and the OUT output value are given in percentage 0 100 PERC true the A and B input values and the OUT output value are given in 0 10000 format Static and Dynamic Limitation e Static To limit statically a signal the B input is disconnected The A signal is limited between BL and BH user s settings e Dynamic If the B input is connected it is possible to limit dynamically the A input through the B input To achieve more flexibility these limits are changeable with individual gain and bias Rate of Change MODE parameter The rate of change limit may be applied in three ways increasing decreasing or in a specific direction There are 4 types of rate of change available MODE 0 none direction is verified MODE 1 verify only the negative direction MODE 2 verify only the positive direction MODE 4 verify both directions BL and BH Parameters If A lt BL the OUT output is equal to BL If BL lt A lt BH the OUT output is equal to A if A BH the OUT output is equal to BH GH and GL Parameters lf A lt B GL BL the OUT output is equal to B GL BL If B GL BL lt A lt B GH BH the OUT output is equal to A lf A 2 B GH BH the OUT output is equal to B GH BH DB Parameter and LOW and HIGH Outputs This function has two outputs to indicate if the low LOW or high HIGH limits w
171. lement The next message will appear LopicView for FFB Fig 3 218 Alert about element insertion in a cell Insert Remove Blank Line The LogicView for FFB has a feature to insert and remove blank lines in a ladder diagram It makes the logic edition and or changes easier To insert or remove diagram lines select a cell and right click The following menu will open The LogicView for FFB Gut Copy Gop Drawing Paste Insert Blank Line Remove Blank Line ShiFt F4 Export to Library Logic Library Manager Unda Gobrl z edn kel Fig 3 219 Insert Remove Blank Line Menu The shortcut keys F4 to insert a line and Shift F4 to remove a line can also be used If you can not move the elements for lack of available space at the bottom of the diagram the following message will appear Logic iew for FFB X A Logicview cannot shift the cells down because there are not enough blank lines in the end of diagram to perform the action Fig 3 220 Error Inserting blank lines Removing a blank line will move all elements of the diagram upwards from the selected line If the selected line is not blank the following error message will appear Logic iew for FFB x A Only blank lines can be removed Fig 3 221 Error Removing blank lines 3 113 User Manual Output This is the window where the user can see the ladder statistics and the configuration errors The win
172. limiters as one Daka preview T Alarmel T Alarmes T Alarme Caldeira Fig 3 103 Opening a txt file at Excel 2 Select Tab and click Next The following window will appear Text Import Wizard Step 3 of 3 This screen lets you select each column and set Column data format the Data Format General general converts numeric values to numbers date Text values to dates and all remaining values to text C Date DMY Do not import column skip Advanced j o Daka preview T Alarmes T Alarme Caldeira Fig 3 104 Opening a txt file at Excel 3 Select General click Finish and do the necessary changes in the tags and descriptions When the file is saved the following message will appear Microsoft Excel LogicviewExportInfo bt may contain Features that are not compatible with Text Tab delimited Do you want to keep the workbook in this Format To keep this Format which leaves out any incompatible features click Yes To preserve the Features click No Then save a copy in the latest Excel Format To see what might be lost click Help Fig 3 105 Saving a txt file at Excel Click Yes Just click Import File to import a file and choose the txt file The data are imported The LogicView for FFB automatically If any line is marked the tags and parameters descriptions are imported from the first line If a line is selected the parameters will be replaced from the selected line
173. ll appear LogicView for FFB A Invalid value allowed range is 0 4294967295 Fig 3 124 Error Invalid value If in PT Link Type was chosen Address the available options in PT Link will be Not Connected or the function blocks outputs If in PT Link Type was chosen FF Address the available options in PT Link will be Not Connected or the FFB analog outputs lf in PT Link Type was chosen NetlO Address the available options in PT Link will be Not Connected or the NetlO analog outputs If in PT Link Type was chosen Meta Parameter the available options in PT Link will be Not Connected or meta parameters analog outputs At in ET Link type there are the options for linking the function block s output FF Address NetlO Address and Meta Parameter Depending on the chosen type the block s output will be linked to an analog input of the FFB NetlO or meta parameter The configurable items will vary according to the chosen function block If the SEL2 block is inserted for example the configurable items in the Object Properties window will be Object Properties Property Name Property Value Name SEL Tag SEL2_1 Description IPL Link Type Value P1 Value 0 0000 P Link Type Value 0 0000 FF Address OUT Yalue Mot connected OUT Alias Fig 3 125 Object Properties window SEL2 function block 3 65 User Manual 3 66 In this case the items TAG P1 Link Type P1 Value P2 Link Type P2 Value OUT
174. lock LTE INCREASING MONOTONIC SEQUENCE 2 83 Function Blocks CLASS MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 84 User Manual Reduced Increasing Monotonic Sequence LTEr Description When EN input is true this function block performs as a comparison of less or equal to and the OUT output becomes true if IN1 lt IN2 If the EN input is false the output is held in zero false It is possible to use this expression to implement conditional blocks that compare two inputs and then make a decision the output state changes to 1 and enables another block LTEr REDUCED INCREASING MONOTONIC SEQUENCE CLASS MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 85 Function Blocks 2 86 Maximum MAX Description This function when EN is true selects the maximum value of the used inputs IN1 to INn and places it in the OUT output The number of block inputs is defined by the N_IN parameter minimum of 2 and maximum of 14 inputs Operation Suppose we have 4 inputs and their values are IN1 5 899 IN2 7 9000 IN3 10 899 IN4 23 90 The output generated by the MAX function bock will be IN4 or 23 90 If the EN input is false the output is held in zero false MAX MAXIMUM CLASS MNEM DESCRIPTION TYPE INPUT ENABLED BOOL INPUT 1 FLOAT INPUT 2 FLOAT INPUT 3 FLOAT Eo e a e eee IN13 INPUT 13 FLOAT IN14 INPUT 14 FLOAT o OUTPUT
175. low Low or equal Equal to REFx To avoid output signal oscillation when the variable is very close to the reference a hysteresis value can be adjusted through the DBNx parameter See the next figure 2 105 Function Blocks 2 106 REFERENCE Alarm with Hysteresis PID constants KP TR TD FB input and BIAS parameters KP Proportional gain TR Integral time in minutes repeats thus bigger TR means less integral action It can be understand as the necessary time to increase decrease the output of error value parallel PID keeping it constant TD Derivative time is given in minutes The derivative time is calculated using a false derivation i e an action similar to a lead lag controller in which the lag constant is Alfa TD In this block implementation the Alfa factor is equal to 0 13 BIAS This parameter will allow the adjustment of the initial output value when the control is transferred from manual to automatic The applied value in this parameter has to be among 0 and 100 The use of this input can be done through the selection of TRS parameter FB Through this input is possible to adjust the initial output value when the control is transferred to manual The applied value in this input has to be among 0 and 100 The use of this input can be done through the selection of TRS parameter A M Input Automatic Manual lf A M is true the EPID will be in automatic control and if A M is false the EPID
176. manual The Rack Z can be inserted at any time in the Instance Mode and in the Template Mode Click Add Rack Z button and it will be inserted Automatically the power supply and the CPU which were in the slots O and 1 of the Rack O will be transferred to the respective slots in the Rack Z In this way the slots 0 and 1 of the Rack 0 will be available and the Rack Z will have the power supply and CPU redundancy See the next figure 3 87 User Manual Hardware Configuration m Racks m TR CE E CO EA OC CO coo OC CR Co OC CR CCE EEE CPA Z 0 2 3 4 5 E T a 4 10 11 12 13 14 15 Configuration Slot 0 Available Slot 1 Available Slat2 DF20 1 Group of 8 Oni Switches Slot DF24 2 Groups of 8 120 240 4C Outputs Add Rack Z Remove Rack Z Fig 3 168 Including the Rack Z If the user tries to access the Rack Z without insert it before the following message will appear LogicView for FFB X A Fack not available Fig 3 169 Error Rack Z is not available In the Rack Z slots 0 and 1 only can be used power supplies and they can be different If the user tries to insert some module which does not be a power supply the next message will appear LopicView for FFB Fig 3 170 Error Inserting modules in the Rack Z 1 In the Rack Z the slots 2 and 3 only can be used the controllers CPUs and they have to be of the same type If the user inserts DF73 in the slot 2 automatically the slot 3 also
177. measurements needs to be for they are considered equal DBN Parameter and Operation In case of only two inputs are used IN1 and IN2 this function block performs as an equal with dead zone comparison so the OUT output will be true only if ABS IN1 IN2 lt DBN For example We have 3 inputs N_IN 3 DBN is equal to 10 and IN1 12 IN2 21 and IN3 5 SO ABS IN1 IN2 9 lt 10 ABS IN1 IN3 7 lt 10 Thus as DBN 10 OUT is equal to true If the EN input is false the output is held in zero false EQ EQUALITY User Manual MNEM DESCRIPTION TYPE I Input P Parameter O Output 2 73 Function Blocks 2 74 Reduced Equality EQr Description This function when EN is true holds the OUT output in true if the input values do not have a deviation greater than the Dead Zone DBN of the IN1 input Otherwise if the input values are different the OUT output is held in false The EQ block is indicated when the user desires to compare variables in terms of equality The DBN parameter is a tool to determine how close each one of these measurements needs to be for they are considered equal If the EN input is false the output is held in zero false EQr REDUCED EQUALITY DESCRIPTION INPUT ENABLED BOOL INPUT 1 FLOAT INPUT 2 FLOAT OUTPUT ENABLED BOOL LOGIC COMPARISON RESULT BOOL I Input P Parameter O Output User Manual Decreasing Sequence GT Description When EN input
178. ms Device Model DF73 SN 102 Ladder Status Running 0 41_40 BOUT_GEN Cell G 1 Fig 3 152 Updated parameters list In OldValue is shown the value which is in the configuration file In NewValue is shown the value from the controller When the user clicks in the Output Window in the line of changed parameter the LogicView for FFB shows the function highlighted in the ladder NOTE If the user does not want to change the configuration file just exit from LogicView for FFB without save it Get Hardware IDs Ibs By clicking in the Get Hardware IDs button the LogicView for FFB searches the current I O hardware installation and compares with the configuration done via software A window as the following will appear Hardware ID Report E J x Rack Slt Hardware Configuration Status 0 0 Not Present Not Present OK 0 i Not Present Not Present OK 0 2 Not Present DF11 FAILE D 0 3 Not Present DF11 FAILED 1 0 Not Present Not Present OK 1 1 Not Present NotPresent OK 1 2 Not Present Not Present OK 1 3 DF46 DF46 Eok Fig 3 153 Comparing the hardware with Get Hardware IDs function The Get Hardware IDs function only recognizes the physical installation of the I O modules whose hardware have the GLL number that is printed in the circuit board higher than 1100 3 79 User Manual 3 80 Get Hardware Errors ER By clicking Get Hardware Errors button Huil the user gets informat
179. n Besides the rack Z DF 78 or DF92 up to 16 racks can be included numbered from 0 to 15 As they are included those that are empty will be light gray See the next figure Hierarchy mar Logic jew Programs E Untitled E 0 Ladder 0 2 8 Controllers H a Bridge 1 Hardware Virtuals a Network 1 0 FF Block Definition Fig 3 164 Inserting racks 3 85 User Manual 3 86 Remove Last Rack When the user chooses this option the last rack will be removed from the application It does not matter if the rack is empty or not This option will be disabled if the last available rack is the Rack 0 Remove All Racks With this option the user can remove all inserted racks simultaneously except the racks Z and 0 It does not matter if the racks are empty or not ATTENTION The operations Remove Last Rack and Remove All Racks cannot be undone Reset Hardware Configuration With this option the user can change from conventional I O to redundant I O or vice versa but all original hardware configuration will be lost and all digital I O points will be converted to meta parameters Hardware Configuration With this option the user can choose the modules which will work in the ladder logic Initially the user has to choose which type of I O platform will be used conventional or redundant This operation cannot be undone See the next figure C Conventional 10 f A Senes LO Redundancy This o
180. n This function when EN is true inverts the input logic level The least significant byte of the input will have each one of its bits logically inverted The operation is done bit a bit for example if the input has the least significant byte equals to 10011000 binary the output will be 01100111 binary If the EN input is false the output is held in zero false NOT2 BITWISE NOT BIT A BIT CLASS MNEM DESCRIPTION TYPE I Input P Parameter O Output User Manual Output Binary Selection OSEL Description This function when EN is true allows the user to select one output to where the input value IN will be sent If the SEL input is false 0 then the OUT1 output will be selected Otherwise OUT2 is selected If the OUT1 output is selected the Prm2 parameter defines the desired value to the OUT2 output as follows Prm2 true sends zero to the OUT2 output Prm2 false keep the last value of the OUT2 output If the OUT2 output is selected the Prm1 parameter defines the desired value to the OUT1 output as follows Prm1 true sends zero to the OUT1 output Prm1 false keep the last value of the OUT1 output If the EN input is false the output is held in zero false OSEL OUTPUT BINARY SELECTION 0 BANS MNEM DESCRIPTION TYPE BOOL BOOL FLOAT FLOAT I Input P Parameter O Output 2 51 Function Blocks 2 52 Binary Selection for Boolean Inputs SEL1
181. n XOR The logic function XOR for the IN1 and IN2 inputs has the OUT output given by the Boolean expression OUT IN1IN IN1IN This will result in a state table as shown below IN1 BIT17 BIT16 BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 IN2 BIT27 BIT26 BIT25 BIT24 BIT23 BIT22 BIT21 BIT20 OUT BIT17XORBIT27 cccccccceseecessecseeees BIT10XORBIT20 Example IN1 01011100 IN2 11110000 OUT 10101100 Prm 3 Function NAND This function associates the AND and NOT functions So the logic output is the inverted AND logic function Prm 4 Function NOR This function associates the OR and NOT functions So the logic output is the inverted OR logic function Prm 5 Function NXOR This function associates the XOR and NOT functions So the logic output is the inverted XOR logic function 2 39 Function Blocks If the EN input is false the output is held in zero false If the Prm value is greater than 5 the EO and OUT outputs will be zero false BWL2r REDUCED BITWISE LOGIC 2 DESCRIPTION TYPE INPUT ENABLED BOOL INPUT 1 LONG INPUT 2 LONG OUTPUT ENABLED BOOL OUTPUT LONG P LOGICAL OPERATION LONG I Input P Parameter O Output 2 40 User Manual Constants CONST Description When EN input is true this FB sends constant values to the OUT1 OUT2 and OUTS outputs These constant values are set during the block configuration in the LogicView for FFB These co
182. n be connected to a function block output a FFB or a fixed value TP PULSE TIMER CLASS MNEM DESCRIPTION TYPE INPUT ENABLED IN PULSE INPUT PROGRAMMED TIME oQ BLOCK OUTPUT CCB C s I Input P Parameter O Output Pulse Timer Function Timing diagrams o o CULT o tO ti t2 t3 t4 t5 tO tO PT t2 t2 PT t4 t4 PT PT ET 0 2 27 Function Blocks 2 28 Reduced Pulse Timer TPr This function block works exactly like the TP block but it does not have the EN input and the EO output TPr REDUCED PULSE TIMER MNEM DESCRIPTION TYPE PULSE INPUT BOOL PROGRAMMED TIME LONG BLOCK OUTPUT BOOL CURRENT ELAPSED TIME LONG I Input P Parameter O Output User Manual Data Manipulation Functions Byte to Int Conversion BINT Description This function when EN is true converts a byte composed by the 8 boolean inputs IN8 IN7 IN6 IN5 IN4 IN3 IN2 IN1 to an integer number and places it in the OUT output Conversion The byte composed by the inputs is converted to an integer number For example if the inputs are IN8 1 That is the input is 11000111 binary or C7 hexadecimal The block output will be 199 BINT BYTE TO INT CONVERSION MNEM DESCRIPTION TYPE IN1 INPUT 1 LSB OUTPUT INPUT VALUE CONVERTED TO INTEGER I Input P Parameter O Output 2 29 Function Blocks Byte to Bits Conversion BTB Description When the EN is true the BTB function c
183. n of adjustment of those limits When the AWH limit is greater than OUTH limit the OUT output is kept in the OUTH value but internally the algorithm continues the integral calculation up to AWH limit The user may avoid this case configuring the AWH limit to a value less than or equals to OUTH allowing quicker responses and avoiding overshoot in heating processes for example The same idea is applicable to the lower limits AWL and OUTL User Manual OUT output limits CLIM OUTL and OUTH The OUT output limits are defined by OUTL and OUTH parameters The values applied in these two parameters must be among 2 and 102 The CLIM parameter defines which mode automatic manual will be applied the OUTL and OUTH limits CLIM 0 AUTO MAN in both modes CLIM 1 AUTO only in automatic In any operation mode which is possible to write in the OUT output if the written value is out of the configured limits the output will be kept in the previous value Deviation Alarm DEVAL MTDA ALM The alarm can be set for the desired deviation limit DEVAL and for how long this deviation may be tolerated without alarm activation MTDA For example if DEVAL 5 and MTDA 30 thus the ALM output will be activated logic level 1 if a deviation of 5 remains for more than 30 seconds For MTDA 0 infinite time the deviation alarm is not activated without alarm Alarms which can be configured ALM1 INAL1 TYPE1 DBN1 REF1 ALM2 INAL2 TYPE2 DBN2
184. n zero false SBT SUBTRACTION CLASS MNEM DESCRIPTION INPUT ENABLED Po ELEMENT OF SUBTRACTION P2 SECOND ELEMENT OF SUBTRACTION OUTPUT ENABLED OUT SUBTRACTION RESULT I Input P Parameter UT ace Output 2 65 Function Blocks 2 66 Square Root SQR Description This function when EN is true will calculate the square root of the IN input and places the result in the OUT output If the IN input is negative the result is zero and EO output goes to false Selecting the data type The input and output data type Regular or Percentage is selected by the Prm1 parameter If the option is Regular Prm1 false the block calculates the input square root If the option is Percentage Prm1 true the block has two sub options PERC parameter false OUT 10 IN PERC parameter true OUT 100 IN Leveling If the IN input value is less than the specified value in the CTO parameter the OUT output will be zero If a negative value was specified in CTO it will be assumed the value is zero If the EN input is false the output is held in zero false SQR SQUARE ROOT MNEM DESCRIPTION TYPE Prm INPUT AND OUTPUT DATA TYPE REGULAR OR PERCENTAGE PERC SELECTS THE CALCULATION METHOD TO THE PERCENTAGE INPUT CUT OFF FLOAT User Manual Comparison Functions Quad Alarm Al Seta Description This function when EN is true works as a quad alarm that is it compares an input signal
185. nfiguration the LogicView for FFB will show a window with rack and slots occupation and also showing which ones are available The rack configuration can be changed When clicking the desired slot an option list will open like in the figure below The hardware configuration will be detailed in the Hierarchy Hardware topic 3 39 User Manual 3 40 Racks Hardware Configuration EEA MBE COC EEA OC EEEE CEEA CEED EEE CHEG CEG CEE CHEG OC e EEE E Configuration SlotO DF50 Power Supply Module 90 264VAC Redundant r Slat 1 DFB2 DFI302 Processor 1 100Mbps 43H DF12 JDF13 DFI4 DFIS DFI6 DFI DFIS DFIS DF20 DF21 DF22 DF25 DF24 DF25 DF26 DF2 DF28 DF29 DF30 2 Groups of 8 24V DC Inputs Isolated 2 Groups of 8 46V C Inputs Isolated 2 Groups of 8 BOYDC Inputs Isolated 2 Groups of 8 125VD0 Inputs Isolated 2 Groups of 8 24VDC Inputs Sink lsolated 2 Groups of 4 120 V4C Inputs Isolated 2 Groups of 4 120MAC Inputs Isolated 2 Groups of 8 120 4C Inputs Isolated 2 Groups of 8 240 VAC Inputs Isolated 1 Group of 8 On Off Switches 1 Group of 16 Open Collector Outputs 2 Group of 8 Transistor Outputs source lsolated 2 lsolated Groups of 4 120 240 40 Outputs 2 Groups of 8 120 240 4C0 Outputs 2 Groups of 4 NO Relays Outputs 2 Groups of 4 NC Relays Outputs 1 Group of 4 NO and 4 NC Relay Outputs 2 Groups of 8 NO Relays Outputs 2 Groups of 4 NO Relays Out
186. nfigurations can have instances of FFB created from the same FFB template however these instances will be DISTINCTS because the Device Descriptors have different characteristics The creation of FFB instance is automatic in the moment of its use and it is managed by the system The modifications on an instance do not affect the template from which it was created Supervision Only Mode In this mode several LogicViews can be launched simultaneously in a same workstation All operations of changing the logic configuration are locked The user can only view the configuration Supervise monitor discrete and analog variables and also write them But being on SUPERVISION ONLY mode the changes in variables are not persisted to files only in the CPU acted The LogicView for FFB automatically is launched in SUPERVISION ONLY mode when an instance is open and a logic is already opened This mode works only on instances it does not affect templates The SUPERVISION ONLY mode is indicated in the title bar and by background color which can be changed by the user See the following figure 3 11 User Manual 3 12 smar Logic iew T amp G FFB2_1_ Controller 1 Programs A m SUPERVISION ONLY MODE LogicView for FFB FFB2_ 1_Controller 1 8000018501_000101 pgi 1 80 v Time Pulse paossa uate anhand iGonpajsona Elementi Gon x a o jw Properties General Inter
187. ng the mark just go in Edit Remove Cell Mark The mark can not be saved in the file it will only be activated while the LogicView for FFB is running The LogicView for FFB When the ladder drawing has more than one marked cell the user can use the Edit Go to Next Marked Cell option To use this function first the user has to select a marked cell Clicking Edit Go to Next Marked Cell the next marked cell on the ladder execution sequence will be immediately selected and will blink in a yellow background as in the next figure Mm e c TAGOO201 Fig 3 72 Go to next marked cell View Menu By clicking View or through the shortcut ALT V the following menu will open LogicView for FFB Areal_DF89 FFB2 1 Fie Edit WER Ladder Tools Help Hardware Configuration Code Generated Chrl 6 x I0 w Main Bar oO w Hierarchy Bar ACI yw Object Properties Bar Ex Output Bar yy Zoom Bar SIF ar L w ToolBox ml i ee ee a Fig 3 73 View Menu The View menu offers options to enable or disable the many kinds of toolbars Main Hierarchy Object Properties Output Zoom and Toolbox The user has to click the desired option to enable or disable it These options will be detailed in Toolbars topic The View menu also has options to show the hardware configuration and the code generated These items are detailed below Hardware configuration By clicking View Hardware Co
188. nger affected by the available options of Automatic Tags Generation box If the user wants to cancel all manual edits and reuse the automatic options click Clear Customized Tags button Changes in tags of points that have value and status will be automatically reflected in their counterpart e an edition of the tag value will be updated in the respective status tag and vice versa The LogicView for FFB maintains the consistency among the exported parameters All tags used in the library are converted in meta parameters during the exporting process For further details refer to Meta Parameters topic 3 58 The LogicView for FFB When the edition of tags and their descriptions finished click Finish and the logic will be exported to the library A modifications such as link reset or tags personalization will be applied ONLY to the library logic that is being exported The configuration logic diagram is not modified during the exportation to the logic library Managing and Importing Library Logics To import a logic click Tools Logic Library Manager or right click in the ladder drawing area and select Logic Library Manager The next window will open Logic Library Manager LiamName Library Description Logic Name Logic Description LIBRARY LOGIC gt Library Operations Logic Operations Add Library Delete Library il Delete Logic Import Logic Logic Preview 100 Save Changes vo
189. nges in the variable due to the set point change It is the case of heating process with high gain PI SAMPLING In this option when there is a deviation the output signal changes according to the PI algorithm during a time t0 which is adjusted by ATRIS parameter Then the output signal is kept constant during a time t1 where the total cycle period t0 t1 is adjusted by PPIS parameter If the deviation persists the output signal will vary again during tO and will remain constant during t1 This type is recommended for processes with high dead time User Manual Pv DEVIATION SP PV SP 0 it amp to t t0 t1 Sampling Period PPIS t0 Actuation Time ATRIS Pl Sampling Algorithm Type ALG It is defined by the ALG parameter ALG false Parallel algorithm or Ideal ALG true ISA algorithm or Non Interactive de t PARALLEL MV t K e t e t dt T R de t ISA MV t K e t fedt T R Action Type Some processes require that the output signal manipulated variable MV increases when the process variable PV increases while most of the other applications require the opposite The choice of the action type is done by ACT parameter PARAMETER ACTION TYPE ERROR EFFECT _ B Output decreases with a E Output increases with Error type Linear Quadratic TYERR In the deviation or linear error TYERR 0 the considered e
190. nition Fig 3 209 Defining the virtual parameters Click it and the Object Properties window will appear as the following figure Object Properties Property Hame Property Value Virtuals I Fig 3 210 Object Properties Defining the virtual parameters quantity In Virtuals the user can define the number of ladder diagram virtual parameters The default number is 10 which can be changed by the user up to 4096 Choosing a virtual parameter in the Ladder Drawing Area the user can change its tag in the Object Properties window Just double click the right cell of Tag and the editing mode will be enabled With double click the right cell of Description the user can change or insert a description which identifies better the virtual parameter See the figure below Object Properties Property Name Property Value Type Virtual Variable Tag yvOOO Address 0001 Fig 3 211 Object Properties Defining the virtual parameters Decreasing the number of virtual parameters For example a ladder diagram has 15 virtual parameters The virtual parameters which occupy the 0013 and 0014 addresses are being used in the diagram Suppose the user decreases the number of virtual parameters to 10 Automatically the parameters of the 0013 and 0014 addresses will be removed from the diagram The user will be advised about the problem only when he executes a Build command In the Output window will appear the detected err
191. nstants only will be sent to the block outputs when the EN input is true If the EN input is false all outputs are held in zero false P1 P2 and P3 Parameters The user must insert the constant values in these parameters For example P1 32 P2 346 87 P3 456 5 When EN is true OUT1 OUT2 and OUT3 will indicate 32 346 87 456 5 CONST CONSTANTS CLASS MNEM DESCRIPTION TYPE O I Input P Parameter O Output 2 41 Function Blocks 2 42 Integer to Boolean Conversion ITB1 Description This function when EN is true converts an integer number that is in the IN input to a boolean state and places it in the OUT output Conversion If the least significant bit in the IN input is O the OUT output will have the false logic state If the least significant bit in the IN input is 1 the OUT output will have the true logic state ITB1 INTEGER TO BOOLEAN CONVERSION MNEM DESCRIPTION Sur OUTPUT THE INPUT LEAST SIGNIFICANT BIT CONVERTED TO ALOGIC STATE I Input P Parameter O Output User Manual Integer to BCD Conversion ITB2 Description This function when EN is true converts an integer number to the BCD format and places the result in the OUT output Conversion The integer data in the IN input will be converted to BCD if it is less than 99 If the input is greater than 99 the output will be 99BCD 1001 1001 For example If in the IN input is read 12 in the OUT
192. nterval is defined in the PT parameter and its unit is milliseconds If IN changes to false before Q goes to true Q will stay on false state and the time interval will start again when IN goes to true If the EN input is false all outputs are held in zero false PT Input The PT input can be connected to a function block output a FFB or a fixed value TON ON DELAY TIMER CLASS MNEM DESCRIPTION TYPE INPUT ENABLED PULSE INPUT PROGRAMMED TIME OMEO BLOCK OUTPUT BOOL O I Input P Parameter O Output On Delay Timer Function Timing diagrams t0 t1 t2 t3 t4 t5 o Lf Le t0 PT t1 t4 PT t5 PT ET 0 t0 t1 t2 t3 t4 t5 2 25 Function Blocks 2 26 Reduced On Delay Timer TONr This function block works exactly like the TON block but it does not have the EN input and the EO output TONr REDUCED TIMER ON DELAY MNEM DESCRIPTION TYPE PULSE INPUT BOOL PROGRAMMED TIME LONG BLOCK OUTPUT BOOL CURRENT ELAPSED TIME LONG I Input P Parameter O Output User Manual Pulse Timer TP Description When the EN input is true this FB generates a pulse with fixed duration in the Q output for each rising transition false to true in the IN input The time interval is defined in the PT parameter and its unit is milliseconds The transitions in the IN input will be ignored while the output is active If the EN input is false all outputs are held in zero false PT Input The PT input ca
193. nts automatically take on the Not Used status Each block parameter is showed in the window with its respective user tag defined in Syscon or with a default tag if it has not already a user defined tag To change the tags right click the FFB block icon on Syscon in the Process Cell Fieldbus or Strategy window and click Edit User Parameter Tags The User Parameter Tag dialog box will open For further information refer to Syscon manual IMPORTANT To reflect the tags changes in LogicView for FFB is necessary to save the configuration in Syscon The FFB allows the use of more advanced data types and the block is initially created with a predefined amount of points identified as Multiple I O in the Define Parameters window By selecting this option multiple points will be shown in the window and their edition is identical to the simple points Single IO After modify a FFB parameters which was previously created click OK and the following message will appear The LogicView for FFB FFBDefWizard E x WARNING the performed modifications on FFB interface will result in the block deletion during a download process Do you want bo continue Press Yes to continue the operation and save the changes Press No bo close this warning message and return to DPT screen Press Cancel to close DPT and discard any changes Mao Cancelar Fig 3 15 Warning Changing a FFB already created The options of
194. nts for link decreases If a function block point is linked to a FFB analog point the user can remove this link by right clicking the element and then clicking Remove FFB Attachment A B p B E i TAGOD30 x Pe E 0 Ladder 0 4h Contacts 4 th Coils OL Functions fl Torri i TE TPR virtuals 5 4 FF Block Definition 800001851F_oo1602 ee k Digital Inputs i gt IND O LABEL i t I 1 I 1 I I Te A Aiea anes ae Ted ae Foot ahs eon Ba EE Bites cocccsianennd Cut Copy Copy Drawing hoo TM D1 LABEL Digital Gutputs 3 lt gt OUTDO LAE j o P ai SSeS ss SSS SSS SS SSS pirasat Jang OUT_D_1_LAE gt OUT_D_2_LAE z gt OUT_D 3 LAE Analog Inputs woo IN O0 LABEL lt gt IN_1 LABEL Analog Outputs z OUT_O_LABEL i i OUT_1_ LABEL M 1 12 M Delete Select All FFB IO Attach e oy bal mo E Fig 3 130 Remove FFB Attachment command If the point has a link it is indicated by the link name which appears beside it If the link with an analog point is a FFB IN or OUT the FFB point name appears beside the analog point If a function block input is linked to a function block output beside this input will appear the output name which it is linked In the outputs only will appear the links names with the FFB See the next figure 3 69 User Manual 3 70 CON_2 TAGOOS00 TAGOOZ01 TAGOOS01 TAGOOZ02 CY output of t
195. o i a Arnis iis Fig 3 45 Example of intelligent copy paste In the diagram above there are two function blocks with a link to each other TON2 ET linked to TON3 PT and their ET points are linked to FFB analog output points According to what has been described the operation of Cut by selecting all elements of the diagram above followed by Paste will keep all the characteristics and the result is the same as the figure above However from the second Paste and therefore the TON_2 and TON_3 blocks are already in the logic diagram the result will be as in the following figure TOM_42ET ee eee ee eee eee eee eee eee ee a Fig 3 46 Example of intelligent copy paste using function blocks The LogicView for FFB removed the links of function blocks with the FFB analog points because they are already been used in the TON_2 and TON_3 blocks and renamed the function blocks to maintain the tags integrity TON_12 and TON_13 The link between blocks was maintained now is TON_12 ET linked to TON_13 PT the function blocks tags changing was reflected in the links IMPORTANT This same behavior would have occurred with only one command Copy followed by Paste In another example if only the TON_3 block of the figure 3 45 is selected for a Copy operation followed by Paste the result is the following figure The LogicView for FFB Fig 3 47 Example of intelligent copy paste As in the previous example the
196. o_Smar TENETE OF rG 15 7351 Ladder 0 Fage Order 14 C a a a E RS_1 vom TAGO1300 l Tao The code indicates the line and the row of the print mounting order when the Fit to page option is not selected For example the Ladder 0 diagram showed above will be printed in 3 pages The user has to mount the diagram as showed in the following figure to see all information Fig 3 38 Page Order The LogicView for FFB 1A 1B Fig 3 39 Page Order Print Mounting Import Template to Database and Export Template from Database Options The LogicView for FFB has a feature to import and export FFB Templates which allows the file interchange among the workstations Exporting a FFB Template To export a FFB Template choose the Export Template from Database option in the File menu and the following window will be shown f Open Configuration Choose a Logic Logie Tag H Geach HF fib base HF fat HF hhhh HF kis Fig 3 40 Selecting a template file The user has to choose the logic tag which will be exported and then click the Open button The following dialog box will be shown JEJ Save int E UPAR iE St Local Disk 01 S erodriques on svi Gyusers Ws lw Local Disk Ds Qovo rw Drive E B Geral on srvi9 Gr S Literatura on srvi9 Ls S Users on srvi9 Ts File name Logic iewFFE_ manual Save as type FFB Template Files pat Canc
197. odule Outputs The following window will open 3 105 User Manual 3 106 Select Analog Redundant Module Outputs Ea Select Channel Channel 0 Set Parameters Values Current Output m 4 to 20 m Range Scale EU EU 100 Sate Mode EU Sate Value Safe Behavior 3 6 m Apply channel settings to other channels Cancel Download Fig 3 202 Configuring the redundant analog output modules So the module configuration can be changed Each module has 8 channels Each channel or point has an independent configuration Select the desired channel with the Select Channel option The standard configuration is showed on the figure above The Current Output mA option corresponds to values range in the channel input The allowed types are O 4 to 20 mA O 0 to 20 mA O O to 21 mA The engineering unit can be modified follow the next rule e Eng Unit O EUO is the minimum value e Eng Unit 100 EU100 is the maximum value The presented value in the MAQOx block input will be in the specified range in EUO and EU100 related to the output range For example if Current Output mA is equal to 4 to 20 mA the EUO value is equal to 10 and the EU100 value is equal to 50 the block input is 10 it will correspond to an output of 4 mA in the channel If the block input is 50 the block output is 20 mA Intermediate values in the input between EUO and EU100 will be presented in the current output as interpolated
198. ogic iew for FFB Controller 1 FFB2 1 60000 File Edit view Ladder Tools Help E Unda EEFE Reda trl fut Stree Topy E E Copy Drawing Paste trey Select All Find and Replace Find Links Tag Matching Find Meta Parameters Meta Parameters Replacement Mark Gell Remove Gell Mark Go fio Next Marked jell ER DOCE Derimitiorn Fig 3 64 Finding meta parameters By selecting this option the following window will appear Select a specific diagram in Only on this diagram or else a complete search in All Diagrams Find Meta Parameters x Search options f Only on this diagram 0 Ladder 0 Mi All Diagrams Fig 3 65 Find meta parameters window After choosing the search option just click Find and the search results will be shown in the Output window Parameter MT DI 0000 found at Diagram 1 Row 1 Col A Meta Parameter MT DO 0000 found at Diagram 1 Row 1 Col E Meta Parameter MT DO 000a found at Diagram 1 Row 2 Col E Parameter MT 21 0000 found at Diagram 1 Row 4 Col B Parameter OOO Diagram 1 Row 4 Col 5B Wal MT 20 OOOO found Fig 3 66 Search results for meta parameters Replacing meta parameters by conventional variables A logic may have a great number of meta parameters and at some moment they will need to be replaced by conventional parameters or variables to become the
199. oint However if the user chooses an input point the searching mechanism will find the only function block whose output point is linked to the selected point This behavior is equal to the Go to Out function in the context menu of a ladder diagram The Tag Matching option allows replacing a set of variables in the ladder diagram elements quickly and efficiently by another set of variables previously defined in LogicView for FFB The Tag Matching operation is done only for the diagram which was selected in the diagram s list and showed in the LogicView for FFB screen This feature is in the Edit Tag Matching menu The LogicView for FFB LopicView for FFB ghy E463BCB0D61 File Pzd View Ladder Tools Help Select All Find and Replace Find Links Tag Matching Find Meta Parameters Meta Parameters Replacement Fig 3 54 Tag Matching option When selecting Tag Matching the following window will appear Tag Matching g x Selection Aule Search Options FIND variables containing CHANGE TO variables Eind Matching f Contacts Coils variable exchanging Function Blocks tag renaming Tag found by rule Tag suggested by matching Total matching elements found 0 Matching elements selected 0 Appl Ehanges Close Fig 3 55 Tag Matching window The window s elements are as follows Search Options the available options for the matchin
200. ollowing window will appear LopicView for FFB Fig 3 146 Keeping the CPU in running mode ATTENTION When the Stop command is executed e The discrete outputs go to Safe Mode e The analog outputs of the MAO functional block will assume the defined values in STO ST1 ST2 and ST3 During the download via LogicView for FFB an animation appear See the following figure slaai E j JH rJ F oe PrrtrtT TTT TT TT ttt tT ett tet EEEE at eT I I Downloading configuration please wait 3 147 Downloading the configuration Other error messages related with the configuration downloading Downloading the logic via Syscon MS VDownloaderCOM Eg a Connection to DF Failed Fig 3 148 Error Download via Syscon 3 76 The LogicView for FFB Possible cause Failure in Ethernet communication between the device and the OPC Server or there is a problem with the firmware Solution Verify the Ethernet communication If the failure persists contact the Smar technical support Downloading the logic via LogicView for FFB x AN Device is not responding Fig 3 149 Error Download via LogicView for FFB Possible cause Failure in Ethernet communication between the device and the OPC Server or there is a problem with the firmware Solution Verify the Ethernet communication If the failure persists contact the Smar technical support Downloading the logic via LogicView for FFB or via Sysc
201. ompensation block that may operate with a derivative function as well as with a lead lag compensation function Selection of either function is done with parameter DER The LLAG block provides dynamic compensation of the IN parameter The user would configure the K1 and K2 parameters to obtain the desired input output relationship DERIVATIVE FUNCTION DER true While operating in the derivative mode the block performs the following transfer function O s P 1 s Where I s and O s Laplace transform of input and output signals respectively Tp Derivative constant adjusted by K2 parameter seconds T Lag constant adjusted by K1 parameter seconds When T gt 0 the output signal represents the input rate of change in the period determined by Tp For example if the signal input varies at a rate of 15 per second and Tp 6 seconds the output signal will be 15 6 90 while the input signal keeps its rate of change The output returns to zero when the input becomes constant When T gt 0 the output signal is submitted to a lag The response to a step signal with amplitude A is shown in the next figure INPUT OUTPUT Response of derivative function with a lag at IN input This function is used when the rate of change of a variable is desired LEAD LAG FUNCTION AND TIME CONSTANT DER false When operating in the lead lag mode the block implements the following transfer function O s 1 Tps l s 1 T1Ts S
202. on All cases below refer to problems when the user tries to download the logic via Syscon or via LogicView for FFB The messages will appear in windows 1 1131 Build Error Error in the logic Run the LogicView for FFB Edit Logic and executes the Build command and thus you can verify where is the error In the Output window will appear the errors click them and the LogicView for FFB will indicate the error in the Ladder Drawing Area 2 Data is too large to be compiled please refer to LogicView User Guide to check about limitations Code Tags Funct The LogicView for FFB will show the number of bytes produced by the logic s code the number of used tags and the number of functions See below the Smar controllers limits for further details refer to the DFI3802 manual DF75 120000 bytes 2000 functions DF73 DF79 DF81 DF95 DF97 120000 bytes 1200 functions DF62 and DF63 20000 bytes 300 functions HFC302 5000 bytes 300 functions DF89 60000 bytes 1200 functions The build command in the LogicView for FFB gives this information to the user 3 All errors below indicate a failure in a download command Repeat the operation If the error persists contact the Smar technical support 1131 Code Download Error 1131 Disc Cfg Download Error 1131 Ana Cfg Download Error 1131 Disc Points Download Error 1131 Real Points Download Error 1131 Disc Safe Download Error 1131 Pulse Download Error 1131 Extra Long Download Error
203. on Blocks Integral action of a PID is equal to a series of pulses with minimum size equal to WPL and the frequency determined by the integral time of the PID block TR and by the control deviation The pulse frequency is given by the TR value The WPL value is fixed and determined during the block setting Suppose TR 1 minute and WPL 3 seconds and a step with error of 25 is applied in the input A standard controller would increase or decrease the output of 25 on 1 minute TR To make the valve have an opening time VOT equal to 1 minute 15 seconds are needed 25 of 60 seconds because WPL 3 seconds So 5 pulses with width equal to 3 seconds are required The output remains in this functioning mode while the PID output keeps the same rate of change 2 ae HL secunidos PID OUT Sormente dabo Tntezral Jro ttsepundos 0 60 segundos STP STEP CONTROL CLASS MNEM DESCRIPTION TYPE i o LOW LEVEL OUTPUT CLOSE SELECTS THE INPUT AND THE OUTPUT FORMATS BETWEEN 0 10000 AND 0 100 oon OFF_T THRESHOLD TO SET THE OFF OUTPUT FLOAT I Input P Parameter O Output 2 130 User Manual Totalization TOT Description This block gives the input totalization This totalization is the integral of the input times a scale factor FCF that allows the user to configure the totalization in 3 different operation modes If your application requires the computing of instantaneous totalized vol
204. onverts the first byte of a LONG data type in 8 parallel outputs each one of them representing one bit If the EN input is false all outputs are held in zero false Conversion The block input is a LONG data type to the effect conversion is considered only the least significant byte which is decomposed in OUT_1 to OUT_8 outputs The input data can be deriving from another function block e g the BROUT output of the TEMP block DF45 temperature module In this case the OUT_1 to OUT_8 outputs will represent the burnout status of each one of the temperature module inputs The OUT_1 to OUT_8 outputs can be used as FB inputs e g the BWL1 or the NOT1 blocks BTB BYTE TO BITS CLASS MNEM DESCRIPTION TYPE O OUT_8 BIT 7 MSB I Input P Parameter O Output 2 30 User Manual Boolean to Int Conversion BTI1 Description This function when EN is true converts the IN boolean input state to an integer number and places it in the OUT output Conversion If the IN logic state is false the OUT output will be O If the IN logic state is true the OUT output will be 1 BTI1 BOOLEAN TO INT CONVERSION CLASS MNEM DESCRIPTION TYPE INPUT ENABLED BOOL INPUT BOOL O OUTPUT ENABLED BOOL OUTPUT INPUT STATE CONVERTED TO INTEGER LONG I Input P Parameter O Output 2 31 Function Blocks 2 32 BCD to Int Conversion BTI2 Description This function when EN
205. option The file imported exported is txt type All tags and their descriptions will be exported if any line is marked If one line is selected the data will be exported from that selected line By clicking Export File a window will open requesting the file s name and where it will be saved Click Save Open the exported file at Excel and do the necessary changes The following window will open Text Import Wizard Step 1 of 3 The Text Wizard has determined that your data is Delimited IF this is correct choose Mext or choose the data type that best describes your data Original data type Choose the file type that best describes your data Characters such as commas or tabs separate each field C Fixed width Fields are aligned in columns with spaces between each Field Start import at rou p 2 File origin 437 OEM United States kd Preview of File C Program Files Smar FFB Support LogicviewExportinfo txt AGOOZO000L Alarmel AGOOZO1OL Alarmes AGOOZO020L Alarme Caldeira 46002020 46002040 Cancel lt Back next gt Finish Fig 3 102 Opening a txt file at Excel 1 Click Next The following window will appear 3 53 User Manual 3 54 Text Import Wizard Step 2 of 3 This screen lets you set the delimiters your data contains You can see how your text is affected in the preview below Delimiters W Tab Semicolon Comma pace M other Text quaifier E Treat consecutive de
206. options the set of available tags will be listed on the window s right side Parameter Tags This set can be filtered according to the box Parameters List options described previously To find the links the user has to select a tag from the list at right and click Find Links The searching procedure will find all function blocks which have links with the selected point showing the results at the log results window Output View See the next figure Parameter Type Parameters List options C Functions C FFE f Netigo M Show Inputs Function Blocks etl Parameters MTO T_RPM_READ MTOTT_ AM _AEAD pMTOTT APM M Show Outputs MTO1T_RPM READ MTO2T_AMP_READ MTO2T_AMP_TORG MTO2T_COD_ERR MTO2T_ PRM_NUM_A MTO2T_ PREM_NUM_ 3 MTO2T_PRM_VAL_FA MTU2T PRM_VAL Ww Cancel Link for MTOiT EFM READ found at Diagram 45 Row Link for HTOLT RPM READ found at Diagram 56 Row Fig 3 53 Window of results of a find links process In the results list to explore a specific function block just double click the desired line The Logicview for FFB will mark this block in the software s main window If links with the selected point are not found a window with the message No link s found will appear If the user chooses an output point the Find links procedure will work as described previously that is finding all function blocks which make links with the selected p
207. ormation Dialog during FFB Download option is selected during the download process it will be described later a message will appear only for information See the next figure C Arquivos de programas Smar S scon Sy scon exe a Download information i Configname Ci 4rquivos de programas Smar Configuration workspace Client cw Files TECNOPARCO M2 PBusController 2 zip devID amp SerialNumber 102 Fig 3 83 Download information In the Interface tab the font text which are showed in the ladder drawing area and its color may be configured The ladder elements color also may be changed In the window right side there are color configuration options which will be used in the simulation and in the online mode In addition the user can configure if the icons that represent the types of parameters or links used in the logic will be displayed or not in the drawing area See the next figure 3 45 User Manual 3 46 Properties General Interface Connections Mor Font Name MA Element Online User Tag Color a T Flow Color Descr Color iS r SET Color Element Color D r RESET Color Show Parameter cons W All W Hardware 1 0 Iw Virtual lw FFB IO I NetlO W Meta Parameters iV Function Blocks Links Cancelar Ajuda Fig 3 84 Configuring the workspace appearance 2 Each type of parameter or link has a specific icon To represent the NetlO there is an icon for each type of supp
208. orrect common errors of discrete interlocking structure However when attempting to perform operations not allowed on hybrid logic error messages are shown as the following figures Logic iew for FFB E xj A Logicview cannot start simulation while meta parameters are being used on ladder logic Logic iew for FFB x A Logicview cannot go online while meta parameters are being used on ladder logic Fig 3 60 Error messages operations not allowed in hybrid logics Creating meta parameters l B ubetieta Parameters To create meta parameters just select in the Hierarchy window the sie eh 2 option and define its quantity in the Object Properties window as in the next figure Logic iew for FFB Controller 1 FFB2 1 File Edit View Ladder Tools Help 0 fe x Time Pulse any eae Property Value Digital IN 1 Digital OUT il Analog IN 0 Analog OUT 0 a TOM TOF TF UP COM CTL So Hierarchy El smar Logicview TAG Controller 1 FFB2 52 1 El Programs Untitled H E O Ladder 0 Controllers Controller 1 E Hardware oo E virtuals i Meta Parameters g amp Network IO H 2 FF Block Definition Fig 3 61 Creating meta parameters 3 33 User Manual 3 34 Editing meta parameters To edit meta parameters the Properties Editor window can be used See the following figure Properties Editor a es 1400 Type
209. ors See the next picture an invalid or non existent Build Error 10 Diagram 0 Row 1 Column B Cell using an invalid or non existent parameter Fig 3 212 Error decreasing the number of virtual parameters 3 109 User Manual 3 110 FF Block Definition This item is used to define the following FFB parameters Digital Inputs Digital Outputs Analog Inputs or Analog Outputs Right click the project s name and the option Define FFB Parameters will appear Hierarchy Hjem Logic ew H Programs 88 Controllers Bas Hardware Z virtuals H S Network 140 FF Block Definition Hdb H s Digital OUT Analog IN AR Analog OUT Define FFB Parame Fig 3 213 The FF Block Definition item of Hierarchy window Choose that item and the following window will appear There the user can configure the number of analog and digital inputs and outputs The tags can be edited Double click IN _D_O cell for example and the edit mode will be enabled See the next figure 3 FFB Parameters Definition Edit Mode Digital Inputs 1 H Digital Dutputs 153 H FFB_DI Tag FFB_DO Tag INDO IN_D_O a ouTDO jouTDO oUTD1 OUT D1 ouTD2 DUT_D2 out D3 out D3 OUT D4 DUT_D4 out D5 ouT_D5 ouTDE ouTDs Analog Inputs 32 Analog Outputs 32 FFB_Al Tag FFB_AO Tag INO INO E OUT_O OUT_O INI IN_1 DUT OUT_1 IN 2 IN_2 OUT2 OUT_2 N3 JIN3 OUT3 lout IN4 IN_4
210. orted protocol Profibus DeviceNet and AS i V virtual point H I O point F lt blue gt Function point F lt red gt FFB point P Profibus point D DeviceNet point A AS i point 19 EO wn ween eee eee eens prs CONST ARAMP_5 OUTE OUT1 IN16_0_078F l 0 0000 aa a a ae ee ae ae ee ae ee en Lh eee ee eS ee ee ee ee oe ee Ee eee SS SS See ee a Fig 3 85 Icons informing the types of parameters and links As shown in the next figure in the Connections tab the user can configure the Scan Time in seconds This option indicates how frequently the Scan Time will be requested It has to be between 10 and 60 seconds The LogicView for FFB Properties _ General Interface Connections _ ModBus Address Scan Time Requests Interval 30 tee Ee Fig 3 86 Configuring the Scan Time Modbus addresses attribution IMPORTANT The functions described in this section are available for DF73 DF75 DF79 DF81 DF89 DF95 and DF97 controllers For the functions related to Modbus work in DF73 DF75 DF79 DF81 DF89 DF95 and DF97 is necessary to configure correctly the MBCF block at Syscon with the serial communication parameters with the correct DEVICE_ADDRESS and the ON_APPLY parameter configured as Apply Those controllers always will be a Slave serial TCP simultaneously For further details refer to Function Blocks manual The functions for the Modbus are also available to DF
211. output is held in zero false MUX2 MULTIPLEXER FOR FLOAT INPUTS 0 BANS MNEM DESCRIPTION TYPE EN SEL IN1 FLOAT IN2 IN3 IN4 FLOAT IN5 FLOAT IN6 FLOAT IN7 FLOAT IN8 FLOAT IN9 FLOAT INTO FLOAT IN11 FLOAT IN12 FLOAT IN13 FLOAT IN14 N_IN EO OUT I Input P Parameter O Output 2 47 Function Blocks Reduced Multiplexer for Float Inputs MUX2r Description This function when EN is true selects one of the two inputs and places its value in the OUT output The selection is done in according to the value in the SEL input Output Selection If SEL is equal to 0 the selected output will be IN1 for others values of SEL the selected output will be IN2 If the EN input is false the output is held in zero false MUX2r REDUCED MULTIPLEXER FOR FLOAT INPUTS MNEM DESCRIPTION TYPE EN SEL I Input P Parameter O Output 2 48 User Manual Bitwise Not for Boolean Inputs NOT1 Description This function when EN is true inverts the logic state of the Boolean data in the IN input If the input is true i e e logic level 1 the NOT1 block output will be false logic level O and vice versa If the EN input is false the output is held in zero false NOT1 BITWISE NOT FOR BOOLEAN INPUTS CLASS MNEM DESCRIPTION TYPE 0 I Input P Parameter O Output 2 49 Function Blocks 2 50 Bitwise Not Bit a Bit NOT2 Descriptio
212. output will be 12BCD or 0001 0010 ITB2 INTEGER TO BCD CONVERSION MNEM DESCRIPTION TYPE OUTPUT INPUT VALUE CONVERTED TO BCD I Input P Parameter O Output 2 43 Function Blocks Float Long to Long Conversion LONG Description This function when EN is true multiplies the integer or float values of the INx inputs by the value defined in the MUL parameter converts in LONG and places the result in the respective OUTx outputs If the EN input is false all outputs are held in zero false LONG FLOAT LONG TO LONG CONVERSION OIN9 OUT9 QIN100UT10 OIN11 OUT11 OIN120UT12 CLASS TYPE LONG FLOAT LONG FLOAT LONG FLOAT LONG FLOAT LONG FLOAT FLOAT BOOL LONG LONG LONG LONG LONG LONG LONG LONG LONG LONG LONG I Input O Output P Parameter 2 44 User Manual Multiplexer for Boolean Inputs MUX1 Description This function when EN is true selects one of the IN inputs and places its value in the OUT output The selection is done in according to the value in the SEL input Output Selection If SEL is equal to 0 the selected output will be IN1 If SEL is equal to 1 the selected output will be IN2 and so on If SEL is greater than the number of possible inputs N 1 the INn output will be selected In this case EO output goes to false indicating the SEL input is out of range If the number N_IN is greater than 14 or less than 2 the EO and OUT outputs go to zero f
213. outputs The OUT Link Type can be a FF Address NetlO Address or Meta Parameter and in this case OUT Value can be Not Connected or the available links in FFB FB Address in the NetlO or in the meta parameters If a configuration is done in Syscon with a FFB which has DI DO Al and AO and in LogicView for FFB configures a function such as timer when the link types PT and ET as FF Address are defined the Als and AOs which were created in FFB will be available for link Links among inputs and outputs of the function blocks Inputs and outputs can be linked Select the function block and in the Object Properties window configure the link type which is necessary to the input Address FF Address NetlO Address or Meta Parameter Choose the output which the input will be linked In this situation right clicking a menu will appear The penultimate menu item is Output Link which shows all inputs that are linked to that output according to the example showed in the next figure The LogicView for FFB LogicView for FFB LVFFB_Manual 1 File Edit View Ladder Tools Help Os a s MhelSRlo o a alwys Alla A oO 1m J _Time Pulse __ Process Data Math Comparison Contacts _ Communications _ Bie T t 100 0 evo 1 elx x a A B c D E smar LogicView Programs Ee Untitled 2 0 Ladder 0 dk Contacts 1 Coils lt gt OUT1 1 gt OUT2 lt gt OUTI 6 lt gt YOO
214. pen 3 71 User Manual uk Copy Copy Drawing Paste Export to Library Logic Library Manager eee eee eee ee ee Unda Ctrl z2 Redo Etrit Delete Select All Toggle Value Select Parameter Ctrl T FFB Tir Attach p Remove FFE Attachment Output Link TE aa o Sut Fig 3 135 Selecting the parameter When the user selects the Select Parameter option a window as the one in figure 3 138 will open and the procedure is the same as the one described in the topic above Inserting tags in the elements When the user inserts contacts or coils a tag can be given to them via grid By clicking a contact or coil without tag the following option appear in the Object Properties window Object Properties Property Name Property Value Fig 3 136 Inserting new tag Write the parameter s tag Confirm the operation and the following window will appear Tag Options Previous Tag Hex Current Tag YE r 4 allable optione you can choose the option By its number on keyboard 1 Rename Tag Sooo to yy i Ta I Dra aaa S oe ee eee ee eee LHE 3 EEEE Cap a I 3 Create a new Virtual vanable with Tag TECC Fig 3 137 Tag Options window The available options related to edited tag are showed in the previous figure These options are 3 72 The LogicView for FFB e Rename Tag XXXXX to YYYYY When it is available this option will change the former tag by the tag typed by user
215. peration cannot be undone Are you sure Peer eer ee etter rere rr errr ae Ok i Cancel Perere reer ere reer rrrrerr retires Fig 3 165 Choosing the I O module type If the user chooses conventional I O modules the following window will open The LogicView for FFB Hardware Configuration mm TET TT RT LF GEE HE GR GE GRE ERE EER GER FE GE GE Configuration Slot 0 S Eye ae Add Rack Z emoe Fach 2 Fig 3 166 Configuring the Hardware If the user chooses redundant I O modules the following window will open Hardware Configuration i m Hardware topology amp RackZ C Rack C Rack1 C Rack C Rack3 SEs SPPPT ALN MLL BPM Fairs Configuration Pair OFS Power Supply for Backplane 20 30V0C 54 Advanced Diagnostic Fij Pair DF75 DFI202 HSE Logic Processor 2x1 OOMbps Par2 Available Para Available Fig 3 167 Configuring the hardware for I O redundant module In the Menu File topic was presented that if the user is in the Template Mode and creates a new project with the File New option the LogicView for FFB will create the new file with an empty Rack Z and a Rack 0 with the slot 0 filled with the DF50 power supply and the slot 1 filled with the DF62 controller The user can choose if the Rack Z DF 78 or DF92 will be used or not in the hardware configuration This rack has to be used for power supplies and controllers redundancy For further details see the DFI302 s
216. placement by conventional parameters will be applied to all logic diagrams or to a specific diagram The table columns have the following meaning e Select Allows selecting or not the meta parameter for replacement in the logic configuration Those that do not have an attributed conventional variable for replacement cannot be selected on this column e Meta Parameter shows the meta parameters tags used in the logic configuration e Type identifies the meta parameter type DI DO Al AO e Parameter shows the conventional parameter tags that will replace the corresponding meta parameters e Type identifies the conventional parameter type Virtual Hardware FFB DI etc On the table the user can still make the choice of the conventional parameter that will replace the meta parameter in the logic Therefore either the suggestion offered by LogicView for FFB can be changed or fill the attributions whose status is lt match not found gt To choose a variable just right click the desired table line and choose Assign a parameter option HIN_O Analog Input INO MT AO 0000 Analog Output match not found 45sign a parameter Select All matched parameters Unselect All Fig 3 69 Meta parameters manual attribution By clicking Assign a parameter the variable selection window will appear 3 37 User Manual 3 38 Select a Parameter kO Type AMS e Parameter ppe A Zor fiter eo fe Local f Remot
217. points x y as a function of variable type which is defined by INVAG parameter where the curve intermediate values are calculated by linear interpolate method The options for variables types are INVAG 0 SP set point INVAG 1 PV process variable INVAG 2 DEV deviation or error INVAG 3 OUT output signal INVAG 4 EXT external variable The points of the adaptative gain curve are given as percentage of the selected variable on the axis of the abscissa X and by the gain G on the axis of ordinate Y The gain modifies the tuned constants KP TR and TD as follows Kp G KP TR Tp ere Tp G TD Gain G may affect the PID PI P and D actions Selection is performed by parameter ADAPG which also inhibits adaptative gain action when ADAPG 0 not used ADAPG 0 not used ADAPG 1 PID ADAPG 2 PI ADAPG 3 P ADAPG 4 ADAPG 5 D The adaptative gain is recommended for highly nonlinear controls A classic example of adaptative gain is the level control of a boiler The volume variations are nonlinear with the level variations The dotted line in the following figure shows the volume gain with the level Note that the volume varies slowly low gain around 50 level and varies very fast high gain around the level extremes The control action must have a gain that is the inverse of the process gain This is shown by the continuous line in the following figure 2 93 Function Blocks 2 94
218. ponding equipment NOTE The filenames generated in this mode have extension pgi If is necessary changing the FFB parameters definition at Syscon through the procedure mentioned above i e right clicking FFB block the Define Parameters Tool window can appear as in the following figure FFG Parameters Definition Edit Mode a x gt IN_D_1 gt OUT_D1 OUT_D1 gt IN_D2 IN_D_2 2 OUT_D 2 ouT_b_2 N D3 IN_D3 s oUr Da ouTD3 N D4 DUT D4 NOS IN D5 sour oS oUTDS SINDE N D bd ouTos OUT D amp E bd Analog Inputs 32 H Analog Outputs J2 H FFB_AQ Tag DUTO JIN DUT OUT N2 IN_2 OUT 2 OuT2 S IN 3 IN_3 OUT 3 OuT 3 b IN 4 IN_4 OUT 4 OUT 4 N5 IN_5 OUTS OUTS IN 6 IIN z OUT 6 IOUT amp z iO Type Single 1 0 Multiple 1 0 Cancel Change IO Quantity VWOUsedin fy VOUsedin ke 1 0 Used in Logicview 10 Used in a l WO Not Used F LogicView Syscon a and Syscon Z Area Link Number of WOs 0 INSTANCE Fig 3 13 Changing the I O parameters of FFB In the last figure the tool shows the FFB inputs outputs status i e if a specific input or output is being used at Syscon and or LogicView for FFB The conditions are as follows 2 It means that the current state of FFB input output is Not Used Thus the tag of this point will be available to change and can be edited iF It means that the current state of FFB input outpu
219. put RACK2 defines the I O module s rack which status will be monitored in the OUT2 output SLOT2 defines the I O module s slot which status will be monitored in the OUT2 output RACKS defines the I O module s rack which status will be monitored in the OUT3 output SLOTS defines the I O module s slot which status will be monitored in the OUTS output RACK4 defines the I O module s rack which status will be monitored in the OUT4 output SLOTA4 defines the I O module s slot which status will be monitored in the OUT4 output RACKS defines the I O module s rack which status will be monitored in the OUT5 output SLOT5 defines the I O module s slot which status will be monitored in the OUT5 output RACKE6 defines the I O module s rack which status will be monitored in the OUT6 output SLOTE6 defines the I O module s slot which status will be monitored in the OUT6 output RACK7 defines the I O module s rack which status will be monitored in the OUT7 output SLOT7 defines the I O module s slot which status will be monitored in the OUT7 output RACK amp 8 defines the I O module s rack which status will be monitored in the OUTS8 output SLOTS defines the I O module s slot which status will be monitored in the OUT8 output Status meaning and outputs 0 Status I O module good 1 Status I O module bad STATUS SYSTEM STATUS STATUS 2 149 Function Blocks CLASS MNEM DESCRIPTI
220. puts Without AC Protection 2 Groups of 4 NC Relays Outputs Without AC Protection 1 Group of 4 NO and 4 NC Relay Outputs Without AC Protection 1 Group of 8 24VDC Inputs and 1 Group of 4 NO Relays bl Fig 3 74 Hardware Configuration Window Code Generated Code Generated is the pseudocode generated by LogicView for FFB and it is downloaded on the device via LogicView for FFB or directly to it in case of simulation and it is executed by virtual machine 1131 Normally this information will be used only for debug In case of fail this information can be saved in a file and sent to Smar s technical support Code Generated PSEUDOCODE Fig 3 75 Code Generated window The LogicView for FFB Ladder Menu By clicking Ladder or through the shortcut ALT L the following menu will open LogicView for FFB Template E43009BE Fie Edit View Petas Tools Help z l Display Scan Time in Status bar ee ee a a Fig 3 76 Ladder Menu Build is the command for pseudocode generation which will be executed by virtual machine 1131 The Build command generates the code that is showed on View Code generated The Simulation option is available only in offline mode When the user clicks Simulation a window will open showing the racks configuration The contacts will appear in logical state zero 0 in the ladder drawing area See the next figure In this example only the Rack 0 is being used A B C D TAG00201
221. r Export Tags for Supervision In Instance Mode after doing a tag changing in the ladder configuration the user may do an Export tags operation without going to Syscon The Syscon export all the configuration tags at once so this is a slow procedure Click File Export Tags for Supervision and the user needs to find the path where is placed the taginfo ini file This file can be at local machine or at a machine which is accessed remotely via dcom by the DFlOleServer The Export Tags for Supervision operation must be used to update the OPC Server database with the tags used in the logic for the Supervisory to access these OPC tags NOTE An Export Tags for Supervision is always automatically done after a download of the logic 3 17 User Manual Look in E OleServers fe i Eel DFASSy r io Logs Rainbow Taginfo Files of type T aginto File ini Cancel Fig 3 31 TagInfo ini file The tags will be exported and the next message will appear LogicView for FFB X A Export tags OK Fig 3 32 Export Tags Print Options Print Setup Clicking this option the user can configure the printer and its properties as in other Windows applications Print Preview Click File Print Preview or the icon in the Main Bar and the window below will appear Print Selected Information Page Hardware Configuration Page l Tags Tag Editor Diagrams Execution Order Cross Referenc
222. r 50 of the scale Thus OUT a IN t dt jo 0001 5000dt 0 5t m gt So in one minute or 60 seconds the totalized value is 30 m d FCF is less than zero When the block is totalizing a negative flow the totalization is decreased When the flow is positive the totalization is increased When FCF is greater than zero i e positive the TOT function block only accepts positive flows CLEAR Input If the CLEAR input is changed to true the totalization is restarted and the internal registers of the TOT function block are cleared TOT TOTALIZATION CLASS MNEM DESCRIPTION TYPE NO WeUie S SOS E TEE o o TOTALIZATION REACHES 8 000 000 OR 8 000 000 BOOL IN THIS CASE dl ON OUT TOTALIZEDOUTPUT FLOAT _ TOTALIZATION VALUE FOR ONE UNITY OF COUNTING FLOAT FACTOR OF FLOW RATE FLOAT I Input P Parameter O Output User Manual Valve Opening and Closing Control VDA OC Description This function block performs the compensation of valve opening and closing control defined by the diagram below Valve Open Command Valve Open Switch 2 133 Function Blocks DESCRIPTION XZLO XZL J S I Input P Parameter O Output 2 134 User Manual Cross Limit and Rate Of Change XLIM Description This function when EN is true limits a signal between static and dynamic values and also controls the rate of change The OUT output is the filtered result of the A input Se
223. re modules are removed from the configuration the associated tags to their inputs and outputs will have their Modbus addresses freed e The inputs and outputs of the function blocks only will appear in the Modbus addresses list if the I O signals are analog e The Modbus addresses limit for functions is 44997 If there are more function parameters exceeding that limit and the user needs to supervise points via Modbus which does not appear in the table generated automactically set the Modbus addresses in manual mode and add the point in place of another non used point In the Properties Editor option of Tools menu shown in the figure below the user can change the tags of inputs outputs virtual variables function blocks meta parameters the FFB and NetlO inputs and outputs and also change their respective descriptions The Safe Output values of the real variables can be changed and the function blocks can be configured as if the user was in the Work Area in the Object Properties window I Properties Editor 170 Type Parameter Type f 1 0 i FFB C Functions f Local m Keyword filter i Virtual i Netl 0 C Meta Parameters I O Types z Tag Direction Device TAGOOOOO 7 Input Fi 1 Input Input Input Input Input Input Input 2 Output Output Output k Output T Do Not Show Status DF20 OF20 DF20 DF20 OF20 DF20 DF20 DF20 OFZ DF25 DF23 OFZ DF25 mran Channel ooon0
224. redundant digital output points have besides a variable representing the points value 0 or 1 a variable representing their status 0 good or 1 bad The status tag is the same of the value followed by tilde before the tag The statuses are read only type Each value has a respective safe value which can be On 1 or Off 0 And each point also has a safe behavior that in case of digital outputs may be the last value or the value configured as safe value See the following figure Object Properties Property Name Property Value Digital 0O TAGOOOON Output DF112 00000 Safe Value Digital VO TAGOO000 Output DF112 00020 Fig 3 200 Value and status of the DF112 module The LogicView for FFB e Analog input module DF113 After inserting the module as described above it has to be configured Right click the module to open its configuration window Select the Edit Analog Modules option and then Edit Module Inputs The following window will open Select Analog Module Inputs Select Channel Channel 0 Set Parameters Values Select Input Range 4 to 20 m4 Range Scale EU Q EU 100 Appl channel settings to other channels Cancel Download Fig 3 201 Configuring the analog input modules So the module configuration can be changed Each module has 8 channels Each channel or point has an independent configuration Select the desired channel with the Select Channel option Th
225. respectively the power supply and the controller In the slot 2 choose the DF11 where will be plug in the sensors and in the slot 3 choose the DF20 where will be plug in the SW1 and Clear_Alarm switches Hardware Configuration FTE MMW TTD GET TG ETE EL FETE TET PETE REFEREE GPE GER FEE Slot DF50 Power Supply Module 90 264V4C Redundant r Slot DF62 DFI302 Processor 1x100Mbps 44H ba Slot2 DF11 2 Groups of 8 24VDC Inputs Isolated ad so DF20 Group of 8 Une Switches Add Rack Z Remove Rack Z Fig 4 3 Configuring the Hardware 2 Click rack 1 slot 0 and choose the DF24 where will be plug in the alarm and the warning LED Click OK Hardware Configuration gt Racks EE RAE COE CO OCR CO EE CO OC CEE CO EC CC GAPE EEE AA l l DF24 2 Groups of 8 120 240 V4C Outputs Available Available Available Add RackZ Remove Rack Z Fig 4 4 Configuring the Hardware 3 Now the hardware is configured the next step is to draw the ladder logic 4 2 Ladder Logic Example With LogicView for FFB Drawing the Ladder Logic Insert the elements in the ladder drawing area To know how is the insertion procedure you may refer to the Toolbox topic a d e e e Ee F Hierarchy m x smar Logicview Q Hardware FR Rack2 FP racko FP Rack Programs EB Untitled Bl 0 Ladder 0 dk Contacts 1 I Functions OD SR lt 2 Coils
226. rkspace System302 Scan Time 51 ms Device Model DF75 SN 122 Ladder Status Running 0 Ladder 0 v Cell B 3 t NIHET lt Studio302 Site Sm A To Fernandes LogicView for FFB F Fig 3 154 Comparing the hardware with Get Hardware Errors function If conflicts do not occur the message No Errors will appear IMPORTANT e lf there is usage conflict or point configuration conflict by ladder or by function blocks the preference will always be function blocks e When the Supervision starts the Get Hardware Errors function is performed automatically Upload Configuration mi By clicking the Upload configuration button H the LogicView for FFB does an upload of the entire configuration which is running in the controller This option is available for DF 73 DF 75 DF 79 DF81 DF89 DF95 and DF97 controllers Supervision The LogicView for FFB supervises of two ways discrete points supervision default and function blocks analog points supervision a et The Discrete Supervision button iio allows monitoring the discrete points during the ladder execution in online mode Firstly in order to supervise the ladder execution the user has to do the Export Tags in Syscon If the elements are gray the ladder is not being supervised If only the Discrete Supervision button is selected the analog points will appear as five interrogation points ae To supervise analog points click Function Blocks Supervision button 220
227. ro leveling If a negative value is specified to CTO the value that will be considered is zero Offset The Off parameter defines an offset value that will be added to the converted value by Al function block Burnout output If the BRT output is true it indicates that the input is in burnout that is the input has a value 2 greater than the scale upper limit or it has a value 2 less than scale lower limit In burnout the BRTY parameter indicates which action type will have the OUT output None in the output will be the input real value Low the output will keep a value which is 2 less than scale lower limit High the output will keep a value which is 2 greater than scale upper limit If there is not an analog input or the CPU cannot read it the output depends of BRTY parameter None High the output will keep a value which is 125 greater than scale upper limit Low the output will keep a value which is 125 less than scale lower limit 2 141 Function Blocks Al SIMPLE ANALOG INPUT CLASS MNEM DESCRIPTION TYPE K1 FILTER S CHARACTERISTIC TIME IN SECONDS FLOAT AND A FIRST ORDER EXPONENTIAL FILTER OFFSET VALUE FLOAT BRTY INDICATION OF BURNOUT TYPE LONG I Input P Parameter O Output 2 142 User Manual Analog Inputs for HART Device Alh Description When EN input is true this function block reads the values of the HART input device associated to CN Channel and places them in the
228. rror in the PID calculations is given by Reverse Action e SP PV Output decreases when PV increases Direct Action e PV SP Output increases when PV increases There are processes where the deviations in relation to the set point are preferable to disturbances caused by the controller on downstream processes Therefore the control actuation should be small for small deviations and increase gradually with the size of the deviation A typical example of this type of process is the level control of a tank where the set point is not as important as the flow Stability downstream the tank This type of process can be controlled with adaptative gain control with gap or quadratic error The quadratic error TYERR 1 the error to be considered in the PID calculations is given by 2 103 Function Blocks 2 104 Reverse Action e SP PV Output decreases when PV increases Direct Action e PV SP Output increases when PV increases e le 100 Error to be considered in the EPID calculation QUADRATIC ERROR 400 LINEAR NORMAL QUADRATIC l T T a a 100 j KA LINEAR 7 ERROR Quadratic Error x Normal Error GAP Control SGB and SGGAP There are applications where the control is unstable near the set point due to actuator dead band noise or other reasons In this case it is advisable to have a controller with a differentiated action around the set point The GAP control
229. s et Controllers SeT Hardware PS Rack z Rack o m Rack 1 oo f O DF45 f 1 0OF46 a a BA h 3 24 Copy Module E virtuals Paste Modu Om Network I O E Analog Modules F FF Block Defi ror Edit Module Inputs Fig 3 187 Configuring the analog input modules The window of the next figure will appear and there the module configuration can be changed Each channel or point has a configuration independent from the eight other ones Select the desired channel through the Select Channel option The default configuration for all channels is showed in the next figure select Analop Module Inputs Select Channel Channel 0 Set Parameters Values Select Input Voltage to BW Range Scale EL Wi EU 100 Apply channel settings to other channels Cancel Download Fig 3 188 Changing the configuration of analog input modules The Select Input Voltage option corresponds to the range of values in the channel input The allowed types are 1 to 5 V default 0 to 5 V default 10 to 10 V default O to 10 V default ATTENTION Observe the module s physical configuration and the jumpers that will be placed in the manual s module To modify the engineering unit for data presentation follow the next rule e Eng Unit O EUO is the minimum value e Eng Unit 100 EU100 is the maximum value 3 95 User Manual 3 96 If EUO 0 and EU100 1 the presented value wil
230. s applied to SECL and SECH limits have to be among 0 and 100 The security value always act over the automatic mode and to the manual mode PRIOR parameter defines the security priority over this mode PRIOR 0 Man Sec Auto the security will not act over manual mode PRIOR 1 Sec Man Auto the security will act over both modes Local Set Point L R SPL SPLL and SPLH The L R input defines if the set point used in the integration will be remote SP input or local SPL internal parameter If L R is true the local will be used if is false the remote will be used The local set point value is limited by SPLL and SPLH parameters If SPL is configured with values out of the range defined by SPLL and SPLH the SPL value will be kept in one of theses limits This limit is valid for SP and PV with the same action type of SPL These limits also have a second function which is to define the values range for the action of SP and PV variables i e utilization of engineering values The default values for these limits are 0 and 100 that is PV and SP are in percentage However changing the default values of SPLL and SPLH will be possible work with any values range for PV and SP i e they are considered in engineering units 2 97 Function Blocks APID ADVANCED PID CLASS MNEM DESCRIPTION TYPE SET POINT SELECTION LOCAL 1 OR REMOTE 0 MODE SELECTION MANUAL 0 OR AUTOMATIC 1 FB IF A M IS FALSE TH
231. s in true logic state the time that IN stays true is accumulated If IN changes to false the time counting freezes until IN returns to true When the time defined in PT is reached the Q output changes to true The time is in milliseconds If the RS input changes to true Q and ET outputs are cleared The RS value predominates over the IN value If the EN input is false all outputs are held in zero false ACMT ACCUMULATOR TIMER CLASS MNEM DESCRIPTION TYPE Q BLOCK OUTPUT o BOOL O I Input P Parameter O Output Accumulator Timer Function Timing diagrams E oe Lo to ti t2 t3 t4 t5 Q jf l t0 PT ti reset t4 t5 reset to ti reset t t3 t4 tS reset 2 7 2 8 Function Blocks Reduced Accumulator Timer ACMTr This function block works exactly like the ACMT block but it does not have the EN input and the EO output ACMTr REDUCED ACCUMULATOR TIMER CLASS MNEM DESCRIPTION TYPE o Q BLOCK OUTPUT o BOOL CURRENT ELAPSED TIME MILISECONDS LONG I Input P Parameter O Output User Manual Reduced Accumulator Timer ACMTh This function block works exactly like the ACMTr block but the time of ET output and PT input are configured in hours ACMTh REDUCED ACCUMULATOR TIMER CLASS MNEM DESCRIPTION TYPE z Q BLOCK OUTPUT BOOK I Input P Parameter O Output 2 9 Function Blocks 2 10 Pulse Down Counter CDN Description The CDN function
232. s than or equals to OUTH allowing quicker responses and avoiding overshoot in heating processes for example The same idea is applicable to the lower limits AWL and OUTL OUT output limits CLIM OUTL and OUTH The OUT output limits are defined by OUTL and OUTH parameters The values applied in these two parameters must be among 2 and 102 The CLIM parameter defines which mode automatic manual will be applied the OUTL and OUTH limits CLIM 0 AUTO MAN in both modes CLIM 1 AUTO only in automatic In any operation mode which is possible to write in the OUT output if the written value is out of the configured limits the output will be kept in the previous value Deviation Alarm DEVAL MTDA ALM The alarm can be set for the desired deviation limit DEVAL and for how long this deviation may be tolerated without alarm activation MTDA For example if DEVAL 5 and MTDA 30 thus the ALM output will be activated logic level 1 if a deviation of 5 remains for more than 30 seconds For MTDAZ 0 infinite time the deviation alarm is not activated without alarm Alarms which can be configured ALM1 INAL1 TYPE1 DBN1 REF1 ALM2 INAL2 TYPE2 DBN2 REF2 The alarms ALM1 and ALM2 are independents and can be configured They are activated through their parameters comparing the reference value REFx and the selected variable in INALx SP or MV Is possible to select the comparison type TYPEx checking if INALx is above High be
233. s that are being used in the configuration The result will be as follows 3 36 The LogicView for FFB e Matched Parameters They are variables I O Virtuals FFB or NetlO whose tags are equivalents to the meta parameters tags In the previous example BOMBA_1 and BOMBA_1 are equivalent tags Besides the tags matching an evaluation of type compatibility between the meta parameter and the equivalent variable is performed For example if the tags match but the meta parameter is Al type while the corresponding variable is DO type the replacement is not valid When the types are compatible and the tags match the table is automatically filled with a replacement suggestion e Not Matched Parameters When the LogicView for FFB does not find a conventional variable that can be suggested on the table because it does not find a tag matching or because the variables are not compatible the message lt match not found gt will be shown in the Parameter table column In this window also are available the following options e Search Options it has the search options of the meta parameters that will be shown on the table DI DO Al or AO e Matched Parameters shows only the meta parameters that have a corresponding variable for replacement e Not Matched Parameters shows only the meta parameters that does not have a corresponding variable for replacement e Replacement Applies to this box allows choosing if the meta parameters re
234. s the NOT and XOR functions So the logic output is the inverted XOR logic function 2 35 Function Blocks If the EN input is false the output is held in zero false If the Prm value is greater than 5 the EO and OUT outputs will be zero false BWLir REDUCED BITWISE LOGIC 1 MNEM DESCRIPTION TYPE BOOL P LOGICAL OPERATION LONG I Input P Parameter O Output 2 36 User Manual Bitwise Logic 2 BWL2 Description This function allows implementation of the logic functions using a function block Six different function blocks can be set AND NAND OR NOR XOR and NXOR The user chooses the type of logic operation during the BWL2 block setting and this block will perform this logic function The number of block inputs is configured by the N_IN parameter minimum of 2 and maximum of 14 inputs The block does the operations among the bits which are represented by each digital input Prm 0 Function AND The logic function AND for two inputs IN1 and IN2 has the OUT output given by the Boolean expression OUT IN1 IN2 This will result in a state table as shown below IN1 BIT17 BIT16 BIT15 BIT14 BIT13 BIT12 BIT11 BIT10 IN2 BIT27 BIT26 BIT25 BIT24 BIT23 BIT22 BIT21 BIT20 OUT BIT17ANDBIT27 ccccccescceeeseeeseeeees BIT10ANDBIT20 Example IN1 00001111 IN2 11110000 OUT 00000000 PRM 1 Function OR The logic function OR for two inputs IN1 and IN2 has the
235. sacseceeeen 2 124 SAMPLE HOLD WITH UP AND DOWN SMPL csscsessessessesecsseseeseessesuccucsscsuesecssessesecsacsuesscsucsuesecsacsecssesscseesecsessacseeseceeeee 2 127 STEP CONTROL STP eae en a a E a tts UR rte viel Od rip tn vier aida tesa 2 129 TOEA TION WO coer se easter tee hei an eee tein Ie Pal wate eat a ahd an ie 2 131 VALVE OPENING AND CLOSING CONTROL VDA OC c scssesssssessesssessessessesuesucssesuesuesucsussuesscsussuesussussuessesuesscsuessceecseesseen 2 133 CROSS LIMIT AND RATE OF CHANGE XLIM cccccecsccecssesecseessessessessececsecsucsecsuessesuesecsussucssesuesucsacsussuesecsuesecseesecsecseceeeen 2 135 INPUT OUTPUT EUNG TIONS anae otetchaatenraetctet tal shovenaudwesstuncahewne ancy eed estas vacduttea ud tarnd nade tane sheet aatabenan nena 2 137 PULSE ACCUMULATOR ACC micas cde acta aed Be ee eva teed n kan LA age LAL AAA LA LEAS LAL EAA L teas LE EEEE LL EEan arrn 2 137 PULSE ACCUMULATOR ACC_N cccccccecsecceesecsecsecsecsecsecsecsecsucsecsecsecsersecsucsersersecsecsecsucsersecsacsarsacsecsatsatsetsatsetsetsetsatsetsecseee 2 139 GIMP ANALOG INPUT AI ec teste ce cater aarti cacao tea cacesce cceacesce daca astaveccuscn iacearialescdach att alauctd aca ajenareulencclctiactatcacat 2 141 ANALOG INPUTS FOR HART DEVICE AIH c ceccescccecseessecseceesecsscsecssessesecseessesecsecseesucssesecssesacsetseesessetsetsaesiesstsesesseeeeeees 2 143 ANALOG OUTPUTS FOR HART DEVICE AOH cccccscescccececceesecsscsecsecsecseesecs
236. scending transition occurs in the block input the CV is increased by one unit When the internal count reaches the value defined in PV the Q output changes to true CTUr REDUCED PULSE UP COUNTER 2 CLASS MNEM DESCRIPTION TYPE BOOL BOOL LONG O Q BLOCK OUTPUT BOOL LONG I Input P Parameter O Output User Manual Reset Set RS Description When EN input is true this function block works as follows If the R input is true the Q output goes to false If the S input is true Q goes to true If the two inputs are true Q is held in false If the EN input is false all outputs are held in zero false RS RESET SET MNEM DESCRIPTION TYPE INPUT ENABLED BOOL R BLOCK RESET BOOL BOOL OUTPUT ENABLED BOOL Q BLOCK OUTPUT BOOL I Input P Parameter O Output Function Blocks 2 18 Reduced Reset Set RSr Description This function block works exactly like the RS block but it does not have the EN input and the EO output RSr REDUCED RESET SET MNEM DESCRIPTION TYPE R BLOCK RESET BOOL BOOL Q BLOCK OUTPUT BOOL I Input P Parameter O Output User Manual Real Time Alarm RTA Description When the EN input is true this FB works like a clock alarm A date DT and an hour HR are set by the user to trigger the alarm When the specified time is reached by the local time which is configured in the time zone of Windows operational system that the block is configured the o
237. ser to decide if will be showed alternatively Scan Time or Sync Time only Scan Time or only Sync Time in the Status bar The LogicView for FFB Properties General M Show Grid Paper Color M Auto Scrolling Enable Function Addresses on Property List Enable Modbus Addresses on Property List Grid Color Page Break Color Enable Information Dialog during FFE Download Selection Color Only Scan Time prevails upon Syne Time Orly Sune Time Alternate List Color Display Links Only in the Current Net ray Online List Color i Simulation Color Separator l Cache Level UndofHeddlevels lt View Mode Color OPC Timeout 1 S00 fn Supervision Orly Color Cancelar Fig 3 82 Configuring the workspace appearance 1 The user can define the tag separation symbol when they appear in TagView for example The default symbol is colon Some characters are not accepted If the user tries use these kinds of characters a message Invalid Char will appear The OPCTimeout parameter indicates the time that the LogicView for FFB must wait for the OPC Server s response to a request done to the CPU which the LogicView for FFB is already connected It is especially useful in cases where the communication with the CPU is wireless The user can choose the Cache Level which defines the maximum number of ladders which will be in cache during the supervision This value must be between 1 and 9 If the Enable Inf
238. sersuesersucsecsersucsecsecsarsecsecsecsutsatsatsecsetsersateeeeees 2 39 ON STAID Si CONS 10 acess e ey ear sge eects eine cds on oE OEE Ea EEEE teen lnesudts wn sasteecsaedices encase 2 44 INTEGER TO BOOLEAN CONVERSION ITB1 cccccccscesceeseeseesecsecsecsecsecsecsecsecsecsecsecsecsucsecsersecsecsecsarsecsucsassetsatsatsetsecsatsatsaeeees 2 42 INTEGER TO BCD CONVERSION ITB2 csssscsscsseceessessessesecsucsuesuessesucsecssesucsucsueseesucsuesucsussuessesatsaesacsuessessessessesssieseseeseeeees 2 43 FLOAT LONG TO LONG CONVERSION LONG cccsecsessessessessessessecsesscsecsecsecsucssesuesucsucsucsecsssseesuessesecssesecsuesstsetsecseeseeseseeeees 2 44 MULTIPLEXER FOR BOOLEAN INPUTS MUX1 cccccccscescecceesecseeseesecsecsecsecsecsuesecsecsecsecsecsecsecsusseesecsetsassetsersatsetsessetsetseeeees 2 45 REDUCED MULTIPLEXER FOR BOOLEAN INPUTS MUX1R sccccsesssscecsseceeseesseseesecsecsecsecseesseseeseesecseesecssessesuesetsesseeseeeeeeees 2 46 MULTIPLEXER FOR FLOAT INPUTS MUX2 c cccscscescecseccesecsecsecsecseesecsecseesecsucsecsarseeseesecsarsecsecsetsetsacsessessetsatsetsetsetsetseteeeeees 2 47 REDUCED MULTIPLEXER FOR FLOAT INPUTS MUX2R ccccecceccecssesecsseceeseessessesecsecseesecsscsseseessesecseesecssesseseesseseessesseseeeees 2 48 BITWISE NOT FOR BOOLEAN INPUTS NOT1 scsssssessesssesecssessesscsuessesscsuesucsucsuesuesucsucsussussusssessessesscsuessessesseseessseesesesseeees 2 49 BITWISE NOT BIT A BIT NOT2 ce cle accel aa tay ha af
239. slots 0 and 1 of the Rack Z and the controllers which were in the slots 2 and 3 of the Rack Z will be transferred to the respective slots in the Rack 0 If the slots O and 1 of the Rack O were already filled the user cannot remove the Rack Z The following messages will appear LogicView for FFB Rack 0 Slot 0 is already occupied by a module Remove Rack z is not allowed LogicView for FFG Rack 0 Slot 1 is already occupied by a module Remove Rack zZ is not allowed Fig 3 175 Error Removing the Rack Z 2 Choosing the modules When the desired slot is clicked an options list will open See the figure below 3 89 User Manual Hardware Configuration EE E E SiO DF50 Power Supply Module 90 264VAC Redundant Slot1 DF62 DFISO2 Processor 18100Mbps 4xH1 Til Slat 2 Available 2 Groups of 8 24VDC Inputs Isolated DFI2 2 Groups of 8 46D Inputs Isolated JDFI3 2 Groups of 6 EYDE Inputs leolated DFI4 2 Groups of 8 125 V0C Inputs Isolated DFI5 2 Groups of 8 24D Inputs Sink l olated DFI6 2 Groups of 4 120VA4C Inputs Isolated DF 2 Groups of 4 120 VA4C Inputs Isolated DFS 2 Groups of 8 120V4C Inputs Isolated DFS 2 Groups of 8 240 VAC Inputs Isolated DFZO 1 Group of 8 On Off Switches DFS 1 Group of 16 Open Collector Outputs DF22 2 Group of 6 Transistor Outputs source Isolated DF23 2 Isolated Groups of 4120 24 0 AC Outputs DFe4 2 Groups of 8 120 240 V4AC Outputs DF25
240. ss the ESC key on the Select button or on another element to insert the element As soon as a logical element is inserted it can be referred by its default Tag or by a user Tag The LogicView for FFB After inserting an element type of contact or coil and associates some tag to it the element can be replaced by another of the same type without deleting the element that will be replaced The exchange is immediate just choose the new element in the Elements tab and place it in the desired cell The tag will not be changed After inserting the elements the user has to configure them It can be done in two different ways e Double click the element The window below will open Select a Parameter O Type s gt Parameter Type kepword filter cy l Local Remate a FFB Search C Virtual C Setl O C Meta Parameters Direction Device Channel Sate Output D escription moa oran ooo WA TA amp GO0001 Input DF20 o0001 HA TA amp Goo002 Input DF20 oo002 HA TAGOOOOS Input DF20 o0003 HA TA amp GO0004 Input DF20 o0004 HA TAGOOOOS Input DF20 00005 HA TAGOOOOE Input DF20 000E HA TAGoOo007 Input DF20 00007 HA T amp GO0100 Output DF28 00100 Off Output DF28 00101 Off TAGOoI OZ Output DF28 O01 02 Off TA amp GOOIO3 Output DF28 00103 Off TAGOO 04 Output DF28 00104 T nn nC a ee ee nea nn Ac l Do Not Show Statue Fig 3 134 Selecting the parameter In this window the user has to configure the parameter type I O V
241. ss to Logic Library 1 In this window the tags can be customized and also the descriptions of the parameters that will be exported The characterization or personalization of tags involves editing the contents of Tag on Library and Description columns on the window of the previous figure The Filters box allows alternating the table viewing between discrete elements contacts and coils and function block links Contacts and Coils the table will show the exported elements their tags in the diagram Original Tag their tags in the logic library Tag on Library and their descriptions Description Only contacts and coils that have association with some variable I O Virtual FFB NetlO will be shown on the list Contacts and coils without association without tag will not be shown and only their drawing will be exported Function Blocks the table will show in the F Parameter column the function blocks parameters that have links with FFB or NetlO points numeric values or links among function blocks will not be shown The Linked To column shows the point that the parameter is linked and the Tag On Library column shows the tag that will be exported to the library See the example in the following figure 3 57 User Manual Exporting Logic 6 to Library B Step 2 Tags Edition x Library B Logic B Filters Function Blocks Links Contacts Coils Automatic Tags Generation C Using logic name B as
242. suesussiessessessesiesssesteseseeeees 2 61 REDUCED MULTIPLICATION MULR c cccccscecceeseececseeseeseeseeseesecseeseesecsecsucsersucsersarsersucsecsarsacsaesarsarsecsarsersatsatsutsetsecsetsetsaeeees 2 62 STIS WO E NOT setae a cence l ee E athe Reta E e Me ciel lag Lindman et a 2 63 BITWISE OR OF 2 TO 8 INPUTS OR2 OR8 ccscescecseccesseesecsecsecsecsecsecsecsecsecsecsucsersucsucsacsarsacsecsersarsacsatsucsutsatsatsetsatsatsetseteees 2 64 SUBTRACTION CBT posers ese ese renee e a cence based a th ue Gnade etic bene n nedaced aatuaiastecataneict 2 65 SQUARE ROOT SOR siecle Ean en e eaae a setuid yal site cnce A BA etna eaa selan tea tie Vatican 2 66 COMPARISON FUNCTIONS Feria et Ric hear ease asc i as ctratc se a net hat oe Re Ne cote ala 2 67 QUADA ARM fe E A eee ne te eeoet tr a nO eet mean ot ne NUR a nC ET OnRC a eer ec te 2 67 DOUBLE eae as fara a est nee ea fe aaa dene alta aed neem E 2 69 INEQUALITY DIF s cice ciated ecacces cesctes ac zanecnece anes tanec scnns ics ccaeascetccdatss stances sch ca casdautea het elleel LAAL AAA LAE aaan iu eaosaetensaeesicncuee 2 71 ENT en ic cies E denen eect ded ec cea tata cre tue ates E E aschcatas adoseeatcegel 2 72 REDUCED EQUALITY EOI coset ch ccc ects dexepteset coats ders clei Sey ueslccest once lalco cao s ee eedee a cos oad tolec sso deeetsedeeeptoseusanttotaialocte 2 74 DECREASING SEQUENCE GT cccccssescecceesseceesecsecsecsecsecsecsecsersucsecsecsecsecsucsersersarsutsarsecsacsussarsetsers
243. t 2 54 User Manual Mathematical Functions Absolute Value ABS This function when EN is true finds the absolute value of the IN input and places the result in the OUT output For example if the IN input is 0 78987 the OUT output will be 0 78987 If the EN input is false all outputs are held in zero false ABS ABSOLUTE VALUE CLASS MNEM DESCRIPTION TYPE O I Input P Parameter O Output 2 55 Function Blocks Addition ADD Description When EN is true this function adds the values of the used inputs and places the result in the OUT output The inputs that will be used are defined by the N_IN parameter minimum of 2 and maximum of 14 inputs For example N IN 5 The OUT output will be IN1 IN2 IN3 IN4 IN5 If the EN input is false all outputs are held in zero false ADD ADDITION CLASS MNEM DESCRIPTION TYPE EN IN1 IN2 IN3 IN4 o P N_IN NUMBER OF INPUTS LONG I Input P Parameter O Output 2 56 User Manual Reduced Addition ADDr Description When EN is true this function adds the values of the IN1 and IN2 inputs and places the result in the OUT output If the EN input is false all outputs are held in zero false ADDr REDUCED ADDITION DESCRIPTION TYPE I Input P Parameter O Output 2 57 Function Blocks 2 58 Bitwise AND of 2 to 8 inputs AND2 AND8 Description This function performs the bitwise AND for the inpu
244. t p Start Address End Address Description 10001 110008 00001 00016 Tag In Out Type Group MB Address TAGOO3O0 OUTPUT D0001 TAGOO301 OUTPUT TAGOO302 OUTPUT TAGOO303 OUTPUT TAGOO304 OUTPUT Diagrams The ladder diagrams can be printed of the several ways Select the Diagrams Ladder Logic option and the following options will be enabled and should be selected according to user needs e All Diagrams Indicates that all diagrams will be printed e From xx to yy Indicates which diagrams will be printed For example From O to 4 indicates that will be printed the diagrams 0 1 2 3 and 4 e Fit to page The diagram will be printed in only one page e Print grid lines The grid lines will be printed with the diagrams e Show rulers on all diagram s pages The ruler which indicates the cells numeration of the Ladder Drawing Area will be printed on all pages If this option is not selected the ruler will be printed only in the pages which diagrams are directly linked to it Print Click File Print or the icon in the Main bar and a window equals to the figure 3 33 will appear The user should select the options which he wants as was explained in the previous topic The difference is that after select the options and click OK the configuration file will be printed immediately Page Order In the upper right corner of the print page there is the Page Order information See the figure below smar Projet
245. t ccs cat oases se nlc pt Att tet aaan cuca Laan LAEL AAA ani Aa Ant aariat oiaren nn 1 2 ELIMINATE VERTICAL CONNECTING LINE c cccccscceceescseeceesecssesecsecsecsecseesecsecsecsuesecsacsucsecsecsecsecsarsarsecsecsacsacsecsersecsecsecseceeeen 1 2 DELETE OB IEC We teerecsescerc Scher cncceit asec etnies oa e cctesc ed t aAA kune aaan Ant aak dat eu ee nuance oawcanadendueieectumige nianna ionia 1 2 II TO pena im tect nerve trv no tO Iv ey en e NT ere a ee penne ter ae 1 2 PDD INO WE seca cesar tee ei sete es ae ce ee ed ae 1 2 DEFINITIONS OF THE NETWORK TOOL BOX ELEMENTS IEC 61131 3 STANDARD OTHER LANGUAGES 1 3 NORMALLY OPEN ONT CW cae al ect eel Pd eet a rnc em cecal LA LEAS LLL EAA LL EAA LEEA E aaran 1 3 o E aCe a aa rete mr ctttnrd USE EES E eno S99 OU TEI N ETE Tea ee TEE 1 3 BOOB AN PE OGG aiccciea a a a tas steiea te cnemmnanidemetan catuatencuetbuntiaack ste celtsaveobehwaditaand heoutieagiateunseesbe 1 4 OR AIL VO ENE Vaiss sees asta Set eh CR ine Cis ei ce cdd el eNO ECOG hi ttl Duct ca anenaeC 1 4 NORMALLY CLOSED 2 l Crel aE aair at oaan r aeto aanns 1 4 LOGICAL FUNCTION OR DI 1 4 LOGICAL FUNCTION AND cccsessessessessessecsecsecsucsussucsucsucsucsussucsucsucsucsucsucsucsucsuesscsuesuesussuessessesassucsacsacsueseesucsassueseesecsesseesseseeen 1 5 BOOLEAN EQUATIONS eiciccctes osc becte an chen eta cet tees cect om unease Dec Daaa nrt cin Doves aetna dees Dore chute naro aarin enoaan 1 5 BOOLEAN ALGEBRA ccscesceccescecc
246. t figure 4 4 Ladder Logic Example With LogicView for FFB EO amp A B C D E F G H J 1 NA N A N A SENSORI SENSOR2 SENSORI SENSORS SENSOR SENSORS Sii SENSORI FIRE WARNING SENSOR2 ie Rack Z Stop SENSORS En tn fe i 5 Fig 4 8 Simulation Sensor 1 Activated Suppose the SENSOR3 also detects smoke Activate the SENSOR in the rack 0 and see that the alarm is triggered EO i A SENSORI SENSOR2 ALARM SENSORI SENSORS Simulation F Use Automatic Inputs SENSOR SENSORS l A DF50 0F62 Swi CLEAR_ALARM SENSORI FIRE WARNING SENSOR Rack Z SENSORS zh 3 _ a Fig 4 9 Simulation Sensors 1 and 3 Activated The alarm will keep activated even after the sensors do not detect the smoke anymore The alarm will be deactivated only if the manual switch CLEAR_ALARNM is activated 4 5 User Manual EO ve F Use Automatic Inputs SENSORI FIRE WARNING SENSOR2 RackZ SENSORS zaik o A v Fig 4 10 Simulation Activating the Clear_Alarm The alarm can be triggered manually by the SW1 switch Note that the S input has priority over the R input oa d e e Ee F o u i R14 Eo a ALARM a aw e a a el SENSORI FIRE WARNING 4 SENSOR2 Rack Z Close SENSOR3 Oo A wv Fig 4 11 Simulation
247. t is Used in LogicView Thus this point is already associated in internal logic of FFB which is being edited and its tag will not be available to change it is blocked for editing 3 7 User Manual 3 8 It means that the current state of FFB input output is Used in Syscon Thus this point is already used in a Syscon control strategy which contains the FFB that is being edited and its tag will not be available to change it is blocked for editing JE It means that the current state of FFB input output is Used in LogicView and Syscon Thus this point was already used as mentioned above simultaneously in both tools and its tag will not be available to change it is blocked for editing 9 It means that the current state of FFB input output is Defined by user as a parameter which will be used in Area Link Thus its tag will not be available to change it is blocked for editing It is possible to force the editing of input output tags For this just click the button Change l0 Quantity When the user forces the tags editing the following message will appear FFBDefWizard a x ATTENTION editing used 1 0 Tags may create inconsistences on lt s FFB associations used in Logicview andlor Syscon Do you want bo proceed Fig 3 14 Warning Unblocking the editing of used points By clicking Yes Sim the tool will unblock all inputs outputs which were with the editing protected Thus all I O poi
248. t is false all outputs are held in zero false MUL MULTIPLICATION DESCRIPTION TYPE MNEM EN IN1 IN2 IN3 IN4 IN5 IN6 IN7 N8 N9 N10 N11 N12 N13 N14 EO OUT N_IN I Input P Parameter O Output 2 61 Function Blocks Reduced Multiplication MULYr Description When EN input is true this function multiplies the values of the IN1 and IN2 inputs and places the result in the OUT output If the EN input is false all outputs are held in zero false MULr REDUCED MULTIPLICATION DESCRIPTION I Input P Parameter O Output 2 62 User Manual Bitwise NOT NOT Description This function inverts the logic state of the Boolean data in the IN input If the input is true i e logic level 1 the NOT block output will be false logic level O and vice versa NOT BITWISE NOT 2 63 Function Blocks 2 64 Bitwise OR of 2 to 8 inputs OR2 OR8 Description This function performs the bitwise OR for the inputs IN1 and IN2 up to IN8 and places the result in the OUT output Truth table If IN1 up to INn is equal to 0 OUT output will be equal to 0 otherwise will be 1 OR BITWISE OR INI OUT F OR2 DESCRIPTION I Input P Parameter O Output User Manual Subtraction SBT Description When EN input is true this function subtracts P1 from P2 and places the result in the OUT output If the EN input is false all outputs are held i
249. t value when the control is transferred to manual The applied value in this input has to be among 0 and 100 The use of this input can be done through the selection of TRS parameter A M Input Automatic Manual If A M is true the APID will be in automatic control and if A M is false the APID will be in manual control Types of transference from Manual to Automatic TRS The output value of APID block is defined by the TRS parameter TRS 0 Bumpless In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it starts the calculation from last output value in manual mode TRS 1 Bumpless BIAS In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it starts the calculation from BIAS parameter value TRS 2 Bumpless FB In manual mode the block output value is equal to the inserted value in the FB input In this case it may not write in the OUT output When the block switches from manual to automatic it starts the calculation from FB input value TRS 3 Hard In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it starts th
250. tate of the right link shall be OFF at all other times Q Coil The state of the left link is copied to the associated Boolean variable and to the right link O Negated Coil The state of the left link is copied to the right link The inverse of the state of the left link is copied to the associated Boolean variable that is if the state of the left link is OFF then the state of the associated variable is ON and vice versa 6 Set Latch Coil The associated Boolean variable is set to the ON state when the left link is in the ON state and remains set until reset by a RESET Coil Reset Unlatch Coil The associated Boolean variable is reset to the OFF state when the left link is in the ON state and remains reset until set again by a SET coil 1 1 User Manual 1 2 9 Positive Transition Sensing Coil The state of the associated Boolean variable is ON from one evaluation of this element to the next when a transition of the left link from OFF to ON is sensed The state of the left link is always copied to the right link i oe Negative Transition Sensing Coil The state of the associated Boolean variable is ON from one evaluation of this element to the next when a transition of the left link from ON to OFF is sensed The state of the left link is always copied to the right link Reset Retentive Memory Coil The associated Boolean variable is reset to OFF state when the left link is in the ON state and rem
251. the Object Properties window In this place the user should write the program s name Object Properties Property Name Property Value Diagrams 1 Name Fig 3 204 Changing the program s name Diagrams can be inserted right clicking on the program s name and then choosing Insert New Diagram When a new diagram is inserted a build is done automatically Hierarchy mar Logicvieny al E g Hardware El pa Frograms Insert Mew Diagram Remove All Diagrams Enable All Disable all Fi S Alnnrithm 1 Fig 3 205 Inserting ladder diagrams If the user decreases the number of diagrams or delete some diagrams the LogicView for FFB will show the next message The user must confirm or not the operation LopicView for FFB Fig 3 206 Confirming the changing number of ladder diagrams 3 107 User Manual 3 108 The user can remove all diagrams at once Click the program s name and then in Remove All All diagrams will be removed The user must also to confirm the operation The user can enable or disable all diagrams by right clicking on the program s name and then in Enable All or Disable All respectively See the figure 3 205 If the ladder is enabled its symbol will be filled with yellow Otherwise it will not be filled To change the diagram position in the program right click the diagram and choose the desired move Move Up or Move Down It will change the diagram exec
252. the Status bar in the lower left side At each minute the message This application will shutdown in x minute s will appear indicating to the user the remaining time The LogicView for FFB Using the LogicView for FFB Launching the application To start an application the user should click Start Programs System302 Studio302 Studio302 fan System302 al ft PROFIBUS Configurator ifn WBS Chart Pro QU SqlServer Create Database E Acrobat Distiller 6 0 Studio30z g Adobe Acrobat 6 0 Standard Studio udl Fig 3 4 Launching a Studio302 application The following window will appear and the LogicView for FFB can be executed from this window in Template Mode The user has to click the icon showed below at the toolbar under the main menu System302 Studio Site Smar Current Database System302 Logged as administrator File Settings Tools Window Help S88 2 8860 FERRER Maes Qe E amp Y Smar wl Areas 7 E Applications Devices a Equipment Database ET Tasks Fig 3 5 Starting a LogicView for FFB application After that the user has to choose the New FFB Logic Template option The LogicView for FFB will run on Template Mode See the next figure 3 3 User Manual 3 4 e Logic View LogicView Choose the action JF New FFB Logic Template 4 DF65 Logic Fig 3 6 Starting a LogicView for FFB application In the Instance Mode the
253. the example 1 should change to 10 which forms a new tag V00010 The search engine could not find any variable defined in LogicView for FFB with this tag for the variables replacement could be performed indicated by the status NOT FOUND in the last column of the table In the second line the association procedure found a variable INBOMB1 and by the selection rule should change the variable by another called INBOMB10 As this variable was already defined in LogicView for FFB the association procedure found the variable and checked their compatibility for the variables replacement In this case there is compatibility and the operation is allowed indicated by the status FOUND in the table The LogicView for FFB In cases where the variable exists but there is no compatibility between them for example if a variable is associated with a coil which only allows output variables and the procedure finds an input variable with the tag in according to the selection rule this is not a valid replacement The operation will not be enabled and the status will be indicated as FOUND BUT NOT COMPATIBLE in the table as in the following example Tag Matching f x Selecton Rue ADDS Search Options FIND variables containing f Contacts Coils variable exchanging CHANGE TO variables Function Blocks tag renaming Tag found by rule Tag suagested by matching OUTBOMBA INBOMBAT FOUND BUT NOT COMPATIBLE OUTBOMBA INBOMBAT FOUND
254. there is a correspondent Yn output value i e this block creates a f x function Selecting the OUT output formats PERC parameter PERC 0 false This option is used in percentage operations with real numbers for example 21 56 In this case the output value OUT is a real number For example if the calculated value is 20 45 then the output value will be 20 45 or if the calculated value is 20 55 the output value will be 20 55 PERC 1 true This option is used in percentage operations with integer values O to 10000 where O represents 0 2156 represents 21 56 and 10000 represents 100 00 In this case the output value OUT is an integer number For example if the calculated value is 20 45 then the output value will be 20 or if the calculated value is 20 55 then the output value will be 21 Bypass If the PASS input is true the LIN block passes the block input value to the output as defined in the PERC parameter Serial Behavior When an application requires more than 10 points LIN function block may be put in series The block serial behavior is defined by the TYPE parameter as follows TYPE 0 ALONE unique block TYPE 1 FIRST first block TYPE 2 INTERMEDIATE intermediate block TYPE 3 LAST last block The DONE output must be connected to the PASS input of the next LIN block The first block of the arrangement must be set as FIRST and all intermediate blocks as INTERMEDIATE and the last block as
255. tings to other channels button can be used if the user wants to replicate the configuration done to one channel to the others Just select the channels as in the following figure Select Analog Module Outputs Select Channel Channel 0 Set Parameters Values iW Channel 2 Channel 3 Apply Appl channel settings to other channels OF Cancel Download Fig 3 192 Selecting channels to replicate the configuration Always configure EUO lt EU100 The Download option can be used when LogicView for FFB is online to download only the scales if they were changed A configuration download of the all modules of the same type will be done and not only of the module which was changed Pulse input modules The available pulse input modules are DF41 DF42 and DF67 After inserting them as described previously they must be configured The point configuration of the pulse input modules is done individually For this expand the tree of I Os as in the following figure The LogicView for FFB mar Lagicview 0 DF45 f 1 DF46 2 DFS ff 3 DF67 Group 0 E oo BS o1 El oz o3 El a4 El yos El o6 yor E Group 1 E og El io E oz o3 El a4 El yos El tos El aT ha Fig 3 193 Configuring the pulse input modules Each input must be configured in the Object Properties window where the following configuration parameters are available Description Point s descr
256. tively After the user clicks OK the points DI DO Al AO DI64 DO64 Al16 and AO16 are generated In I O Type option are chosen how many and what parameters will be configured In Single I O option DI DO Al and AO are configured In Multiple I O option DI64 DO64 Al16 and AO16 are configured They will allow an information exchange between continuous control which uses FOUNDATION fieldbus technology and discrete control For further details about FFB Parameters Definition see the Syscon s manual See the following figure 3 5 User Manual Digital Inputs 4 a FFE_DIG4 Tag o INEA DO INSA DO AASE E gt N64 D1 IN64_D_ N64 D2 ING4D 2 N64 D3 _ING4_D_3 Analog Inputs 4 H PREN FFE_AI16 Tag rae FFE_AIB Tag NIE IN1E2 9 INTE 3 WO Type Single 1 0 Ok 4ONotUsed 4H MO Usedin Logic lew B FFB Parameters Definition Edit Mode Digital Outputs FFB_DO64 Tag OUTE4 DO OUT64 DO OUTS4 0D1 OUTE4 D1 OUT64 D_2 OUT64 D2 OUT64 D3 OUT64D_3 Analog Outputs 4 5 4 FFE AQIB Tag eouTeo OUTIEOo Oo OUTIB1 DUTIEI ouTi62 OUTIG2 9 OUTIE3 OUTIG3 Multiple 1 0 Cancel Change lO Quantity 140 Used in de O Used in LogicView z 140 Used in Secon ji and Syscon Area Link Number of os 144 INSTANCE Fig 3 10 Defining the FFB parameters When the FFB parameters are already defined the user should edit the ladder logic Right click FFB
257. tomatic it starts the calculation from BIAS parameter value proportional term KP x error TRS 5 Hard FB In manual mode the block output value is equal to the inserted value in the FB input In this case it may not write in the OUT output When the block switches from manual to automatic it Starts the calculation from FB input value proportional term KP x error MANUAL AUTOMATIC MANUAL AUTOMATIC OUTPUT 3 OUTPUT TRS TES 3 Eup Rant OUTPUT OUTPUT TES 1 TRS 4 Bump BIAS Hard BIAS OUTPUT OUTPUT TRS 2 TES 5 Bump FB Hurl FE Manual to Automatic Transference NOTE Before the block status changing from Manual to Automatic is recommended adjust the error to zero with SP equals to PV value Security value SEC_V SEC SECL SECH and PRIOR If SEC is true the defined value in the SEC_V input will pass to the OUT output The SECL and SECH parameters are used to define the possible limits values lower and upper of configuration for the SEC_V input If the input has values out of the range defined by SECL and SECH the output value will be kept in the limits values The security value always act over the automatic mode and to the manual mode PRIOR parameter defines the security priority over this mode PRIOR 0 Man Sec Auto the security will not act over manual mode PRIOR 1 Sec Man Auto the security will act over both modes 2 107 Function Blocks Local S
258. top Run EE The Stop Run button allows the user to execute or stop the ladder Click it and the next figure will open Stop Run Device Model DF75 SN 122 Status porn Stop Functionality 2 bacce oe Fig 3 156 Stop Run Window Besides triggering and stopping the ladder execution in the device the Stop Run icon enables the time scan request just to define the device Only one device will appear the one on which the logic was downloaded In Run the inputs are not scanned the ladder executes and the outputs are updated In Stop the ladder does not execute the inputs are not scanned and the outputs are not updated If the ladder is in Stop the Toggle Value is enabled and the user can modify the outputs manually in supervision Just right click the selected output then in Toggle Value and the output value will be inverted ATTENTION When the Stop command is executed e The discrete outputs go to Safe Mode e The analog outputs of the MAO functional block will assume the defined values in STO ST1 ST2 and ST3 A 3 81 User Manual 3 82 Freeze in me In this mode the inputs are not scanned the ladder executes and the outputs are updated By clicking the icon the next message will appear confirming the operation LogicView for FFB LY Do you really want to put CPU in freeze input mode Fig 3 157 Confirming the Freeze In mode Is possible to change the Toggle Value of the
259. trol strategies This block supplies several options of algorithm settings having as a basis the Proportional P Integral 1 and Derivative D terms that may be applied in error or just to the process variable PV The user may set limits of anti reset windup only applied to the integral term Besides the user might choose the type of the PID algorithm ISA or parallel direct action or reverse manual to automatic transference bumpless or hard Selecting the SP PV and FB inputs formats and the OUT output format PERC parameter PERC false the SP PV and FB input values and the OUT output value are given in percentage 0 100 PERC true the SP PV and FB input values and the OUT output value are given in 0 10000 format PID Type It is defined by the PID parameter PID 0 PI D type PID 1 PID type PID 2 PD type PI D P and actions act over the error and the D action over the process variable In this way the Output signal tracks set point changes according to the proportional and integral action but there is no undesired variation due to the derivative action It is the most recommended type for most applications with set point adjustable by the user PID P and D actions act over the error thus the output signal is changed when there are changes in the processes variable or in the set point It is recommended for ratio control or to cascade slave control I PD In this type only the integral a
260. ts IN1 and IN2 up to IN8 and places the result in the OUT output Truth table If IN1 up to INn is equal to 1 OUT output will be equal to 1 otherwise will be 0 AND BITWISE AND IN1 OUT AND2 DESCRIPTION I Input P Parameter O Output User Manual Division DIV Description When EN input is true this function divides P1 by P2 and places the result in the OUT output If the EN input is false all outputs are held in zero false DIV DIVISION CLASS MNEM DESCRIPTION TYPE O I Input P Parameter O Output 2 59 Function Blocks Modulus MDL Description When the EN input is true this FB takes the rest of the division of P1 by P2 and places the result in the OUT output If the EN input is false all outputs are held in zero false Operation For example P1 25 and P2 7 the OUT output will be 4 because 25 Z 4 3 MDL MODULUS MNEM DESCRIPTION TYPE INPUT ENABLED BOOL DIVIDEND INPUT FLOAT DIVISOR INPUT FLOAT OUTPUT ENABLED BOOL REST OF DIVISION FLOAT I Input P Parameter O Output 2 60 User Manual Multiplication MUL Description When EN input is true this function multiplies the values of the used inputs and places the result in the OUT output The inputs that will be used are defined by the N_IN parameter minimum of 2 and maximum of 14 inputs For example N IN 5 The OUT output will be IN1 IN2 IN3 IN4 IN5 If the EN inpu
261. ts purpose Is to make easier the logics reuse through special replacement mechanisms which will be described later For this reason it is a temporary variable without specific type that can be associated to a discrete element contact coil or can be used in function blocks links A meta parameter is identified by the prefix and it can be created manually by user or automatically by LogicView for FFB when the templates are created and when the logics are imported from Logic Library Thus as the FFB and NetlO points the meta parameters have value and status and are divided as follows Digital Input DI Digital Output DO Analog Input Al Analog Output AO That is a meta parameter is defined by value status and tag and it does not have memory address For example for a meta parameter with tag BOMBA_1 e BOMBA_1 value of meta parameter BOMBA_1 e BOMBA_1 status of meta parameter BOMBA_1 It is possible has conventional parameters defined and used in the logic together with meta parameters making an hybrid logic This maximizes the incremental development of logics and the total or partial reuse of them The LogicView for FFB If there is at least one meta parameter in the ladder diagram the following operations will be blocked e Simulation e Download via Syscon e Be Online on LogicView for FFB The LogicView for FFB will compile normally a configuration with meta parameters allowing that the user find and c
262. ume use the TOT function block to accomplish this task The time basis of this calculation is seconds The flow generally is given in Engineering Units EU by units of time For example A 1 m s flow as input of the TOT function block will have as output volume in m Suppose the application needs the energy value of an electrical device The TOT block allows calculating the value of this energy by the instantaneous power expression 3 Energy Pot s at and Poi t V t I t where V t is the instantaneous voltage and I t is the instantaneous current OUT output and TU parameter The time interval while the output is totalized is according to the value set in TU The integration totalization is kept in an internal register that goes up to 8000000 units The OUT output is the totalization value The dl output The maximum totalization value is 8000000 and the minimum is 8000000 Every time the function block output reaches these values the dl output changes from false to true during a time interval The dl output is a counter that counts how many times this false to true operation was done FCF parameter The FCF parameter allows the TOT function block to operate in 4 different modes a IN is FLOAT and represents flow in Engineering Units EU FCF must be equal to 1 to the totalization is done without any EU scale factor or adjust the factor that you wish to use For example The Q flow is measured in m h On
263. umulates pulses in the TOT register The TOT counting is from 0 to 2 1 ACC PULSE ACCUMULATOR 2 137 Function Blocks CLASS MNEM DESCRIPTION TYPE BOOL o Q PULSES ACCUMULATED IN MP PERIOD LONG ACCUMULATED PULSES VALUE LONG LONG OT MEM ACCUMULATED PULSE VALUES PROCEEDING FROM CN THAT ARE TRANSFERRED TO MEM P CHANNEL LONG I Input P Parameter O Output 2 138 User Manual Pulse Accumulator ACC_N Description This function block is similar to the previous block except for the numbers of inputs and pulse accumulators and also because there is no flow indication It can work with four pulse inputs They are configured in the IN1 IN2 IN3 and IN4 parameters IMPORTANT The IN1 to IN4 parameters have to be configured obligatorily with the slot s specific points where the module is inserted The rule for filling is RRSGP where RR rack S slot G group 0 or 1 and P point 0 to 7 Examples e 214 Rack O slot 2 group 1 and point 4 e 12307 Rack 12 slot 3 0 and point 7 In an ascending transition in the CLRA input all TOT counters are cleared simultaneously The accumulated values in TOT1 TOT2 TOT3 and TOT4 are transferred to the MEM1 MEM2 MEM3 and MEM4 outputs The Threshold values of the THR1 THR2 THR3 and THR4 outputs are true or false after the configuration of the TR_ON TR_OFF and MP parameters configuration parameters of each point of the module DF41 DF42 or D
264. ution order in the program mar Logicvierw Hardware i Programs O Ladder 0 ove Lp a F Laq Move Down i Virtuals Renie H 2 FF Block Definitio w Execute Fig 3 207 Changing the ladder diagram position The ladder diagram can be removed easily Right click it and then in Remove The LogicView for FFB will show a window asking you to confirm the operation The diagrams can be enabled or disabled individually In the figure above the diagram 2 is enabled If the user wants to disable it just remove the symbol v from Execute When the Execute option is done a build is done automatically The execution or not of the diagram also can be defined in the Object Properties window See the next figure Object Properties Property Name Property Value Name Ladder 0 Execution TRUE E Fig 3 208 Changing the ladder diagram execution The user may change the ladder diagram s name just click it for example in 0 Ladder 0 and double click the right cell of Name in the Object Properties window In this place the user should write the ladders name This name should have until 64 characters The LogicView for FFB Virtuals This item defines the number of virtual parameters Hierarchy 8mar Logicview TAG Areal DFS9 FFB2_ Programs l i D Ladder 0 amp Controllers Gee Areal_DFa9 G g ardware ie y rtuals ees Meta Parameters a Network HO a FF Block Defi
265. utput ALM changes to true logic level 1 if it was in false logic level 0 This change means that the alarm was triggered If a true signal is applied in RS RESET the ALM output will return to false While RESET signal is held in true new block triggers will be disabled If the EN input is false all outputs are held in zero false The block has three configuration parameters that will indicate date hour and an alarm trigger frequency These parameters are Date Parameter The user may select this parameter choosing a specific date to trigger the alarm The user has to configure the desired date in this format Year Month Day The year has to be configured in 4 digits format and has to be in 2005 to 2037 interval Periodicity Parameter The user may configure the alarm trigger periodicity The options are One Shot the block triggers once in the date and hour configured Daily the block triggers daily at the same hour that was configured in HR Weekly the block triggers weekly at the same week day of the first week day trigger Monthly the block triggers monthly on the same month day of the first month day trigger Hour Parameter The user must set the hour desired for the alarm to be active This hour must be set in the format HR MIN SEC where the HR MIN and SEC parameters are hours minutes and seconds respectively RTA REAL TIME ALARM MNEM DESCRIPTION TYPE INPUT ENABLED BLOCK RESET SECOND pen MN TE
266. values between 4 and 20 mA For each output point can be configured a safe value in the EU Safe Value parameter and a safe behavior in Safe Behavior there are four modes 3 6 mA the point will generate 3 6 mA in the output 21 mA the point will generate 21 mA in the output Safe Value the point will go to the safe value configured to it Last Value the point will keep the last value before changing to safe mode O O OO The Apply channel settings to other channels button can be used if the user wants to replicate the configuration done to one channel to the others NOTES Always configure EUO lt EU100 The Download option can be used when LogicView for FFB is online to download only the scales if they were changed A configuration download of all modules of the same type will be done and not only of the module which was changed The LogicView for FFB Programs A program is a set of ladders The number of ladders that can be implemented will depend on the elements quantity in each ladder and on the controller capacity In the Programs window the ladder networks of the application can be managed Hierarchy Hlama Logicview Programs EB untitled Fa O Ladder 0 S Controllers H g Hardware E irtuale H ee Network LO FF Block Definition Fig 3 203 The Programs item in the Hierarchy window To give a name to the program click Untitled and double click the right cell of Name in
267. was not defined the default tag of the output will be valid Function name Output name Links among FFB analog points and function blocks There is another way to link FFB analog points with functions In a function when the user passes the cursor over an analog input output the cursor becomes a hand symbol indicating that it is an analog input output When the cursor is an arrow symbol right click the element and it will be enabled the FFB I O Attach option showing which FFB analog points are available for link See the next figure The LogicView for FFB A 5 C D E Object Propertie E Property Name Property Value Name TOFr 1 Tag TOFr_1 Description T A fo ee IN Address 10240 Cut Q Address 10241 2 Copy PT Address 0 ae ar eee 2 eee Copy Drawing PT Link Type Yalue v PT alue 1000 3 ET Address 0 ET Link Type FF Address Delete ET alue Not connected Select All bNotF Address 10242 d bNotF alue 0 FFB I O Attach gt OUT_O_LABEL l OUT_1_LABEL Fig 3 129 FFB I O Attach command Given a Function Block input such as PT the IN_x points that are deriving from FFB will be available for link and in a Function Block output such as ET the OUT_x points that go to FFB will be available for link The IN_x points can be linked to several function block inputs The OUT_x points can only receive a single link from a function block Therefore as the OUT_x points are linked the number of available poi
268. will be in manual control Types of transference from Manual to Automatic TRS The output value of EPID block is defined by the TRS parameter TRS 0 Bumpless In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it Starts the calculation from last output value in manual mode TRS 1 Bumpless BIAS In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it starts the calculation from BIAS parameter value User Manual TRS 2 Bumpless FB In manual mode the block output value is equal to the inserted value in the FB input In this case it may not write in the OUT output When the block switches from manual to automatic it Starts the calculation from FB input value TRS 3 Hard In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to automatic it starts the calculation from last output value in manual mode proportional term KP x error TRS 4 Hard BIAS In manual mode the block output value is equal to the last output value in automatic mode In this case it may write in the OUT output When the block switches from manual to au
Download Pdf Manuals
Related Search
Related Contents
Instruction Manual Mode d`emploi Manual de KRION Transformateur Officiel 2014 WSR 1000 User Manual FABI - AsTeRICS Academy 溶接電流 - デンヨー Embedded Software Development in a System Manual do usuário Nokia 9500 Communicator User Manual - PDi Communication Sytems, Inc. Gebrauchsanleitung Instruction manual Mode d`emploi Manuale di TE 3000-AVR Copyright © All rights reserved.
Failed to retrieve file