Do you have a question about the Logic View and is the answer not in the manual?
Questions and answers
Subscribe to Our Youtube Channel
Summary of Contents for Foundation Logic View
Page 1
MAY / 05 Version 8 FOUNDATION L O G I V I E W M E...
Page 2
smar web: www.smar.com Specifications and information are subject to change without notice. For the latest updates, please visit the SMAR website above. BRAZIL CHINA FRANCE NETHERLANDS Smar Equipamentos Ind. Ltda. Smar China Corp. Smar France S. A. R. L. Smar Nederland Rua Dr.
Introduction Introduction This manual is divided in three parts: 1. Ladder Logic: We describe control elements of a control strategy available in the LOGICVIEW and used by the DF65. 2. Function Blocks: We present detailed descriptions of all function blocks available in the LOGICVIEW and used by the DF65.
Page 4
DF65 – LogicView Configuration Manual NOTE This document is a description of all function blocks and logic elements (ladder) implemented in the coprocessor (DF65). Besides this document presents a description of how to configure and edit ladder networks through Smar’s LOGICVIEW.
Summary Summary Introduction ................................III Chapter 1 - Network Elements (Ladder Elements) and Tools ..........1.1 The Network Elements ............................1.1 Definitions of the Elements of the Network Tool Box..................1.1 Normally Open Contact....................................1.1 Normally Closed Contact....................................1.1 Positive Transition-Sensing Contact................................1.1 Negative Transition-Sensing Contact ................................
Page 6
DF65 – LogicView Configuration Manual Chapter 2 - Function Blocks ....................... 2.1 Introduction ................................. 2.1 EN Input and ENO Output ........................... 2.1 Available Function blocks in alphabetic order ....................2.2 Function Blocks Listed by Functional Groups ....................2.3 Time and Pulse Related Functions........................2.4 Pulse Accumulator (ACC) ......................................
Page 7
Summary Chapter3 - The LOGICVIEW ......................3.1 Introduction ................................. 3.1 Installation ................................3.1 Using the LOGICVIEW............................3.2 Launching the application......................................3.2 Project Information........................................3.2 Working Directory ........................................3.3 Setting up the I/O Modules ......................................3.4 Special Modules ......................................... 3.6 Configuration and Hardware Consistency ................................. 3.7 Editing the I/O Modules ......................................
Page 8
DF65 – LogicView Configuration Manual Ethernet Communication Settings ........................3.57 Time out for the LAN.........................................3.57 ENET-700/ ENET-710 IP address ...................................3.58 Using ENET-700 ........................................3.59 Using ENET-710 ........................................3.61 Serial Port Configuration ......................................3.62 RS-485 Port Operating Modes ....................................3.63 Changing the IP Address and Username/Password ...............................3.64 Adjustment of Timeout to ENET-700/ENET-710 ..............................3.64 Working ON-LINE ..............................
Page 9
Summary User Function Blocks............................3.109 Introduction ..........................................3.109 Creating an User Function .....................................3.109 Warning messages .........................................3.112 How to estimate memory space used by user functions............................3.113 Editing an user function ......................................3.114 Optimizing Hardware for an Application ......................3.114 Chapter 4 - Troubleshooting ....................... 4.1...
This section will help you to understand the meaning of the network ladder elements and the network tools. The Network Elements As mentioned before, LOGIC VIEW uses symbols and notations defined in the standard IEC-61131- Fig 1.1 - Network Tool Box. Definitions of the Elements of the Network Tool Box...
Ladder Elements Coil The state of the left link is copied to the associated Boolean variable and to the right link. 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.
Configuration Manual 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.
Ladder Elements The A relay is normally closed. The power flow passes through A powering A until the value of A changes from 0 to 1. In this way the coil S has the contrary behavior compared to the the coil of the previous item.
Configuration Manual Boolean Algebra Boolean equations as shown above may become very complicated, however the result might be simplified using the boolean algebra. Below we show a summary of properties of the Boolean Algebra. A.1= A A.0= 0 A.A= A A+A=A A+1=1 A.B+A.C=A.(B+C)
If the user tries to set two outputs of a function block having variables of different data types, for example, adding an integer to a float, the LOGIC VIEW will not allow this setting. As the first block variable is selected, it is expected that all other inputs have the same data type of this variable.
Function Blocks Available Function blocks in alphabetic order FUNCTION NAME DESCRIPTION Absolute Value Pulse Accumulator ACC_N Pulse Accumulator Addition ARAMP Automatic Up and Down Ramp BYTE_TO_BITS Conversion BCD_TO_INT Conversion Bit wise Logic Counter Down Counter Up CTU1 Counter Up Division Equality FIFO First In First Out...
Function Blocks Time and Pulse Related Functions Pulse Accumulator (ACC) Description This Pulse Accumulator Block works with the DF41/DF42/DF67 Modules and the main objective of the accumulating input pulses is coming from an external source. Typically one of the inputs from the DF41 module is linked to the IN input in the ACC block.
DF65 – LogicView Configuration Manual CLASS MNEM DESCRIPTION TYPE INPUT ENABLE BOOLEAN CLRA STORES TOT TO MEM AND ERASES THE ACCUMULATOR BOOLEAN INPUT PULSE (DF41/DF42/DF67/M-305) CONTROL WORLD WORD TR_ON THRESHOLD VALUE TO SET THR OUTPUT TO ON TR_OFF THRESHOLD VALUE TO SET THR OUTPUT TO OFF MEASURING PERIOD (THRESHOLD ) OUTPUT ENABLE BOOLEAN...
Page 22
Function Blocks ACC_N PULSE ACCUMULATOR CLASS MNEM DESCRIPTION TYPE INPUT ENABLE BOOL CLEAR CLEARS TOTALIZATION AND SENDS ALL VALUES TO THE MEM OUTPUTS BOOL PULSE INPUT 1 PULSE INPUT 2 PULSE INPUT 3 PULSE INPUT 4 FACTOR1 SCALE CONVERSION FACTOR (EU) OF INPUT 1. REAL FACTOR2 SCALE CONVERSION FACTOR (EU) OF INPUT 2...
Internal parameter PST adjusts the number of pulses this block will count until OUT changes to the true logic state. On LOGIC VIEW, the user must inform the value of the PST parameter. This value may also be set through the block input PSV. In this case the user should connect the PSV input to another FB output or to an I/O module.
Function Blocks Pulse Counter Up (CTU) Description The CTU function counts transitions from 0 (false) to 1 (true). Internal Counter CTA Every time an ascending transition occurs in the block input, the pulse accumulator (CTA) is increased by one unit . When the internal counter reaches zero, OUT changes to the true state. The internal counter CTA may be accessed through an output of this function block.
DF65 – LogicView Configuration Manual Pulse Counter Up (CTU1) This function works exactly like the CTU block but it only has two inputs and one output. OUT changes to true when the internal counter (not accessible) reaches the value set by the PST parameter.
Function Blocks Real Time Alarm (RTA) Description This alarm is based on the DF65 CPU real time clock. When the alarm occurs the ALM output goes to true and remains in this condition. The alarm is turned ON according to the date and hour set inside the RTA block.
DF65 – LogicView Configuration Manual Timer Off-Delay (TOF) Description This FB holds the true state of the input IN for a time interval previously set. PST Parameter PST defines the time interval during the true state which is hold. It is set through the PST parameter".
Function Blocks Timer Off-Delay (TOF1) It works as the TOF block except it has only one input and one output. The Timer value is only set through internal block parameters. CLASS MNEM DESCRIPTION TYPE PULSE INPUT BOOLEAN TIMER PRESET VALUE ADJUSTED THROUGH THE TIMER PARAMETER OUT=1 WHEN THE VALUE SET IN PST IS REACHED BOOLEAN...
Page 29
DF65 – LogicView Configuration Manual Detail on the STS parameter BIT 8 - RESULT BIT: ON, ON-DELAY OCCUR; OFF, OUT=0. BIT 0 - ENABLE BIT: COUNTER IS RUNNING; Timer On-Delay Function - Timing diagrams *OBS: Parameter BAS has no effect at moment! O UT t0 + PT t4 + PT...
Function Blocks Timer On-Delay (TON1) It works as the TON block except it has only one input and one output. The timer value is only set through internal block parameters. CLASS MNEM DESCRIPTION TYPE PULSE INPUT BOOLEAN PARAMETER PRE ADJUSTED TIMER VALUE THROUGH OUT=1 WHEN THE VALUE SET IN PST IS REACHED BOOLEAN STATUS...
DF65 – LogicView Configuration Manual Timer Pulse (TP) Description This FB generates a pulse with fixed duration on the OUT output for each rising transition (false to true) in the IN input. Setting Pulse Width Internal parameter PST multiplied by 0.01 second (10ms) determines pulse width (or it is set externally through PSV, if this input is connected).
Function Blocks Timer Pulse Function - Timing diagrams O U T t 2 + PT t 0 + PT t 4 + PT C T A Timer Pulse (TP1) It works like the TP FB, however this block only has one pulse input and only one output OUT. Every time a rising transition occurs on the IN input, a pulse with width defined by the PST parameter times 0.01 seconds will be generated in the output.
DF65 – LogicView Configuration Manual Data Manipulation Functions Byte to Bits Conversion (BTB) Description This FB converts 1 byte in 8 parallel outputs, each one of them representing one bit. Conversion One byte is the input of this block and the outputs (OUT_1 to OUT_8) compose the input byte in the parallel format.
Function Blocks BCD to Integer Conversion (BTI) Description This FB converts an input BCD value to an integer and puts the result in the OUT output. Conversion A 2-digit number on BCD has the following format: BIT7-BIT6-BIT5-BIT4 _____BIT3-BIT2-BIT1-BIT0 Each set of 4 bits composes a digit. For example: the number 10. If expressed in the BCD code it is written as 10.
DF65 – LogicView Configuration Manual First In First Out (FIFO) Description This block allows storing data with DF65. Every time this block is used, a non-volatile RAM area is reserved to the database first in first out (FIFO). FIFO size The user may create this area directly in the SIZE parameter.
Page 36
Function Blocks Allocated Modbus Addresses FIFO is allocated by the LOGIC VIEW in a Modbus area 4xxxx (register). PTR is a pointer to the beginning of the Modbus address of the FIFO (relative Modbus Addresses). For example, if FIFO has 16 registers (words), Modbus registers 42501 to 42516 are addressed as 0 to 15.
Page 37
DF65 – LogicView Configuration Manual CLASS MNEM DESCRIPTION TYPE INPUT ENABLE BOOLEAN LOAD LOAD N VALUES FROM FIFO BOOLEAN UNLOAD UNLOAD N VALUES FROM FIFO BOOLEAN CLEAR CLEAR FIFO DATA BOOLEAN DATA INPUT ANY_NUM CONTROL WORLD WORD SPECIFIES FIFO SIZE, REGISTER # MODBUS ADDRESS SIZE OF THE REGISTER (WORD) WHEN FIFO READS THE VALUE SET ON TRIGGER,...
This FB sends integer constant values to the outputs OUT1, OUT2 e OUT3. These constant values are set during the block configuration in the LOGIC VIEW. These constants will only be sent to the outputs when the EN input is true and the outputs are necessarily integer variables.
DF65 – LogicView Configuration Manual Integer to BCD Conversion (ITB) Description This function converts an integer to the BCD format and puts the result in the output OUT. Conversion and Operation If the output is a byte, the two less significant digits of the number are converted to BCD and if the output is a bit, it will represent the bit of less significant order of this conversion.
Function Blocks Integer to Real Conversion (ITR) Description This function converts an integer to a real and puts the result in the output OUT. Conversion and Operation For example: Suppose we have 455 (integer) in the input of this block. The ITR block will convert this value to real allowing operations that require real data.
DF65 – LogicView Configuration Manual Multiplexer (MUX) Description This function selects one of the inputs IN and puts the result in the OUT output. The selection is done according to the value in the SEL input. Output Selection If SEL is equal to 0, the selected output will be IN1. If SEL= 1 the selected output will be IN2 and so on.
Function Blocks Bitwise Not (NOT) Description It inverts the Logic State of the IN input. The output will be NOT (IN). Operation If the input is true (1), the output will be false and vice versa. This function allows either bit or byte inputs.
DF65 – LogicView Configuration Manual Output Binary Selection (OSEL) Description This function allows the user to select one output to where the input value (IN) will be sent. If the input SEL is false (0), then the output OUT1 will be selected. Otherwise, OUT2 is selected. Control Word- Selection of value of non selected outputs OUT1 Not Selected When SEL is true, this will select OUT2.
This FB sends real constant values to the outputs OUT1, OUT2 and OUT3. These constant values are set during the block configuration in the LOGIC VIEW. These constants will only be sent to the outputs when the EN input is true and the outputs are necessarily real variables.
DF65 – LogicView Configuration Manual Real to Integer Conversion (RTI) Description This function converts a real value to an integer and puts it in the OUT output. Conversion and Operation If the number we want to convert cannot be put in the integer format, OUT assumes the greatest (or smallest) possible integer value and ENO goes to false, indicating an exception in the function execution.
Function Blocks Binary Selection (SEL) Description This FB is used to select between two inputs IN1 and IN2 and 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.
DF65 – LogicView Configuration Manual Truncate (TRC) Description This function truncates a real number and the output will have only the integer part of the input number. Conversion and Operation Suppose the input is the format IN= X.Y then the output will be equal to OUT= X. For example, if IN= 1.34566 the output will be 1.
Function Blocks Bit Wise Logic (BWL) 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 e NXOR. The user chooses the type of logic operation during the BWL block setting and this block will perform this logic function. It has extensions for more than 2 configurable inputs (max of 14 inputs).
Page 49
DF65 – LogicView Configuration Manual If the inputs are bytes, the XOR function is done bit-to-bit, i.e.: IN1= (BIT17)(BIT16)(BIT15)(BIT14)(BIT13)(BIT12)(BIT11)(BIT10) IN2= (BIT27)(BIT26)(BIT25)(BIT24)(BIT23)(BIT22)(BIT21)(BIT20) OUT= (BIT17XORBIT27)…………………………(BIT11XORBIT21) Example: IN1= 01011100 IN2= 11110000 OUT= 10101100 Control Word - Function NXOR This function associates the AND and XOR functions. So, the logic output is the XOR logic function inverted.
Function Blocks Mathematical Functions Absolute Value (ABS) Description This FB finds the absolute value of the input IN and puts the result in the output OUT. For example, if IN= - 0.875 the output will be 0.875. ABSOLUTE VALUE BOOL BOOL IF EN=1 THEN ENO := 1...
LOGIC VIEW will not allow this operation. As the first input is selected it is expected that all other inputs be of the same data type as in the first data type.
If the user tries to set more than two inputs with variables of different data types, for example, adding a real to an integer, LOGIC VIEW will not allow this operation. As the first input is selected it is expected that all other inputs will be of the same data type as the first data type. A division by zero will produce different results according to the data type.
DF65 – LogicView Configuration Manual Modulo (MOD) Description This FB takes the rest of the division of IN1 by IN2 and places the result in the OUT output. Operation For example: IN1= 25 and IN2= 7, OUT= 4 because: |_7_ Both IN1 and IN2 must be integer variables.
LOGIC VIEW will not allow this operation. As the first input is selected it is expected that all other inputs will be the same data type as the first data type.
DF65 – LogicView Configuration Manual Square Root (SQR) Description This function block will find the square root of the input and places the result in the OUT output. If IN is negative, OUT= 0 then the ENO output will indicate false. Control World - Input/Output Type The data type in the inputs and outputs may be set as “Regular”...
LOGIC VIEW will not allow this operation. As the first input is selected it is expected that all other inputs will be the same data type as the first data type.
DF65 – LogicView Configuration Manual Comparison Functions Equality (EQ) Description This function will indicate true in the OUT output if the inputs do not have a deviation greater than the DBN value (Death Zone) of the input IN1. This block is indicated when the user desires to compare variables in terms of equality.
Function Blocks Decreasing Monotonic Sequence (GE) Description This function will indicate true in the OUT output if the inputs (IN1 to INn) are disposed in a decreasing monotonic sequence, i.e., a sequence of numbers in two adjacent elements are related INn-1>=INn, i.e: IN1,IN2,IN3……..INn-2,INn-1, INn Where:...
DF65 – LogicView Configuration Manual Decreasing Sequence (GT) Description This function will return true in the output OUT if the inputs (IN1 to INn) are in a decreasing order, i.e: IN1>IN2>IN3>IN4……..INn-1>INn. In a case of the use of only 2 inputs (IN1 and IN2) this function block performs as a comparison greater than, and OUT becomes true if IN1>In2.
Function Blocks Increasing Monotonic Sequence (LE) Description This function will indicate true in the OUT output if the inputs (IN1 to INn) are disposed in an increasing monotonic sequence, i.e., a sequence of numbers in two adjacent elements are related by INn-1≤INn, so that: IN1,IN2,IN3……..INn-2,INn-1, INn Where:...
DF65 – LogicView Configuration Manual Limiter (LMT) Description This function block limits the IN input between values of MAX and MIN inputs and places the result in the output OUT. If the limits are exceeded ENO will change to false. Suppose that we wish to limit the signal input between 1 and 10.
Function Blocks Increasing Sequence (LT) Description This function will return to true in the output OUT if the inputs (IN1 to INn) are in an increasing order, i.e: IN1<IN2<IN3<IN4……..INn-1<INn In the case of the use of only 2 inputs (IN1 and IN2) this function block performs as a comparison smaller than, and OUT becomes true if IN1 <...
DF65 – LogicView Configuration Manual Maximum (MAX) Description This function selects the maximum value of the IN inputs and places it in OUT outputs. Operation The number of inputs is previously determined during setting. Suppose we have 4 inputs and their values are: IN1= 5.899 IN2= 7.900...
Function Blocks Minimum (MIN) Description This function selects the minimum value of the IN inputs and places it in OUT outputs. Operation The number of inputs is previously determined during setting. Suppose we have 4 inputs and their values are: IN1= 5.899 IN2= 7.900 IN3= 10.899...
DF65 – LogicView Configuration Manual Inequality (NE) Description The output will indicate true only if the difference IN1-IN2 is shorter than the DBN value, i.e., (IN1- IN2) > DBN. The user sets the DBN parameter. Operation Example: IN1= 0.78 IN2= 0.70 IN1-N2= 0.08 DBN= 0.05 In this case OUT is equal to 1 (true) because the DBN value (0.05) indicates that in this example...
Function Blocks Process Control Functions Xlim Cross Limit and Rate-Of-Change (XLIM) Description This function limits a signal between static and dynamic values and also controls the rate of change. OUT% is the filtered result of the A% input. Static and Dynamic Limitation Static To limit statically, the input B is disconnected.
Page 67
DF65 – LogicView Configuration Manual CLASS PARAM DESCRIPTION TYPE INPUT ENABLE BOOLEAN INPUT A ANY_NUM INPUT B ANY_NUM CHECK BOTH/JUST UPPER/ONLY ACTUATION RATE WORD BOTTOM LIMIT GAIN I/1000 BOTTOM LIMIT BIAS I/100 UPPER LIMIT GAIN I/1000 UPPER LIMIT BIAS I/100 DEAD ZONE (HYSTHERESIS) % I/100 SPEED OF MAXIMUM VARIATION % PER SECOND...
Function Blocks Totalization (TOT) Description This block gives the totalization of the input. This totalization is the integral of the input times a scale factor FCF that allows the user to configure totalization in 3 different modes of operation. If your application requires the computing of instantaneous totalized volume, use the TOT function block to accomplish this task.
Page 69
DF65 – LogicView Configuration Manual So, in one minute (or 60 seconds) the totalized value is 30 m - When FC is smaller than zero: When the block is totalizing a negative flow, the totalization is decreased while when the flow is positive the totalization is incremented.
Function Blocks Sample Hold with Up and Down (SMPL) This function block samples the value of the IN input and places it in a register when the PASS input moves from true to false. The register value may be increased or decreased using the UP and DOWN inputs.
Page 71
DF65 – LogicView Configuration Manual UP and DOWN Commands, ASPD Parameter The UP and DOWN inputs will advance or revert the OUT output to a desired value using the manual speed adjusted by the ASPD parameter. This parameter configures the speed of manual actuation.
Function Blocks Linearization (LIN) Description This block simulates a function using a table of points. Intermediate values are computed using the linear interpolation method. They can be arranged to implement curves of more than 10 points. The user should set a table of points, X and Y pair of points, that represent the function. A value in the X input corresponds to an output value Y, i.e., this block creates a function f(x).
DF65 – LogicView Configuration Manual CLASS PARAM DESCRIPTION TYPE INPUT ENABLE BOOLEAN PASSES THE INPUT TO THE OUTPUT WITHOUT ANY BYPASS BOOLEAN PROCESSING BLOCK INPUT ANY_NUM CONTROL WORLD WORD X TO THE FIRST POINT I/100 Y TO THE FIRST POINT I/100 X TO THE LAST POINT I/100...
Function Blocks Relative Humidity Equation Parameters K1: It is a constant adjusted according to where the application is located. This value must be equal to the local atmospheric pressure and it is set in the block parameters configuration windows of the LOGICVIEW.
Page 75
DF65 – LogicView Configuration Manual Control Word (CTW)- Select Products The type of product should be selected in this field. Available products are crude oil, generalized products, MTBE and lubricating oil. Once the inputs and product are selected, we have the table that will be used in the calculations.
Function Blocks Inputs Outputs Intermediate(table Final (table 24) Tables 23 & 24 Relative Density Temperature Range(ºF) Range Relative Density at VCF at 60(ºF) 60(ºF) 0.611 up to A-Crude Oil 0 up to 300 0.611 up to 1.076 1.076 B-Generalized 0.653 up to 0 up to 300 0.653 up to 1.076 products...
Page 77
DF65 – LogicView Configuration Manual Hysteresis K2 and High e Low alarms When the input reaches the values set in HIGH, output HIGH will change to true until the input goes beyond HIGH-K2. Similarly, when the input reaches LOW, output LOW will go to true until the input goes beyond LOW+K2.
Function Blocks PID Controller (PID) Description The acclaimed PID algorithm for continuous process control, associated with the flexibility of the configuration of the operation settings through parameterization, allow use of this block to a variety of applications and control strategies. This block supplies several options of settings of the algorithm having as a basis the terms Proportional (P), Integral (I) and Derivative (D) that may be applied in error or just to the process variable (PV).
Page 79
DF65 – LogicView Configuration Manual 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 are not affected.
Page 80
Function Blocks CLASS PARAM DESCRIPTION TYPE INPUT ENABLE BOOLEAN SELECTS MANUAL OR AUTOMATIC WORKING BOOLEAN SET POINT ANY_NUM PROCESS VARIABLE ANY_NUM IF TRF=1, INPUT CONNECTED TO FB IS PASSED TO THE ANY_NUM OUTPUT CONTROL WORLD WORD PROPORTIONAL GAIN INT/100 BIAS BIAS INT/100 ANTI-RESET BOTTOM FINAL LIMIT...
DF65 – LogicView Configuration Manual Control Loop with local set point and A/M station Characteristics of the Configuration: Local set point adjustable through PRM1 parameter of the ICT block. Process variable obtained from the DF57 module, (see the diagram above), in the range of 0 a 10000.
Function Blocks System Status (Status) Description This block will allow the configuration of 8 boolean variables to inform status of an I/O module, a remote I/O module, or the communication ports of the DF65. The user has 4 options of class to select.
Page 83
DF65 – LogicView Configuration Manual CLASS MNEM DESCRIPTION TYPE INPUT ENABLE BOOLEAN CLASS BYTE SUBCLASS BYTE ITEM 2 BYTES CLASS BYTE SUBCLASS BYTE ITEM 2 BYTES CLASS BYTE SUBCLASS BYTE ITEM 2 BYTES CLASS BYTE SUBCLASS BYTE ITEM 2 BYTES CLASS BYTE SUBCLASS...
Function Blocks Control Loop with local set point, A/M station with safety value when the DF57 status is “bad” Characteristics of the Configuration: Local set point adjustable through PRM1 parameter of the ICT block. Process variable obtained from the DF57 module, (see the diagram above), in the range of 0 a 10000.
DF65 – LogicView Configuration Manual Control Loop with local set point, A/M station and status indication of DF57 module. Characteristics of the Configuration: Local set point adjustable through PRM1 parameter of the ICT block. Process variable obtained from the DF57 module, seen in the above picture, in the range of 0 a 10000.
Function Blocks Motor starting with TURN ON and TURN OFF commands and safety contacts including the status of the digital input module SWITCH/ TURN ON TURN OFF SEAL(DI) THERMAL (DI) STATUS(A) SEAL2 MAINTENANCE Turns the Turns the Seal for turning Module status of MOTOR MOTOR on...
DF65 – LogicView Configuration Manual Step Control (STP) Description This functions use is combined with the PID block. Connect a PID block output to the DMV input to make an ON_OFF or ON_NONE_OFF control. ON_OFF establishes the OPEN and CLOSE control of valves during a particular time interval.
Page 88
Function Blocks STEP CONTROL BOOL BOOL STEP OPEN CONTR BOOL ON/OFF CLOSE DMV% ANY_NUM BOOL CLASS PARAM DESCRIPTION TYPE INPUT ENABLE BOOLEAN DMV% BLOCK INPUT ANY_NUM CONTROL WORLD WORD MINIMUM PULSE WIDTH PER 0.1 SECONDS VALVE OPENING TIME IN 1 OUTPUT ENABLE BOOLEAN HIGH LEVEL OUTPUT (OPEN)
Page 89
DF65 – LogicView Configuration Manual Details of Parameter CTW Only Settings Auxiliary and parameters passing Auxiliary and parameter passing Bits that indicate status: Bit 0 – State of Input Boolean EN Bit 1 - State of Input Boolean ENO Bit 2 - State of Output Boolean OPEN (1 = OPEN; 0 = NONE) Bit 3 - State of Output Boolean CLOSE (1 = CLOSE;...
Chapter 3 THE LOGICVIEW Introduction This chapter presents the essentials for the use of the LOGICVIEW programming software for the advanced Smar DF65 Universal Hybrid Controller. It will show how to create, download and troubleshoot a DF65 configuration. The user should read about the DF65 in chapter 1 “Ladder Logic". In chapter 2 "Function Blocks” to get familiar with the ladder elements and function blocks.
LogicView Configuration Manual Using the LOGICVIEW Launching the application To start the DF65 programming software click the START button. Go to PROGRAMS and then find the SMAR group while placing the mouse pointer over it the user will see one or more buttons with Smar applications, and then click the LOGICVIEW application icon.
LogicView Fig 3.2- Project Information Window Working Directory LOGICVIEW allows the user to set the working directory. This directory will be used as the default directory for saving configurations. Also when the user uploads a configuration from the DF65, LOGICVIEW will automatically save the uploaded configuration in this directory. To set the Working Directory click at Tools Preferences and select the tab Directory.
LogicView Configuration Manual Fig 3.4- Selecting Window button “Default” will reset this path default path C:\Program Files\Smar\LOGICVIEW_v8-54\Working\. LogicView generates the backup of a configuration whenever the rescue of an alteration is made. The extension of the backup files is ".Bxx ", where " xx " is the sequential numbering of the files of generated backup, for example: the first backup possesses the extension .B01, second .B02 and and so on.
Page 95
LogicView Adding Modules To add Modules go to an empty cell on the “Module” column and click on it. A drop down arrow will appear to the right of the cell. Now click on the down arrow and make a Module selection by clicking on it.
The user will notice that some Modules require extra configuration and a special dialog box will automatically be launched as soon as the Module is selected. Some are Analog Input (DF44), Analog Output (DF46), Temperature input (DF45), Foundation Fieldbus Scanner (FB700) and soon will include DeviceNet and Profibus modules.
LogicView Configuration and Hardware Consistency It is extremely important that the rack number and the position of each module in the configuration match the actual hardware assembly. Many of the modules on a DF65 system are not intelligent and the CPU cannot know if they are misplaced or non existent. More elaborate modules, like the DF45, will cause warning messages from the FB700, if the actual positioning does not match the software configuration.
These types of modules give the user an extra degree of flexibility. Typically modules that are related to analog signals, special sensors and those that acquire/send signals using popular protocols such as Modbus, DeviceNet, Profibus and Foundation Fieldbus have a dedicated level of configuration.
Page 99
LogicView This number comes in the range from 0 to 10,000. This number has the meaning of percentage with an imaginary fixed point to separate the last 2 decimal digits. For example 5000 represents 50.00 % while 10000 represents 100.00 % of the inputs selected range. Another example is when the input shows as 5460 it is actually indicating 54.60 % of the selected input range.
LogicView Configuration Manual Configuring the DF45 Temperature Module Each individual input in the DF45 has a particular configuration. When the dialog box for the module configuration opens we can set the type of measurement, wiring connectivity, sensor type, engineering units to work and range that will be converted in percentage. The DF45 module provides both a value (integer) and a status (boolean).
LogicView Configuring the DF46 Module This is an analog output module with 4 current outputs and 4 voltage outputs representing the same signals. The module outputs 4 distinct signals in current and voltage mode at the same time. Current signals are more immune to noise and other interference then is recommended for long distance and industrial environments.
LogicView Configuration Manual Configuring the FB700 Module Since the beginning, Smar has been the leader in Foundation Fieldbus (FF) technology and the DF65 was the first logic controller type of device to support a module that can be completely integrated in a Foundation Fieldbus network.
Page 103
In this example the DF65 and the DFI share the Ethernet line (hub/switch are not shown). A Foundation Fieldbus configuration can be sent to any of the Fieldbus networks from the PC. A configuration from the PC will pass through the DFI and reach all field devices including the FB700.
LogicView Configuration Manual The Balance Sheet At the bottom of the “Hardware Page” there is a button with “Balance” written on it. Fig 3.15- The Balance Function Click this button; the LOGICVIEW will present a complete balance sheet with a list of modules, racks, flat cables, terminals and an estimated current consumption.
LogicView Fig 3.17- A Report Generated with the Balance Sheet Feature This information can be printed or exported in many different formats for customization. To export click on and select the format and destination file. Fig 3.18- Exporting Modbus Variables ID and the Modules This extra circuit allows the CPU to identify modules, through LOGICVIEW, that have not been configured in the Hardware Page of the LOGICVIEW.
LogicView Configuration Manual Fig 3.19- The Module ID Feature: The Check Box enables this feature Note Consider that old modules (having no ID circuit) are added in the system with new modules (that support ID Circuit). If the user clicks on the Check Module ID button, this will cause false indications in the MODULE ID feature.
LogicView Fig 3.20- A Ladder Configuration Being Cut&Paste Through the menu Edit Copy we copy this selected region. After, it is necessary to go to the desired region within the ladder control strategy and using the Paste (Edit Paste) tool. This might also be done through the ctrl C and ctrl V shortcut keys.
LogicView Configuration Manual Fig 3.22- The Preferences Window The Undo feature only works in the Network page. The user can undo operations made in this window according to the number of operations set. So, the user can revert operations like the following ones: - Inserting an element (coils, relays, function blocks, etc.) - Deleting elements...
LogicView Code Function Some Typical Values Module mnemonic 001, 101, 303, 401, CIDD, CIAD, … mmmm Class G (for regular I/O), S (for status), ... Class number 1, 2, … Data type B (for Bit), I (for Integer), R (for Real), … Number of points per group 1, 4, 8, …...
LogicView Configuration Manual Remote I/O subsystem Remote I/O allows distributing racks with I/O modules at various locations in the field and connecting them to the DF65 via a high-speed industrial RS-485 Remote I/O network. Distributing the Racks will save in wiring and installation costs and remote signals can still be part of the same configuration.
LogicView The module group user label is also very helpful when locating the tags for the elements. It is therefore recommended that you enter these as well. It is recommended that the names are consistent and include loop tag and parameter names. For example, for the analogue I/O you can give a name in the format loop_tag.PV.
LogicView Configuration Manual It is recommended that you separate different group of Virtual Variables for different parts of the plant strategy. This simple rule can make for a late track of the strategy and logic debugging. Another set of virtual modules may also be reserved for miscellaneous application as unused ENO outputs of function blocks and a false constant for unused inputs of the function blocks is also useful.
Page 113
LogicView Fig 3.29- Setting User Tags To make it easier to find a specific group of memory points, it is recommended that the user label be configured for the virtual module group. Fig 3.30- Setting User Tags Only a single UNUSED point is required for all unused ENO points in the CPU. It can serve all function blocks necessary.
LogicView Configuration Manual Configuring the control strategy After the hardware is defined and the control strategy is ready the user can begin to assemble the operating logic for the application connecting a set of Logic Ladder Networks to accommodate functionality of the plant application. It is strongly recommended to follow the basic steps explained before in order to continue to the logic network preparation.
LogicView Execution Sequence of a Logic Network For many applications, the specific order for each individual cell in the logic could make the difference .The CPU processor begins with the cell in the first row and column, Cell (1,1) of the matrix.
LogicView Configuration Manual As in the list above, it is recommended that each ladder diagram network be named and given a description. Moving from one Logic Network to the other Select the ladder network that you want to work with by clicking on the back and forth arrows at the bottom of the screen, or select directly by name from the drop down list that appears when you click on drop down arrow in white box between the arrows.
Page 117
LogicView Fig 3.34- LOGICVIEW Default Tags After inserting an element, it is required to be associated with a user TAG. This is done by using the TAG tab utility located on the right of the LOGICVIEW interface. See the picture at the left side of this page. In this tool bar, there is a drop down list where the user should choose the type of the element or link.
Page 118
LogicView Configuration Manual Fig 3.37- Contacts and Coils and their Respective User Tags Note that contacts (inputs) also can be associated to outputs (coils) creating interlocking logic often used to hold/latch a state. See the MOTOR1 point as both output coil (at R1C3) and input contact (at R2C1) in the above diagram indicating that they have been “linked”.
LogicView Inserting Function Blocks Click on the Elements tab and select “Fc” icon in the toolbar. Move the mouse on the Network. mouse icon will change to “Fc” alike. Click on any cell where the user wants to insert a function block.
Page 120
LogicView Configuration Manual A tag must be assigned to the function block in the “User Tag” column. LOGICVIEW prevents tag duplication. The user may need to go to the Parameter tab to complete the function block settings. Each parameter has a default value and specific value range. Fig 3.41- The PID Function Block- Setting Parameters After the block has been inserted, parameters can be edited by pointing to the block and right clicking the mouse.
LogicView Fig 3.42- Setting Function Block Inputs and Outputs Next, select a Function Block input or output link, an I/O Module Input or Input in the TAG tabs. To give this TAG to the desired function block input or output, simply click the tag and place it to the function block I/O.
LogicView Configuration Manual Function Blocks Links There is a grid to display all the links connected to the output. When the user wants to cut the link, the user only needs to highlight the link (row) in the displaying grid, then click on the “Cut” command button to cut this link.
Page 123
LogicView Fig 3.44- Automatic/Manual Operation/ Select “Virtual group” and choose the associated point. If the user tag for the point has been configured in the virtual global table, the respective tag will be indicated in the list. The Mode of the PID block can now be set from the operator workstation by writing a value to the Modbus register that corresponds to the virtual point.
Page 124
LogicView Configuration Manual Follow the same procedure for the TRF input. The up and down inputs are likewise configured to the previously defined FALSE virtual memory point. Configure the SMPL input from the PID output by clicking on the SMPL input, select the "Function block Output", and choosing the PID block output from the list.
Page 125
LogicView Fig 3.47- Choosing Inputs In the special case that any arithmetic is done on the PID output in other blocks after the PID (e.g. feed-forward), the final output value must have a corresponding inverse function before it is connected to the PID feedback input. To make the configuration work easier the user can change the user tag of the SMPL block to indicate the loop tag and that it is the output of the loop, e.g.
LogicView Configuration Manual See the diagram above how the SMPL output goes to the PID feedback input. In the manual mode the output value can now be written to the Modbus register corresponding to the output of the SMPL block. Finally, the loop output must be associated with the physical I/O point. Click on the SMPL output (OUT) to configure it to an output module (“I/O Group”).
Page 127
LogicView Fig 3.50- Setting the Set point Using an ICT Function Block Click the set point input of the PID block in order to configure it. Then, click at the TAGs tab and choose the ICT input. Fig 3.51- Connecting the ICT Outputs to the PID Block to Generate a Set point 3.37...
LogicView Configuration Manual Select the “FB input” and choose the corresponding output from the ICT block. The set point of the PID block can now be set from the operator workstation by writing a value to the Modbus register that corresponds to the ICT block internal parameter. Note that the user cannot write directly to the ICT block output.
Page 129
LogicView Fig 3.53- LOGICVIEW Toolbar: Elements Main Tab The tab I/O in the option Find presents all the I/O modules inputs and outputs available. The user can select any tag from the I/O tab to find, search or replace it in the network. You can also select (click on) any relay or coil associated with a tag, LOGICVIEW will automatically get the tag in the I/O tab.
Page 130
LogicView Configuration Manual Alternatively the user can also use the Search function. LOGICVIEW will pop out the following window: Fig 3.55- The LOGICVIEW Search Feature The field “Search Criteria” allows the user to type a string to get the matched result. The search criteria can also include a wildcard “*”, such as “aaa*”, “*aaa”...
LogicView Using the I/O Find Option Select the desired I/O input or output and click on the Search button. Fig 3.57- The find I/O Feature Tab This will open the following window dialog: Fig 3.58-Searching an I/O Element Next click on the Search button and LOGICVIEW will automatically displays all occurrences (with their position information) of this input in a list at the bottom of the LOGICVIEW interface: 3.41...
Page 132
LogicView Configuration Manual Fig 3.59- Listing the Found I/O Elements Click any record in the list. LOGICVIEW will automatically highlight the desired element in the network. If the user wants to replace the search result with a specific tag, “Replace” command button is able to this.
LogicView Fig 3.61- Replacement List Like the Search function, single click on any record in the list, LOGICVIEW will highlight the cell of that element. Double click on any record in the list, DF65 will confirm whether to replace it or not: Fig 3.62- Confirming the Replacement Click on Yes to replace the tag.
LogicView Configuration Manual Fig 3.63- Function Blocks Find Tab Adding Notes to the Ladder Logic Programming Lines If the user checks the “Ruler/Note” option in the “Preferences” settings, LOGICVIEW will allow the user to add a note to each Ladder programming line. This makes the ladder to be easier to read and debug.
LogicView Fig 3.65- LOGICVIEW Notes: Each Ladder Programming Line Has Its Notes Window LOGICVIEW will pop out a box where the user can add/modify note to each ladder programming line. The box will be under the line. If it doesn’t fit under the line, it will be placed above the line. The user can drag and drop the Note box to any place and also resize it and lock the note box position by clicking on the Lock command button.
LogicView Configuration Manual Memory Usage: To calculate the user configuration memory usage (in bytes), use the following formula: Memory = Modules + Networks Where: Modules All I/O modules used in the configuration require a memory space, to save the I/O values and scan tables.
8 Low Signal Inputs for RTD, TC, mV, Ohm DF46 4 Analog Outputs with Individual Terminals for Current and Voltage FB-700 Fieldbus Module with Fieldbus Foundation protocol DF50 Power Supply Module Notes: For Fieldbus Module FB-700: there is one table to use (the following tables) to calculate the number of bytes used in one configuration, each Fieldbus Module has one different memory allocation that depend on the number of function block (CIDD, CIAD, CODD, COAD) used in the module.
LogicView Configuration Manual Fig 3.66- Estimating the memory usage of a Ladder Configuration In this example we have 2 groups of vertical lines on column 1, 2 groups of vertical lines on column 2 and 1 group of vertical lines on column 3. Then memory usage = 2x2 + 2x2 + 1x2 For each used column in the network page (Ladder Diagram).
LogicView 6) 4 bytes for each "AND" and "OR" operation; 7) 5 bytes for each "0" or "1" constant; Example: Consider the User-Function called "SELECT". This function simulates a MULTIPLEXER switch with four inputs (INA, INB, INC, IND) selected by SEL1 and SEL2. OUT1 represents the output of the switch, OUT2 is to show if any of the inputs is "0".
Page 140
LogicView Configuration Manual FUNCTION Bytes Bytes TIME (µs) TIME (µs) DESCRIPTION NAME Ladder Parameters integer (*) real (*) Division 2.00 8 + T Modulo 2.00 8 + T Binary Selection 2.30 8 + T Maximum 2.00 4 + 2*n + T Minimum 2.00 4 + 2*n + T...
LogicView Connecting to the DF65 The easiest way to connect a PC to the DF65 controller is by using the serial port. The first port of the DF65 CPU is a EIA-232 that can communicate with any PC that has a standard serial port available.
LogicView Configuration Manual Fig 3.69- DF65 Channels 1- This is the EIA-232 Channel (P1). 2- This is the SSIO channel used for redundancy. 3- These are the Dip Switches used to configure DF65 communication parameters. 4- These are the two EIA-485 Channels (P2 and P3). Later these parameters may be changed using the LOGICVIEW but they will only have effect when the communication key is on the non-default position.
Page 143
LogicView Fig 3.71- Setting the EIA-232 Configuration Parameters Next click on the “Time out” tab set the time out and the number of times the computer should try in case of a bad communication. Fig 3.72- Communication Settings: Time Out 3.53...
LogicView Configuration Manual Changing the DF65 Communication Settings Consider that we have a serial EIA-232 connection between the DF65 and the PC running the LOGICVIEW. Make sure the serial cable is installed, the LOGICVIEW is set for EIA-232 and the Communication Switch is in the default position.
LogicView Changing the DF65 Communication Parameters To change the DF65 communication parameter, click on the “Comm Prm” button and work in the following dialog box. Fig 3.74- DF65 Communication Parameters After these parameters have been changed the Send button will be enabled. The DF65 CPU will receive information and will inform of these modifications which will only take place when the user changes the communication DIP switch (see Chapter 4 Troubleshooting for more details).
LogicView Configuration Manual NOTE: For better performance of your system we recommend: - OFF Duty must be set as 20 % of the Ladder cycle of execution and is done a fine adjustment according to communications performance. - Time Delay depends on the workstation’s processor. If the processor is higher than a Pentium MMX 233 MHz we recommend that Time Delay is set for 4 ms.
LogicView Modbus Message Framing The Modbus RTU protocol has a frame basically starting with an interval of silence followed by an address, function, data, and CRC checking (Cyclic Redundant Checking). Another interval of silence to indicate the end of the message Interval of start of message Address Function...
LogicView Configuration Manual Fig 3.75-Time Out for Lan ENET-700/ ENET-710 IP address To connect the PC to the DF65 system throughout the Ethernet the user will need an ENET-700/ ENET-710 module and an Ethernet adapter card in the PC. The next figure shows where the ENET- 700/ ENET-710 module IP address is entered.
LogicView Using ENET-700 The ENET-700 needs to be prepared according to the network settings established by the network administrator. The best thing to do is to consult your network administrator for details before proceeding. The ENET-700 comes with a factory IP address but the user can change it. Windows application, TELNET, allows us to make all initial setups on the ENET-700 using its factory IP address and referring to the port 9999 (configuration).
LogicView Using ENET-710 Double click on the icon to open it. The following window will be showed. Click on Configure button to set the IP address of ENET-710 module. After that, click on OK button. Open a web browser and enter the IP address of the module into the web browser’s address bar. A view of the top-level configuration menu is shown below.
LogicView Configuration Manual Configuration Menu The configuration buttons are username/password protected. Upon the initial selection of any one button, a dialog box will appear asking for a user name and password. Once the correct username and password are entered, the ENET-710 will remember them for the rest of the session. Note that the username and password are case sensitive.
LogicView Configuring the ENET-710 Ports RS-485 Port Operating Modes To set up the RS-485 port operating modes, select the Set Channel Operating Modes button on the main configuration menu. Here a redundant mode configuration for the RS-485 ports can be enabled.
LogicView Configuration Manual For both parallel and ring mode, the operation is as follows: if communication is directed to an address that is configured to be on one port of the pair but there is no response, the ENET-710 will then try to communicate to the device using the other port in the pair.
LogicView Fig 3.79- Timeout Working ON-LINE The on-line mode allows the user to download the configuration, operate the DF65, monitor, troubleshoot and optimize the configuration etc. Click on the On-line icon. Make sure the communication parameters selected match the ones in the DF65 and that the cable is connected. Go to menu: Tools/Online or click on The DF65 will be located and identified.
LogicView Configuration Manual Downloading the configuration It is a safe practice to save the configuration when it is ready. The user can also check for errors by running the Check Configuration procedure. To activate, go to the menu and select Configuration/Check Configuration.
LogicView On-line Monitoring This is really an important tool for verifying how the control strategy is working in a complete relationship with the DF65. Monitoring is only possible if the LOGICVIEW is already On-line. See the Go Online is enabled click on this button.
LogicView Configuration Manual Monitoring Function Blocks and Ladder Elements State The user will be able to automatically monitor values of the inputs and outputs of all function blocks and all Ladder elements (relays and coils) in the current net, by clicking on the buttons below. These buttons will be enabled as soon as the DF65 is ON LINE with the workstation and after the user has selected to monitor the logic configuration.
LogicView Using the Monitoring Feature in the MODBUS Addresses Page Using this feature the user will be able to monitor the values of the I/O points, Function Block variables, parameters and the values of Special Registers in the 'Modbus Address' page. The user should be online to view the values of the points.
LogicView Configuration Manual To temporarily stop monitoring simply click on the 'Pause' button To start monitoring again click on the 'Continue' button (which is same as the pause button) To stop monitoring click on the stop button . This will take the user back to the old window, which shows all of the points.
LogicView Online Editing In this mode, the user can: - Change logic elements - Change the logic element tags. - Change blocks parameters. - Change function blocks. - Visualize the process after the changes (through monitoring the logic net). - Undo changes, if they were not saved in the controller. - Edit only one logic net by time.
LogicView Configuration Manual The online editing buttons Send all temporary changes to the DF65. Temporary changes are indicated by a (tc) mark close to the object. Save all previous changes on the DF65 NVRAM. Previous changes are represented by a (pc) mark close to the object.
LogicView Using the Full Online Edition The Full Online Edition mode can be accessed through three options, when the user is online. - Click on the button on the toolbar - Click on Tool Full Online Edition Edit. Fig 3.91- Option to start the Full Online Edition - In the Network Page, click with the right button and the Full Online Edition window will appear.
Page 164
LogicView Configuration Manual The Network Page will display the configured background by the user previously and at the lower - right corner will indicate “Full Online Edition”. The configuration will be on edit state. Fig 3.94- Ladder Window After the first change in this configuration, it is impossible monitor any operations. This inhibition is due to the configuration in the DF65 controller being different from that displayed in the LOGICVIEW.
LogicView Add/Change Ladder Elements Ladder elements, such as relays and coils, can be added, changed or removed. When an element is added, one (N) New indication appears at the side of this element. See the following picture: Fig 3.96- Add New Elements When an element is replaced or modified, the indication tc (temporary change) appears.
LogicView Configuration Manual Add/Remove Networks With this option, the user can add or remove Networks on the online mode. In order to make it, click on Add Network button. A New Network will be created. To visualize the previous Network and the New, click on the Tile Horizontally button.
LogicView Add/Remove Modules In the Full Online Edition mode, the user can add, delete or replace Hardware modules in the Hardware Page. When a new module is added, the indication New appears, as in the picture below. Fig 3.100- Add Modules in the Full Online Edition When an existent module is deleted, the indication Deleted appears.
LogicView Configuration Manual When a module is replaced, the indication Replaced appears. Fig 3.102- Replace Networks on the Full Online Edition Add/Remove Virtual Modules Virtual Modules can be added or removed in this mode. In order to make it, proceed the same as in the Offline mode.
LogicView Add/Remove RIO Interface The user can add or remove RIO Interfaces in this mode. Fig 3.104- Add RIO Interface Add/Remove User Functions User Functions can be added or removed from Ladder. Fig 3.105- Add User Function 3.79...
LogicView Configuration Manual Note It is important to remember; only one instance can be done for each user function. Change Module Configuration In the Full Online Edition, it is possible to change the hardware module configuration in the Page Module. After the hardware module configuration changes, the Note “Modified” will be displayed in the field “Online Edition”...
LogicView Fig 3.107- Module moved in the Module Page Update in the Full Online Edition After the desired updates, it is possible to update the DF65. In order to make it, on the toolbar, select Tool and Full Online Edition Send, or click on the button Fig 3.108- Change update on the Full Online Edition 3.81...
Page 172
LogicView Configuration Manual The following window will be displayed. It shows the CPU actual data and the options Update and Close. Fig 3.109- Configuration Update If the option Update was selected, the changed configuration will be updated in the CPU. The progress indication is showed, according to the next screens.
LogicView Fig 3.112- Canceled Update System Test after the update After a successful update LOGICVIEW stays in “test” state. In this state, the monitoring is enabled again and the user can observe the system conditions with the updates, thus, the user can choose one of the following options: Confirm the changes done.
LogicView Configuration Manual Differential Download The Differential Download is a way to update the DF65 configuration, whose edition was done in the online mode. If the user needs to edit an offline configuration in a workstation far from the process, it will use the “Using Base Configuration”...
LogicView 2º Step By the toolbar, select Tool Define Base Configuration. Fig 3.115- Set the Define Base Configuration option At the lower right corner indicates the Base Configuration is being used. Fig 3.116- Using Base Configuration set 3.85...
LogicView Configuration Manual 3º Step: Do the needed changes in the configuration. 4º Step Case 1: DF65 is connected to the PC After doing the changes in the configuration, click on the Online button. The Differential Download option will be enabled. Case 2: DF65 is not connected to the PC or is desired to send the change late.
Page 177
LogicView Fig 3.118- Change Update A CPU update message will be displayed. Fig 3.119- Update in progress LOGICVIEW goes to Full Online Edition with the configuration already updated on the CPU. 3.87...
LogicView Configuration Manual Fig 3.120- Full Online Edition After the update, LOGICVIEW will be online in test state. Differences between Online Edition and Full Online Edition When the user is in Online Edition can only change element tags, block parameters and relays/coils types.
LogicView Note for DF45 Module The DF45 Module has an internal configuration. When an existent DF45 module in the original configuration has its configuration changed in the Full Online Edition, DF65 will interrupt the reading of this module from the receipt of the command which has the new configuration. After the control transference for the new configuration, the module can be read again.
LogicView Configuration Manual This message indicates there is failure at the sent of the configuration. Click on the OK, the following message will appear. Fig 3.123-Configuration Update Canceling LOGICVIEW will be in the Full Online Edition, waiting the configuration to be updated in the CPU. b.2) The CPU already has the new configuration The following message will be showed.
LogicView LOGICVIEW will not be in the Full Online Edition, but online. Clicking on Retry, with the communication restored between the LOGICVIEW and DF65, it can choose between Online Edition and Full Online Edition. Fig 3.127- Accept Changes It is important to remember even the communication between the DF65and LOGICVIEW is lost, but the Accept Changes button has already been selected, these changes will be save in the CPU, independently of the chosen option after the communication restore.
Page 182
LogicView Configuration Manual If the user chooses Yes, will go out of the Full Online Edition, being Offline, but on “Using Base Configuration”, with the possibility to do the Differential Download without interrupting the process, returning to the Full Online Edition. Fig 3.130- LOGICVIEW in the Offline mode Fig 3.131- Differential Download enabled Note...
LogicView Example for Full Online Edition Example 1 From an existent configuration, the user can add modules, network pages and new configurations. 1- Make the configuration download. 2 - Choose the option Full Online Edition. Fig 3.132- Configuration in the Full Online Edition 3 - Go to the Hardware Page.
Page 184
LogicView Configuration Manual 4- Add another module and configure the safe values. Fig 3.134- Adding the DF46 module 5 - Click on the Virtual Module Page and add another module. Fig 3.135- Adding a new Virtual module 3.94...
Page 185
LogicView 6 - Go to the Network Page and add another Network. Add the new configuration. Fig 3.136- Configuration in the Full Online Edition 7 - Go to the Hardware Page and add a Temperature Module (DF45). Fig 3.137- Adding the Temperature Module 3.95...
Page 186
LogicView Configuration Manual 8 - In the Network Page, add another Network. Add the GE function block to make the comparison between the temperatures. Fig 3.138- New Network with the GE function block 9 - Click on the Send button to send the configuration to the DF65. Fig 3.139- After the Send button 3.96...
LogicView Example 2 From an existent configuration, it is possible to replace Remote Interfaces. 1 - Make the configuration download. 2 - Choose the option Full Online Edition Fig 3.140- Full Online Edition active 3 - Go to the Hardware Page. This configuration is composed by CPU Main and Remote Interface. Fig 3.141- Hardware Page 3.97...
Page 188
LogicView Configuration Manual 4 - Add another Remote Interface. Fig 3.142- Adding another Remote Interface 5 - Remove the existent modules from the Remote Interface 1 to Remote Interface 2. Fig 3.143- Moving modules from the Remote Inteface 1 to Remote Interface 2 3.98...
Page 189
LogicView 6 - After moving the modules from Remote Interface 1 to Remote Interface 2, is can, in fact, remove RIO1. In the following picture, a confirmation message appears to confirm the action. Fig 3.144- Confirming the Remote Interface removing 7 - The Hardware Page will be as in the picture below.
LogicView Configuration Manual 8 - Return to the Network Page and continue the configuration update. Fig 3.146- After the Send button Connecting the DF65 to an HMI Connecting a host computer to one or more DF65s can be done using a serial port or an Ethernet adapter.
Page 191
LogicView The software on the workstation must be an OPC client compatible application. It accesses DF65 data through the DF65 OPC server. Most typically all of the HMIs in the market are ready for the OPC. The figure below shows a typical relationship between different components of the OPC architecture.
LogicView Configuration Manual Fig 3.148- An OPC Client The DF65 analog values are represented in percentage scale as an integer 0-10,000. To get an engineering unit readout in the OPC client software it has to be on a scale of the analog values from the OPC server.
LogicView Fig 3.150- Exporting MODBUS Addresses Example of a Modbus address list opened in Excel Fig 3.151- Opening MODBUS Addresses list on MS-Excel Modbus address coding The DF65 uses the open industry standard Modbus/RTU and Modbus/TCP protocols for communication. In Modbus, information is mapped into registers. There are four “references” (groups): 0xxxx (Output Coils), Discrete output 1xxxx (Input Contacts), Discrete input, Fieldbus status...
LogicView Configuration Manual Implications in Modifying a DF65 Configuration In older versions of the DF65 Modbus registered addresses were changed every time the user changed the configuration. In the current version, all registered addresses are kept. Modbus variables are physically stored in a sequential order of absolute address. Starting from the main I/O and next RIO1 to RIO6.
LogicView Special Registers The LOGICVIEW has a few special registers that can be acessed by an HMI interface through the MODBUS addresses of these registers. To access these registers, on LOGICVIEW click at MODBUS REGISTERS. The table below shows are these special registers: Special MODBUS Description...
LogicView Configuration Manual Note: These data types are Word (“MSB LSB”). The first eight least significant bits (LSB) represent this status. Manual Modbus Addresses Attribution Each I/O Module and Function Block included in the configuration allocates memory space in the CPU.
LogicView I/O Module Modbus Address Allocation When the user inserts a I/O Module in the 'Hardware Page' the 'Modbus Address' window will open. This window has the following options as shown in the figure 3.153. It shows the Modbus Addresses for the module DF38, which has one group of eight Inputs and one group of four Outputs.
LogicView Configuration Manual Function Block Modbus Address Allocation: When the user inserts a Function Block in the 'Network Page' the 'Modbus Address' window will open. This window has the following options as shown in the figure 3.155. It shows the Modbus Address for the Function Block 'ABS'.
LogicView User Function Blocks Introduction User function blocks (UF) are boolean functions created by the user to simulate combinations of normally closed relays (NC), normally open relays (NO) and coils. To create user functions it is required to have one or more module on the Hardware Page or one or more auxiliary variables in the Virtual Page Table.
Page 200
LogicView Configuration Manual In the Empty Line(s) box the user will be able to delete a whole line by clicking on Delete All or add a new line by clicking on Add. Verify will check programming logic syntax. An I/O box allows user to select a channel of an I/O module to be part of the boolean equation. Fig 3.159- Modules of Inputs and Outputs as Variables Virtual variables may be selected by choosing Virtual Groups.
Page 201
LogicView Fig 3.162- Temporary Variables The user can set up to 8 outputs. To create an output the user has to click at the Outputs box. LOGICVIEW will add a line with the value for the output as shown below: Fig 3.163- Creating an User Function In case it is necessary to create a new expression for a temporary variable the user must click on the Temporaries box and select one of the 16 available variables.
LogicView Configuration Manual Fig 3.165- A New User Function: Check the Logical Equation We get back to the first window. Click on Close, close it and the UF is available for use within the ladder logic. The user only needs to select UF in the Toolbar and insert the user function created. Fig 3.166- A New User Function Created Warning messages If the user tries to delete a logic programming element using the backspace key, the following...
LogicView If user tries to delete an output the following warning message is displayed: Fig 3.169- Warning Messages Unlike deleting an input, erasing an output of a user function block will result in re numeration of all outputs. How to estimate memory space used by user functions Each user function may be used just once in any logic network.
LogicView Configuration Manual Editing an user function Click on the icon or in the menu Edit => User Function. A dialog box will be displayed. Choose the UF by clicking on it. Click on Edit. Following the steps described previously user might edit the UF.
Page 205
LogicView System DF65 01: Digital Points Digital Inputs Digital Outputs Total Limits 16 Points I/O Modules 8 Points I/O Modules 4 Points I/O Modules 2 Points I/O Modules FB modules < 2000 Digital Points Total Analog Points Analog Inputs Analog Outputs Total Limits 16 Points I/O Modules...
Chapter 4 Troubleshooting When I try to establish communication between my workstation and DF65 I get the following message: “Unknown Device”. Solution: Download firmware again through software DF65Tools. When I try to download my configuration to the DF65 I receive the following message: “Acknowledgement for sending the function block is incomplete”.
Page 208
Troubleshooting STEP4: If you proceeded with all previous steps and communication still was not established, the user should check in which serial port of his workstation he connected the DF65. 3 serial ports are generally available: COM1, COM2 and COM3. User should verify that the correct port was set and check the field “Communication Port”...
Page 209
DF65 – LogicView Configuration Manual STEP2: Set the ENET-700/ ENET-710 communication parameters. We advise that the ENET-700’s baud rate be set as 19200 bps and ENET-710´s baud rate be set as 115200 bps. Connect the CPU and the ENET-700/ ENET-710 through ports P1 or P2 or P3. (As shown below) Certify that the CPU Dip Switch is not in the default position.
Page 210
Troubleshooting DF65 does not communicate with DF45 or modules in the racks. Solution: STEP1: Check the key in the racks to be sure it is placed in the same position as displayed in the DF65. The key in the rack is located in the back of the CPU module. Be sure the number there is the same as in the established configuration on the LogicView.
Need help?
Do you have a question about the Logic View and is the answer not in the manual?
Questions and answers