Advantys STB Reflex Actions Reference Guide 31004635 00 31004635 00 890USE18300 Version 1.
890USE18300 September 2003
Table of Contents Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Chapter 1 Introduction to Reflex Actions . . . . . . . . . . . . . . . . . . . . . . . . . . 9 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 What Is a Reflex Action? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5 Counter Reflex Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Falling-edge Counter Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Rising-edge Counter Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Chapter 6 Timer Reflex Blocks. . . . . . . . . . . . . . . . . . . .
Safety Information § Important Information NOTICE Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.
Safety Information PLEASE NOTE 6 All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to ensure compliance with documented system data, only the manufacturer should perform repairs to components. When controllers are used for applications with technical safety requirements, please follow the relevant instructions.
About the Book At a Glance Document Scope This manual describes the individual reflex actions supported by the Advantys configuration software. It describes the configuration requirements for each action and gives illustrative examples. Validity Note The data and illustrations found in this book are not binding. We reserve the right to modify our products in line with our policy of continuous product development.
About the Book Product Related Warnings Schneider Electric assumes no responsibility for any errors that may appear in this document. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric. All rights reserved. Copyright 2003.
Introduction to Reflex Actions 1 At a Glance Overview This chapter describes the general features and functions of the Advantys reflex actions. It lists the types and variations of reflex blocks that can be created using the Advantys configuration software and explains how two blocks may be combined in a nested reflex action.
Introduction What Is a Reflex Action? Summary Reflex actions are small routines that perform dedicated logical functions directly on the Advantys island bus. They allow output modules on the island to act on data and drive field actuators directly, without requiring the intervention of the fieldbus master.
Introduction Configuring a Reflex Action Each block in a reflex action must be configured using the Advantys configuration software. Each block must be assigned a set of inputs and a result. Some blocks also require that you specify one or more user-preset values—a compare block, for example, requires that you preset threshold values and a delta value for hysteresis. Inputs to a Reflex Action The inputs to a reflex block include an enable input and one or more operational inputs.
Introduction Result of a Reflex Block Depending on the type of reflex block that you use, it will output either a Boolean or a word as its result.
Introduction Nesting The Advantys configuration software allows you to create nested reflex actions. One level of nesting is supported—i.e., two reflex blocks, where the result of the first block is an operational input to the second block. When you nest a pair of blocks, you need to map the results of both to the same action module. Choose the action module type that is appropriate for the result of the second block.
Introduction Number of Reflex Blocks on an Island 14 An island can support up to 10 reflex blocks. A nested reflex action consumes two blocks. An individual output module can support up to two reflex blocks. Supporting more than one block requires that you manage your processing resources efficiently. If you are not careful with your resources, you may be able to support only one block on an action module.
Introduction An Overview of Reflex Action Types Summary 890USE18300 September 2003 There are seven types of reflex blocks available in the Advantys configuration software: l Boolean logic blocks (See Boolean Reflex Blocks, p. 41) l integer compare blocks (See Integer Compare Reflex Blocks, p. 55) l unsigned compare blocks (See Unsigned Compare Reflex Blocks, p. 71) l counter blocks (See Counter Reflex Blocks, p. 93) l timer blocks (See Timer Reflex Blocks, p.
Introduction Boolean Logic Action Types Three fundamental Boolean logic action types are supported—the exclusive-OR (XOR) block, the two-input AND block, and the three-input AND block: enable XOR operational input 1 output operational input 2 enable operational input 1 operational input 2 enable operational input 1 operational input 2 operational input 3 AND output AND output Boolean logic blocks require two types of inputs—an enable input and two or three operational inputs.
Introduction Compare Action Types 890USE18300 September 2003 A compare block takes a word as its operational input and compares that value against a predefined threshold value or a window of values. An integer compare block accepts operational inputs with integer values in the range -32 768 to +32 767. An unsigned compare block accepts operational inputs with integer values in the range 0 to 65 535. l Integer compare blocks generally take their operational inputs from Advantys STB analog input modules.
Introduction The following illustration shows how the four action types compare the input to the thresholds, using the integer compare block as an example: Less-than-threshold compare 1 output 0 threshold input +32,767 -32,768 Greater-than-threshold compare 1 output 0 threshold input -32,768 +32,767 Inside-the-window compare 1 output 0 input -32 768 threshold 1 +32 767 threshold 2 Inside-the-window compare 1 output 0 input -32 768 threshold 1 +32 767 threshold 2 For all of the above acti
Introduction Counter Action Types A counter block takes a series of digital inputs and accumulates a running count of the number of transitions either from 0 to 1 or from 1 to 0. You can configure the counter block to count up or down from a user-specified preset value. The output from the block is the current count—an unsigned integer value in the range 0 to 65 535.
Introduction Timer Action Types Timer blocks support four action types: l delay-to-start timers l delay-to-stop timers l rising-edge timers l falling-edge timers Timer blocks respond to a digital trigger input. A block begins accumulating time units on either the rising edge or falling edge of the trigger input and accumulates counts until it reaches a user-specified terminal count.
Introduction The output from a delay timer goes high or low when the timer reaches its terminal count and stays high or low while the terminal count is being held: delay-to-start timer 1 trigger 0 terminal count timer output 0 1 0 delay-to-stop timer 1 trigger 0 terminal count timer output 0 1 0 890USE18300 September 2003 21
Introduction The output from an edge timer goes high while the timer is accumulating time counts and goes low when the terminal count is reached: rising-edge timer 1 trigger 0 terminal count timer output 0 1 0 falling-edge timer 1 trigger 0 terminal count timer output 0 1 0 The outputs from all four timer action types may be inverted.
Introduction Latch Types 890USE18300 September 2003 Latch blocks respond to a digital trigger input by latching to an operational input value on either the rising edge or falling edge of the trigger input. The block produces an output that is equal to value of the input at the moment it was latched, and that output remains until the trigger latches another value on its rising or falling edge. The operational input may be either of Boolean values (digital latches) or word values (analog latches).
Introduction Configuring a Reflex Block Summary To create a reflex block and map it to an action module on your island bus, you need to use the reflex editor in the Advantys configuration software. The following procedure describes the basic parameters that need to be specified in the editor. Opening the Reflex Editor To open the reflex editor, click the following icon in the island toolbar: The reflex editor will open in your workspace.
Introduction Note: If the New button (item 1 above) in the reflex editor is disabled, then the island selected in the workspace is locked. To unlock the island, close the reflex editor and click the key icon on the island toolbar: Some island configurations are password-protected. If the configuration on which you are working is protected, you will need to enter the password to unlock the island. If the configuration is not protected, it will unlock as soon as you click the key icon once.
Introduction Configuring the Inputs to a Reflex Block Every block requires that you configure a set of input values. The block diagram that appears in the center pane of the reflex editor displays the input fields in a column on the right (as in item 6 below). The following example shows a two-input AND block: 6 1 This example shows a block with three inputs—an Enable and two operational inputs (Input 1 and Input 2).
Introduction Configuring Preset Values for a Reflex Block Some reflex actions also have some user-specified preset values that you will need to configure. For example, a timer block requires a timing unit and a terminal count preset. When preset values are required, the reflex editor displays them above the reflex block (as in item 7 below).
Introduction The Virtual Module Summary Because reflex actions are designed to operate independently from the fieldbus master, inputs to the reflex blocks generally come from local input modules. In some applications, however, you may want the fieldbus master to provide an input value to a block. One way to do this is via the virtual module.
Introduction Selecting the Virtual Module The size of the virtual module in your process image is determined by your selection of inputs to the reflex actions in your island configuration. For example, suppose you are setting up a falling-edge analog latch (See Fallingedge Analog Latch Block, p. 130). The latch has three inputs—an enable input, a latch trigger and an analog operational input.
Introduction The Action Module Summary When you configure a reflex block, you must assign it to an action module. The action module is always one of the output modules in your island configuration. Usually there is a direct relationship between the action module that you select and the type of output that the reflex action will produce. If the reflex action produces a Boolean result as its output, the action module is generally a digital output module.
Introduction This action is designed to XOR the Boolean inputs produced on channel 1 and channel 2 of the STB DDI 3420 digital input module at address 3 on the island bus (item 3 above). The output from the action will be written to channel 1 on the STB DDO 3230 digital output module at address 2 on the island bus. Item 1 above shows the action module selected from the list box. The entry lists three things: l the model number of the action module l the version of the module (in this case, v 1.
Introduction Using the Action Module as an Input to a Block Once you have mapped the output from a block to a physical channel on the action module and downloaded the configuration, this channel becomes dedicated to that reflex action. The fieldbus master can no longer drive the physical output. However, the channel address is still present in the output process image, and the fieldbus master can write data to this address location.
Introduction The action module is specified as the STB DDO 3200 output module located at logical address 4 on the island bus (item 1 above). The physical output is mapped to channel 1 of the action module (item 2 above). For efficiency, you may reuse the bit in the output process image previously assigned to channel 1 of the action module as the reset input.
Introduction How Action Modules Respond to Fallback Conditions Fallback Conditions Advantys STB output modules are designed to send their output data to a predictable fallback state in the event of a communications failure between the island and the fieldbus. In this state, output data is replaced with pre-configured fallback values so that a module’s output data values are known when the system recovers from a communications failure.
Introduction When Inputs Fail If an input module on the island bus is providing an input to a reflex block and that input module loses sensor power from the PDM, the reflex block immediately acts upon a 0 value coming from that input. After a delay of up to 1.5 ms, the reflex action acknowledges that PDM power has been lost and puts the reflex channel in its fallback state.
Introduction Nesting Two Reflex Blocks Summary The Advantys configuration software allows you to create one level of nesting for reflex actions. You can nest two reflex blocks, where the output from the first block is used as an operational input to the second block. Both reflex blocks must be nested within the same action module. The Action Module In a nested reflex action, the output from the first reflex block is used internally—as an operational input to the second reflex block.
Introduction The Logical Outputs The output from each block also needs to be assigned a logical output. The logical output is a tag name for the output—a text string between one and eight characters long. The characters may be any combination of standard keyboard characters— alpha numerics, underscores, and/or standard symbols (!,?, /, >, etc.).
Introduction The logical output string assigned to the falling-edge counter output (item 5 above) is in_cmpr. The logical output from the first block is used as the operational input to the second block, as shown in the following illustration: 7 1 R1 6 1 Action no. 2 is an unsigned less-than-threshold compare block. Item 6 shows that the operational input to the compare block is cntr_cmp, the logical output from action no. 1.
Introduction Reflex Action Start-up States Summary All reflex blocks are initially at fallback when the island starts up after a power cycle or any other reconfiguration sequence. However, the fallback mode and fallback value applied to each output channel is the factory-default (predefined state, off), not the user-configured parameters downloaded with the configuration. The userconfigured parameters are applied only after all inputs have been received and a condition that triggers fallback occurs.
Introduction Reflex Action LED Error State When a reflex block is in error or is not running because all its inputs have not been received, the green RDY LED on the action module will blink in a special pattern— three blinks followed by a pause, repeatedly until the condition is cleared. Reflex errors are also indicated by emergency messages and emergency error codes. These errors appear in the Advantys configuration software as a node error (error register = 0x80 in the I/O module diagnostics window).
Boolean Reflex Blocks 2 At a Glance Overview This chapter describes three Boolean logic reflex blocks—an exclusive-OR (XOR) and two logical ANDs. XOR blocks operate on two input values; AND blocks can operate on either two or three inputs. Because the software allows you to invert the results of these blocks and sometimes their operational inputs, several variations of the three block types are supported.
Booleans Two-input AND Blocks Summary A two-input AND block performs a logical AND operation on two Boolean operational inputs. The output is a Boolean true or false, expressed as a value of 1 or 0, respectively. You may invert the value(s) of one or both inputs. You may also invert the value of the output, in which case the action becomes a logical NAND.
Booleans Operational Inputs Every two-input AND block requires two operational input values. Each input is a Boolean 1 or 0. These inputs may come from some combination of: l constant values l digital inputs from modules on the island l digital outputs from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Booleans Truth Tables In its simplest form, a two-input AND block looks like this: input 1 output input 2 and an inverted AND (a NAND) block looks like this: input 1 output input 2 The following truth table shows the possible outputs of this AND operation: If input 1 is: and input 2 is: then the standard output is: and the inverted output is: 44 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 890USE18300 September 2003
Booleans Inverted Operational Inputs One or both of the operational inputs may be inverted. An inversion is indicated in the Advantys configuration software as a check mark in a box on an input line.
Booleans XOR Blocks Summary An XOR block performs an exclusive-OR operation on two Boolean operational inputs. The output from the block is Boolean true or false, expressed as a value of 1 or 0, respectively. You may invert the value of the output, in which case the action becomes an exclusive-NOR (XNOR). Structure of an XOR Block An XOR block diagram is shown below: enable input 1 XOR output input 2 The block has three inputs—one enable input and two operational inputs.
Booleans Operational Inputs Every XOR block requires two operational input values. These inputs may come from some combination of: l constant values l digital inputs from modules on the island l digital outputs from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p. 32) written to by the fieldbus master l if the XOR is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Booleans Three-input AND Blocks Summary A three-input AND block performs a logical AND operation on three Boolean operational inputs. The output is Boolean true or false, expressed as a value of 1 or 0, respectively. Optionally, you may invert one or more inputs. You may also invert the value of the output, in which case the action becomes a logical NAND.
Booleans Operational Inputs Every three-input AND requires three operational input values. Each input is a Boolean 1 or 0. These inputs may come from some combination of l constant values l digital inputs from modules on the island l digital outputs from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Booleans Truth Tables In its simplest form, a three-input AND block looks like this: input 1 input 2 input 3 output and an inverted AND (a NAND) block looks like this: input 1 input 2 input 3 output The following truth table shows the possible putouts of this AND operation: 50 If input 1 is: and input 2 is: and input 3 is: then the standard output is: and the inverted output is: 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 1 0
Booleans Inverted Operational Inputs One or more of the operational inputs may be inverted. An inversion is indicated in the Advantys configuration software as a check mark in a box on an input line.
Booleans When inputs 1 and 2 are both inverted: input 1 input 2 input 3 output or input 1 input 2 input 3 output the truth table yields the following: If input 1 is: and input 2 is: and input 3 is: then the standard output is: and the inverted output is: 0 0 0 0 1 0 0 1 1 0 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 When input 3 is inverted: input 1 input 2 input 3 output or input 1 input 2 input 3 output the truth table yields the followi
Booleans When inputs 1 and 3 are both inverted: input 1 input 2 input 3 output or input 1 input 2 input 3 output the truth table yields the following: If input 1 is: and input 2 is: and input 3 is: then the standard output is: and the inverted output is: 0 0 0 0 1 0 0 1 0 1 0 1 0 1 0 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 When inputs 2 and 3 are both inverted: input 1 input 2 input 3 output input 1 or input 2 input 3 output the truth table yiel
Booleans When all three inputs are inverted: input 1 input 2 input 3 output input 1 or input 2 input 3 output the truth table yields the following: 54 If input 1 is: and input 2 is: and input 3 is: then the standard output is: and the inverted output is: 0 0 0 1 0 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 890USE18300 September 2003
Integer Compare Reflex Blocks 3 At a Glance Overview This chapter describes four integer compare reflex blocks. Two of these blocks compare an analog input value to a single threshold value and produce a specific Boolean result when the input is greater than or less than the threshold. The other two blocks compare an analog input value against a window defined by two threshold values and produce a specific Boolean result when the input value is either inside or outside that window.
Integer Compares Less-than-threshold Integer Compare Block Summary A less-than-threshold integer compare performs a comparison between an analog input value and a threshold value that you specify. The analog input value is represented as an integer in the range -32 768 to +32 767. The software allows you to assign a delta (∆), which acts as an hysteresis around the threshold value. The block produces a Boolean result as its output.
Integer Compares Operational Input A less-than-threshold integer compare block uses one operational input. This input needs to be a word that holds a signed integer value in the range -32,768 to +32,767. The input can come from: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p. 28) l if the less-than-threshold compare is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Integer Compares Physical Output 58 The block produces as its output a Boolean 1 when the input value is less than threshold - ∆ and a Boolean 0 when the input is greater than or equal to threshold + ∆. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus. In this case, you need to specify one of the digital output channels as the destination for the reflex output.
Integer Compares Greater-than-threshold Integer Compare Block Summary A greater-than-threshold integer compare block performs a comparison between an analog input value and a threshold value that you specify using the Advantys configuration software. The analog input value is represented as an integer in the range -32 768 to +32 767. The software allows you to assign a delta (∆) value, which acts as an hysteresis around the threshold value. The action produces a Boolean result as its output.
Integer Compares Operational Input A greater-than-threshold integer compare block uses one operational input. This input needs to be a word with a signed integer value in the range -32,768 to +32,767. The input can come from: l an analog input from a module on the island l an analog output from the virtual module l if the compare is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Integer Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 as its output when the input value is greater than threshold + ∆ and a Boolean 0 as its output when the input value is less than or equal to threshold - ∆. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus.
Integer Compares Inside-the-window Integer Compare Block Summary An inside-the-window integer compare block performs a comparison between an analog input value and a window bounded by two thresholds. The input value is represented as an integer in the range -32 768 to +32 767. The software lets you assign values to the two thresholds (TH 1 and TH 2) along with a delta (∆) value, which acts as an hysteresis around TH 1 and TH 2. The block produces a Boolean result as its output.
Integer Compares Enable Input An inside-the-window integer compare block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Integer Compares Delta (∆) You can also add a ∆ value to an inside-the-window compare. The ∆ acts as an hysteresis around the two thresholds. Note: To be valid, TH 2 - TH 1 must be greater than 2∆. For example, say that TH 1 = -10 000 and TH 2 = +4000. The ∆ value you assign to the reflex action must therefore be less than 7000. Suppose you have a window defined by TH 1 = -10 000 and TH 2 = +4000. To that window, you specify a ∆ of 2000.
Integer Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 when the input value is inside the window and a Boolean 0 when the input value is not inside that window. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus. In this case, you need to specify one of the digital output channels as the destination for the block’s output.
Integer Compares Outside-the-window Integer Compare Block Summary An outside-the-window integer compare block performs a comparison between an analog input value and a window of values bounded by two thresholds. The input value is represented as an integer in the range -32 768 to +32 767. The software lets you assign values to the two thresholds (TH 1 and TH 2) along with a delta (∆) value, which acts as an hysteresis around TH 1 and TH 2. The block produces a Boolean result as its output.
Integer Compares Enable Input An outside-the-window integer compare block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Integer Compares Delta (∆) You can also add a ∆ value to an outside-the-window compare, which acts as an hysteresis around the two thresholds. Note: To be valid, TH 2 - TH 1 must be greater than 2∆. For example, say that TH 1 = -10 000 and TH 2 = +4000. The ∆ value you assign to the reflex action must therefore be less than 7000. Suppose you have a window defined by TH 1 = -10 000 and TH 2 = +4000. To that window, you specify a ∆ of 2000.
Integer Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 when the input value is outside the window and a Boolean 0 when the input value is not outside that window. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus. In this case, you need to specify one of the digital output channels as the destination for the reflex output.
Integer Compares 70 890USE18300 September 2003
Unsigned Compare Reflex Blocks 4 At a Glance Overview This chapter describes four unsigned compare reflex blocks. Two of these blocks compare an analog input value to a single threshold value and produce a specific Boolean result when the input is greater that or less than the threshold. The other two blocks compare an analog input value against a window defined by two threshold values and produce a specific Boolean result when the input value is either inside or outside that window.
Unsigned Compares Less-than-threshold Unsigned Compare Block Summary A less-than-threshold unsigned compare block performs a comparison between an analog input value and a threshold value. The input value is represented as an integer in the range 0 to 65 535. The software lets you assign the threshold value along with a delta (∆) value, which acts as an hysteresis for the threshold. The action produces a Boolean result as its output.
Unsigned Compares Operational Input A less-than-threshold unsigned compare block uses one operational input. It must be a word with an unsigned integer value in the range 0 to 65 535. The input can come from: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p. 28) l if the less-than-threshold compare is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Unsigned Compares Threshold and ∆ You need to enter two values in a compare action, the threshold and the ∆. The threshold is the value against which the operational input is compared, as shown in the examples above. The ∆ value acts as an hysteresis around the threshold. Note: To be valid, threshold + ∆ and threshold - ∆ must be integers in the range 0 to 65 535. For example, say you assign a threshold value of 48,000 to the comparison action. You then assign a ∆ value of 32 to that threshold.
Unsigned Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 when the input is less than threshold - ∆ and a Boolean 0 when the input is greater than or equal to threshold + ∆. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus.
Unsigned Compares Greater-than-threshold Unsigned Compare Block Summary A greater-than-threshold unsigned compare block performs a comparison between an analog input value and a threshold value (TH). The input value is represented as an integer in the range 0 to 65 535. The software lets you configure the TH value along with a delta (∆) value, which acts as an hysteresis for the threshold. The action produces a Boolean result as its output.
Unsigned Compares Operational Input A greater-than-threshold unsigned compare block uses one operational input. It must be a word with an unsigned integer value in the range 0 to 65 535. The input can come from: l an analog input channel on the island l an analog output from the virtual module (See The Virtual Module, p. 28) l if the greater-than-threshold compare is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Unsigned Compares Threshold and ∆ You need to enter two values—threshold and the ∆. The threshold is the value against which the operational input is compared. You can also add a ∆ value to the threshold, which acts as an hysteresis. Note: To be valid, TH + ∆ and TH - ∆ must be integers in the range 0 to 65 535. For example, say you assign a threshold value of 48,000 to the comparison action. You then assign a ∆ value of 32 to that threshold.
Unsigned Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 when the input is greater than TH + ∆ and a Boolean 0 when the input is less than or equal to TH - ∆. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus. In this case, you need to specify one of the digital output channels as the destination for the block’s output.
Unsigned Compares Inside-the-window Unsigned Compare Block Summary An inside-the-window unsigned compare block performs a comparison between an analog input value and a window of values bounded by two thresholds. The input value is represented as an integer in the range 0 to 65 535. The software lets you assign values to the two thresholds (TH 1 and TH 2) along with a delta (∆) value, which acts as an hysteresis around TH 1 and TH 2. The block produces a Boolean result as its output.
Unsigned Compares Enable Input An inside-the-window unsigned compare block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Unsigned Compares Operational Input An inside-the-window compare block uses one operational input. It must be a word with an unsigned integer in the range 0 to 65 535. The input can come from: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p. 28) l if the less-than-threshold compare is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Unsigned Compares Alternately, if the value of the operational input is less than TH 1 (say, 28 000) or greater than TH 2 (say 42 000): 1 or 1 0 0 0 65 535 0 65 535 42 000 28 000 30 000 (TH 1) 40 000 (TH 2) 30 000 (TH 1) 40 000 (TH 2) then the block produces a Boolean 0 as its output because the input value is outside the window.
Unsigned Compares Delta (∆) You can also add a ∆ value to an inside-the-window compare block, which acts as an hysteresis around the two thresholds. Note: To be valid, TH 2 - TH 1 must be greater than 2∆. For example, say that TH 1 = 30 000 and TH 2 = 40 000. The ∆ value you assign to the block must therefore be less than 5000. Suppose you have a window defined by TH 1 = 30 000 and TH 2 = 40 000. To that window, you specify a ∆ of 2000.
Unsigned Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 when the input value is within the window and a Boolean 0 when the input value is outside that window. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus. In this case, you need to specify one of the digital output channels as the destination for the block’s output.
Unsigned Compares Outside-the-window Unsigned Compare Block Summary An outside-the-window unsigned compare block performs a comparison between an analog input value and a window of values bounded by two thresholds. The input value is represented as an integer in the range 0 to 65 535. The software lets you assign values to the two thresholds (TH 1 and TH 2) along with a delta (∆) value, which acts as an hysteresis around TH 1 and TH 2. The block produces a Boolean result as its output.
Unsigned Compares Enable Input An outside-the-window unsigned compare block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Unsigned Compares Operational Input An outside-the-window compare block uses one operational input. It must be a word with an unsigned integer in the range 0 to 65 535. The input can come from: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p. 28) l if the less-than-threshold compare is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Unsigned Compares Because the value of the operational input falls inside the window defined by TH 1 and TH 2, the block produces a Boolean 0 as its result. Alternately, if the value of the operational input is less than TH 1 (say, 28 000) or greater than TH 2 (say 42 000): 1 or 1 0 0 0 65 535 0 65 535 42 000 28 000 30 000 (TH 1) 40 000 (TH 2) 30 000 (TH 1) 40 000 (TH 2) then the block produces a Boolean 1 as its result because the input value is outside the window.
Unsigned Compares Delta (∆) You can also add a ∆ value to an outside-the-window compare block, which acts as an hysteresis around the two thresholds. Note: To be valid, TH 2 - TH 1 must be greater than 2∆. For example, say that TH 1 = 30 000 and TH 2 = 40 000. The ∆ value you assign to the block must therefore be less than 5000. Suppose you have a window defined by TH 1 = 30 000 and TH 2 = 40 000. To that window, you specify a ∆ of 2000.
Unsigned Compares Physical Output 890USE18300 September 2003 The block produces a Boolean 1 when the input value is outside the window and a Boolean 0 when the input value is within that window. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to an action module: l The action module may be a digital output module on the island bus. In this case, you need to specify one of the digital output channels as the destination for the block’s output.
Unsigned Compares 92 890USE18300 September 2003
Counter Reflex Blocks 5 At a Glance Overview This chapter describes two counter reflex blocks that count Boolean inputs either up or down from a preset value. The result from these counter blocks is a word value. One counter increments or decrements on the rising edge of the operational input, and the other increments or decrements on the falling edge of the operational input.
Counters Falling-edge Counter Block Summary A falling-edge counter block counts up (increments) or down (decrements) each time its count input falls from 1 to 0. The count begins at a user-specified counter preset value and continues up or down until the block receives a reset input. A reset sends the counter back to its preset value and starts a new counting sequence. The block produces an unsigned analog word as its output.
Counters Counter Preset You must specify the counter preset value before implementing a counter operation. The preset must be an unsigned integer in the range 0 to 65 535. A counting sequence always begins at this counter preset value, then increments or decrements from it each time the count input value falls from 1 to 0. For example, say you configure an up-counter with a counter preset at 25.
Counters Enable Input A falling-edge counter block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Counters Count Direction Input Every falling-edge counter block needs to count in a direction—either up or down. Using the Advantys configuration software, set the direction of the counter as a constant value of either 0 or 1, where: l 0 = an up-counter l 1 = a down-counter The inputs may come from: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p.
Counters Wrap-arounds If an up-counter increments up to 65 535 and does not receive a reset input, it will wrap to 0 and continue to increment from there until it is reset. At reset, the counter will return to the preset value and start a new incremental up-count.
Counters Physical Output The output of a falling-edge counter is a word that holds an unsigned integer value in the range 0 to 65 535. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to a digital action module. Note: A counter is always the first block in a nested reflex action.
Counters Rising-edge Counter Block Summary A rising-edge counter block counts up (increments) or down (decrements) each time an count input to the action rises from 0 to 1. The count begins at a user-specified preset value and continues counting up or down until the block receives a reset input. A reset sends the counter back to its preset value and starts a new counting sequence. The block produces an unsigned analog word as its output.
Counters Counter Preset You must specify the counter preset value before implementing a counter operation. The preset must be an unsigned integer in the range 0 to 65 535. A counting sequence always begins at the counter preset, then increments or decrements from there each time the count input value transitions from 0 to 1. For example, say you have an up-counter with a preset value of 25.
Counters Enable Input A rising-edge counter block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If a Boolean input is used, its value may be produced by: l a digital input or output from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Counters Count Direction Input Every rising-edge counter block needs to count in a direction—either up or down. Using the Advantys configuration software, you can set the direction of the counter as a constant value of either 0 or 1, where: l 0 = an up-counter l 1 = a down-counter The input can come from: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p.
Counters Wrap-arounds If an up-counter increments up to 65 535 and does not receive a reset input, it will wrap to 0 and continue to increment from there until it is reset. At reset, the counter will return to the preset value and start a new incremental up-count.
Counters Physical Output The output of a rising-edge counter block is a word that holds an unsigned integer value in the range 0 to 65 535. The physical output (See Configuring the Physical Output from a Reflex Block, p. 27) needs to be mapped to a digital action module. Note: A counter is always the first block in a nested reflex action.
Counters 106 890USE18300 September 2003
Timer Reflex Blocks 6 At a Glance Overview This chapter describes two types of timer blocks—delay timers and edge timers. Delay timer blocks start timing when a timer trigger is set, count timing intervals for some specified number of counts, then hold the terminal count value until the trigger launches another timing operation.
Timers Delay-to-start Timer Block Summary A delay-to-start timer block starts a timing operation when its trigger rises from 0 to 1. The timer needs to be preset to accumulate a user-specified time unit for a specified number of counts (the terminal count). The output from a delay-to-start timer block is a Boolean value that rises to 1 when the terminal count is reached and stays at 1 as long as the terminal count is held. You may invert the value of the output.
Timers Time Units and Terminal Count You need to preset the timer block to accumulate in one of the following time units: l 1 ms l 10 ms l 100 ms l 1000 ms l 10 000 ms When the timer is enabled and the trigger starts the accumulation, the block will count a specified number of time units. The maximum number of unit counts allowed is called the terminal count. The terminal count is a user-specified integer value in the range 1 to 32 767.
Timers Enable Input A delay-to-start timer block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Timers Timer Reset Input The reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The timer is operational when the reset value is 1; it does not operate when the reset value is 0. The reset input may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Timers Physical Output The output from a delay-to-start timer block is a Boolean 1 or 0. If the output is not inverted, the output goes to 1 when the block reaches its specified terminal count and stays at 1 as long as the timer accumulator holds the terminal count. The output falls to 0 when the block looses the terminal count. If the output is inverted, the output goes to 0 when the block reaches its specified terminal count and stays at 0 as long as the timer accumulator holds the terminal count.
Timers Delay-to-stop Timer Block Summary The delay-to-stop timer block starts a timing operation when its trigger falls from 1 to 0. The timer needs to be preset to accumulate a user-specified time unit for a specified number of counts (the terminal count). The output of a delay-to-stop timer block is a Boolean that goes to 0 as soon as the terminal count is reached and stays at 0 as long as the terminal count is held. Optionally, you may invert the value of the output.
Timers Time Units and Terminal Count You need to preset the timer block to accumulate in one of the following time units: l 1 ms l 10 ms l 100 ms l 1000 ms l 10 000 ms When the timer block is enabled and the trigger starts the accumulation, the block will count a specified number of time units. The maximum number of unit counts allowed is called the terminal count. The terminal count is a user-specified integer value in the range 1 to 32 767.
Timers Enable Input A delay-to-stop timer block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Timers Timer Reset Input The reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The block is operational when the reset value is 1; it does not operate when the reset value is 0. The reset input may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Timers Physical Output The output from a delay-to-stop timer block is a Boolean 1 or 0. If the output is not inverted, the output will go to 0 when the block has reached its specified terminal count and it will stay at 0 as long as the timer accumulator holds the terminal count. The output is 1 when the block looses the terminal count.
Timers Falling-edge Timer Block Summary A falling-edge timer block starts a timing operation when its trigger falls from 1 to 0. The timer needs to be preset to accumulate at a user-specified time unit for a specified number of counts (the terminal count). The output from a falling-edge timer block is a Boolean that goes to 1 while the timer is accumulating and 0 when the timer is not accumulating time units (when the accumulator is at the terminal count).
Timers Time Units and Terminal Count You need to preset the timer block to accumulate in one of the following time units: l 1 ms l 10 ms l 100 ms l 1000 ms l 10 000 ms When the timer is enabled and the trigger starts the accumulation, the block will count a specified number of time units. This number is called the terminal count. The terminal count is a user-specified integer value in the range 0 to 32 767. For example, suppose you specify a time unit of 10 ms and a terminal count of 24.
Timers Enable Input A falling-edge timer block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Timers Timer Reset Input The reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The timer is operational when the reset value is 1; it does not operate when the reset value is 0.
Timers Physical Output 122 The output of a falling-edge timer is a Boolean 1 or 0. If the output is not inverted, the output rises to 1 when the block is accumulating time units and to 0 when the timer is at 0 or at the terminal count. If the output is inverted, the output drops to 0 when the timer is accumulating time units and to 1 when the timer is at 0 or at the terminal count. The physical output (See Configuring the Physical Output from a Reflex Block, p.
Timers Rising-edge Timer Block Summary A rising-edge timer block starts a timing operation when its trigger rises from 0 to 1. The block needs to be preset to accumulate at a user-specified time unit for a specified number of counts (the terminal count). The output from a rising-edge timer block is a Boolean that rises to 1 while the timer is accumulating and drops to 0 when the accumulator is at the terminal count. You may invert the value of the output.
Timers Time Units and Terminal Count You need to preset the timer block to accumulate in one of the following time units: l 1 ms l 10 ms l 100 ms l 1000 ms l 10 000 ms When the timer is enabled and the trigger starts the accumulation, the block will count a specified number of time units. This number is called the terminal count. The terminal count is a user-specified integer value in the range 0 to 32 767. For example, suppose you specify a time unit of 10 ms and a terminal count of 24.
Timers Enable Input A rising-edge timer block can be enabled either by a Boolean 1 or an always enabled constant. It can be disabled by a Boolean 0 or an always disabled constant. If the enable input is a Boolean, it may be produced by: l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Timers Timer Reset Input The reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The block is operational when the reset value is 1; it does not operate when the reset value is 0.
Timers Physical Output 890USE18300 September 2003 The output of a falling-edge timer is a Boolean 1 or 0. If the output is not inverted, the output rises to 1 when the timer is accumulating time units and drops to 0 when the timer is at 0 or the terminal count. If the output is inverted, the output drops to 0 when the timer is accumulating time units and rises to 1 when the timer is at 0 or the terminal count. The physical output (See Configuring the Physical Output from a Reflex Block, p.
Timers 128 890USE18300 September 2003
Analog Latch Reflex Blocks 7 At a Glance Overview Two types of analog latch blocks are described in this chapter—edge latches and level latches. Edge latches latch an analog value on either the rising edge or falling edge of the block’s trigger. The output from the block remains latched until the trigger causes another input value to be latched. The output is always a latched value.
Analog Latches Falling-edge Analog Latch Block Summary A falling-edge analog latch block produces an output that latches the value of an analog input when the trigger drops from 1 to 0. The output remains latched while the trigger is at 0 and while it transitions back to 1. If the latch trigger transitions from 1 to 0 again, the block latches the output to the value of the analog input at the time of the second transition. The output is always a latched analog value in the form of a 16-bit word.
Analog Latches Latch Trigger Input The latch trigger may be a Boolean 1 or 0. When the value of the trigger falls from 1 to 0, the block latches the value of the analog input and the latched value becomes the block’s output. The latched output value remains set until the trigger falls again from 1 to 0, producing a new latched output. The latch trigger value may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p.
Analog Latches Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer value in the range -32 768 to +32 767. The value of the input will be latched by the trigger when it falls from 1 to 0. The input value may be produced by: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p.
Analog Latches Physical Output The output from a falling-edge analog latch block is a 16-bit word. It may be an unsigned integer in the range 0 to 65 535 or a signed integer in the range -32 768 to +32 767. The output value is the value of the analog input at the moment of the last falling edge of the latch trigger. Note: The type of output value from this block matches the type of input value— e.g., if you input an unsigned integer value, the output will be an unsigned integer value.
Analog Latches Rising-edge Analog Latch Block Summary A rising-edge analog latch block produces a output that latches the value of an analog input when the block’s trigger rises from 0 to 1. The output remains latched to this value while the trigger is at 1 and while it transitions back to 0. If the latch trigger transitions from 0 to 1 again, the block latches the output to the value of the analog input at the time of the second transition.
Analog Latches Latch Trigger Input The latch trigger may be a Boolean 1 or 0. When the value of the trigger rises from 0 to 1, the block latches the value of the analog input and that latched value becomes the block’s output. The latched output value remains set until the trigger rises again from 0 to 1, producing a new latched output.
Analog Latches Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer value in the range -32 768 to +32 767. The value of the input is latched by the trigger value when it rises from 0 to 1. The input value may be produced by: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p.
Analog Latches Physical and Logical Output The output of a rising-edge analog latch block is a 16-bit word. It may be an unsigned integer in the range 0 to 65 535 or a signed integer in the range -32 768 to +32 767. The output is the value of the analog input at the moment of the last falling edge of the latch trigger. Note: The type of output value from this block matches the type of input value— e.g., if you input an unsigned integer value, the output will be an unsigned integer value.
Analog Latches Low-level Analog Latch Block Summary A low-level analog latch block produces a latched output when the its trigger is 0 and an unlatched output when the trigger is 1. When the action is unlatched, the value of the output is identical to the value of the analog input. When the action is latched, the value of the output is latched to the value of the analog input at the moment when the latch trigger fell from 1 to 0.
Analog Latches Latch Trigger Input 890USE18300 September 2003 The latch trigger may be a Boolean 1 or 0. When the value is 0, the block latches the value of the analog input, and that latched value becomes the output from the block. When the trigger value is 1, the output is unlatched and equal to the value of the analog input.
Analog Latches Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer value in the range -32 768 to +32 767. The value of the input is latched when the value of the latch trigger is 0 and unlatched when the value of the latch trigger is 1. The input value may be produced by: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p.
Analog Latches Physical Output The output of a low-level analog latch block is a 16-bit word. It may be an unsigned integer in the range 0 to 65 535 or a signed integer in the range -32 768 to +32 767. The output is latched to the value of the analog input when the value of the latch trigger is 0, and it is unlatched when the value of the trigger is 1. Note: The type of output value from this block matches the type of input value— e.g.
Analog Latches High-level Analog Latch Block Summary A high-level analog latch block produces a latched output when the block’s trigger is 1 and an unlatched output when the trigger is 0. When the block is unlatched, the value of the output is identical to the value of the analog input. When the block is latched, the value of the output is latched to the value of the analog input when the latch trigger rises from 0 to 1. The output is an analog value in the form of a 16-bit word.
Analog Latches Latch Trigger Input 890USE18300 September 2003 The latch trigger may be a Boolean 1 or 0. When the trigger is 1, the value of the analog input is latched, and that value becomes the output from the block as long as the trigger is 1. When the trigger value is 0, the block latches the value of the analog input and that latched value becomes the block’s output. When the trigger value is 1, the output is unlatched and equal to the value of the analog input.
Analog Latches Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer value in the range -32 768 to +32 767. The value of the input is latched when the latch trigger is 1 and unlatched when the latch trigger is 0. The input value may be produced by: l an analog input from a module on the island l an analog output from the virtual module (See The Virtual Module, p.
Analog Latches Physical Output The output of a high-level analog latch block is a 16-bit word. It may be an unsigned integer in the range 0 to 65 535 or a signed integer in the range -32 768 to +32 767. The output is latched to the value of the analog input when the latch trigger is 1 and unlatched when the trigger is 0. Note: The type of output value from this block matches the type of input value— e.g., if you input an unsigned integer value, the output will be an unsigned integer value.
Analog Latches 146 890USE18300 September 2003
Digital Latch Reflex Blocks 8 At a Glance Overview Two types of digital latch blocks are described in this chapter—edge latches and level latches. Edge latch blocks latch a digital value on the rising edge or falling edge of the block’s trigger. The output remains latched until the trigger causes another input value to be latched; the output is always a latched value.
Digital Latches Falling-edge Digital Latch Block Summary A falling-edge digital latch block produces an output that latches the value of an operational input when the trigger falls from 1 to 0. The output remains latched to that digital value. The output from the block is a Boolean 1 or 0. You may invert the value of the output.
Digital Latches Latch Trigger Input 890USE18300 September 2003 The latch trigger may be a Boolean 1 or 0. When it transitions from 1 to 0, the value of the operational input is latched. If the output is standard, the value of the operational input becomes the output from the block; if the output is inverted, the inverted value of the operational input becomes the output from the block.
Digital Latches Operational Input The operational input is a stream of Boolean 1s and 0s that is latched by the falling edge of the latch trigger. It may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Digital Latches Physical Output 890USE18300 September 2003 The output from a falling-edge digital latch block is a Boolean 1 or 0. The output is always a latched value, determined by the value of the operational input when the trigger transitions from 1 to 0. If the output is not inverted, the output latches the value of the operational input when the latch trigger falls from 1 to 0.
Digital Latches Rising-edge Digital Latch Block Summary A rising-edge digital latch block produces a output that latches the value of an operational input when the block’s trigger rises from 0 to 1. The output remains latched when the trigger falls to 0 and until the trigger rises to 1 again. The output is a Boolean 1 or 0. You may invert the value of the output.
Digital Latches Latch Trigger Input 890USE18300 September 2003 The latch trigger may be a Boolean 1 or 0. When it rises from 0 to 1, the value of the operational input is latched. If the output is standard, the value of the operational input becomes the output of the action; if the output is inverted, the inverted value of the operational input becomes the output of the action.
Digital Latches Operational Input The operational input is a pulse train of Boolean 1s and 0s that will be latched at any time by the rising edge of the latch trigger. It may be produced by: l a digital input or output from a module on the island l a digital output from the virtual module l an input data bit from a channel on the action module l if the latch is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Digital Latches Physical Output 890USE18300 September 2003 The output from a rising-edge digital latch block is a Boolean 1 or 0. The output is always a latched value, determined by the value of the operational input when the trigger rises from 0 to 1. If the output is not inverted, the output latches the value of the operational input when the latch trigger rises from 0 to 1.
Digital Latches Low-level Digital D-latch Block Summary A low-level digital D-latch block produces a latched output when the block’s trigger is 0 and an unlatched output when the trigger is 1. The output is a Boolean 1 or 0. You may invert the value of the output.
Digital Latches Latch Trigger Input 890USE18300 September 2003 The latch trigger may be a Boolean 1 or 0. When it is 0, the value of the operational input is latched. When the trigger value is 1, the output is unlatched.
Digital Latches Operational Input The operational input is a stream of Boolean 1s and 0s that can be latched and unlatched by the latch trigger. It may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module l an output on the action module written to by the fieldbus master l if the latch is the second block in a nested reflex action (See Nesting Two Reflex Blocks, p.
Digital Latches Physical Output 890USE18300 September 2003 The output from a low-level digital D-latch block is a Boolean 1 or 0. The output is latched when the trigger value is 0 and unlatched when the trigger value is 1. If the output is not inverted, it echoes the current operational input when the latch trigger is high, and it latches the value of the operational input at the moment that the trigger drops from 1 to 0.
Digital Latches High-level Digital D-latch Block Summary A high-level digital D-latch block produces a latched output when the block’s trigger is 1 and an unlatched output when the trigger is 0. The output is a Boolean 1 or 0. You may invert the value of the output.
Digital Latches Latch Trigger Input 890USE18300 September 2003 The latch trigger may be a Boolean 1 or 0. When it is 1, the value of the operational input is latched. When the trigger value is 0, the output is unlatched. The latch trigger value may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Digital Latches Operational Input The operational input is a stream of Boolean 1s and 0s that will be latched and unlatched by the trigger value. It may be produced by: l a constant l a digital input from a module on the island l a digital output from the virtual module (See The Virtual Module, p. 28) l an output on the action module (See Using the Action Module as an Input to a Block, p.
Digital Latches Physical Output 890USE18300 September 2003 The output from a high-level digital D-latch block is a Boolean 1 or 0. The output is a latched value when the trigger is 1 and unlatched when the trigger is 0. If the output is not inverted, it echoes the current operational input when the latch trigger is low, and it latches the value of the operational input at the moment that the trigger rises from 0 to 1.
Digital Latches 164 890USE18300 September 2003
Glossary ! 10Base-T An adaptation of the IEEE 802.3 (Ethernet) standard, the 10Base-T standard uses twisted-pair wiring with a maximum segment length of 100 m (328 ft) and terminates with an RJ-45 connector. A 10Base-T network is a baseband network capable of transmitting data at a maximum speed of 10 Mbit/s. 802.3 frame A frame format, specified in the IEEE 802.3 (Ethernet) standard, in which the header specifies the data packet length. A agent 1.
Glossary ARP address resolution protocol. IP’s network layer protocol uses ARP to map an IP address to a MAC (hardware) address. auto baud The automatic assignment and detection of a common baud rate as well as the ability of a device on a network to adapt to that rate. auto-addressing The assignment of an address to each island bus I/O module and preferred device. autoconfiguration The ability of island modules to operate with predefined default parameters.
Glossary CiA CAN in Automation. CiA is a non-profit group of manufacturers and users dedicated to developing and supporting CAN-based higher layer protocols. COB communication object. A communication object is a unit of transportation (a "message") in a CAN-based network. Communication objects indicate a particular functionality in a device. They are specified in the CANopen communication profile. COMS island bus scanner.
Glossary E EDS electronic data sheet. The EDS is a standardized ASCII file that contains information about a network device’s communications functionality and the contents of its object dictionary. The EDS also defines device-specific and manufacturer-specific objects. EIA Electronic Industries Association. An organization that establishes electrical/ electronic and data communication standards. EMC electromagnetic compatibility.
Glossary Fipio Fieldbus Interface Protocol (FIP). An open fieldbus standard and protocol that conforms to the FIP/World FIP standard. Fipio is designed to provide low-level configuration, parameterization, data exchange, and diagnostic services. Flash memory Flash memory is nonvolatile memory that can be overwritten. It is stored on a special EEPROM that can be erased and reprogrammed. FRD_P Fipio reduced device profile.
Glossary H HMI human-machine interface An operator interface, usually graphical, for industrial equipment. HMI human-machine interface An operator interface, usually graphical, for industrial equipment. hot swapping Replacing a component with a like component while the system remains in operation. HTTP hypertext transfer protocol. The protocol that a web server and a client browser use to communicate with one another.
Glossary IEC type 1+ input Type 1+ digital inputs support sensor signals from mechanical switching devices such as relay contacts, push buttons (in normal-to-moderate environmental conditions), three-wire proximity switches and two-wire proximity switches that have: l a voltage drop of no more than 8 V l a minimum operating current capability less than or equal to 2 mA l a maximum off-state current less than or equal to 0.
Glossary L LAN local area network. A short-distance data communications network. light industrial I/O An Advantys STB I/O module designed at a low cost for less rigorous (e.g., intermittent, low-duty-cycle) operating environments. Modules of this type operate in lower temperature ranges with lower qualification and agency requirements and limited on-board protection; they usually have limited or no user-configuration options.
Glossary N N.C. contact normally closed contact. A relay contact pair that is closed when the relay coil is deenergized and open when the coil is energized. N.O. contact normally open. contact. A relay contact pair that is open when the relay coil is deenergized and closed when the coil is energized. NEMA National Electrical Manufacturers Association.
Glossary output polarity An output channel’s polarity determines when the output module turns its field actuator on and when it turns the actuator off. If the polarity is normal, an output channel will turn its actuator on when the master controller sends it a 1. If the polarity is reverse, an output channel will turn its actuator on when the master controller sends it a 0.
Glossary preferred module An I/O module that functions as an auto-addressable node on an Advantys STB island but is not in the same form factor as a standard Advantys STB I/O module and therefore does not fit in an I/O base. A preferred device connects to the island bus via an STB XBE 1000 EOS module and a length of STB XCA 100x bus extension cable. It can be extended to another preferred module or back into a standard island segment.
Glossary repeater An interconnection device that extends the permissible length of a bus. reverse polarity protection Use of a diode in a circuit to protect against damage and unintended operation in the event that the polarity of the applied power is accidentally reversed. rms root mean square. The effective value of an alternating current, corresponding to the DC value that produces the same heating effect.
Glossary SELV safety extra low voltage. A secondary circuit designed and protected so that the voltage between any two accessible parts (or between one accessible part and the PE terminal for Class 1 equipment) does not exceed a specified value under normal conditions or under single-fault conditions. SIM subscriber identification module. Originally intended for authenticating users of mobile communications, SIMs now have multiple applications.
Glossary standard network interface An Advantys STB network interface module designed at moderate cost to support the kind of configuration capabilities and throughput capacity suitable for most standard applications on the island bus. STD_P standard profile. On a Fipio network, a standard profile is a fixed set of configuration and operating parameters for an agent device, based on the number of modules that the device contains and the device’s total data length.
Glossary U UDP user datagram protocol. A connectionless mode protocol in which messages are delivered in a datagram to a destination computer. The UDP protocol is typically bundled with the Internet Protocol (UPD/IP). V varistor A two-electrode semiconductor device with a voltage-dependant nonlinear resistance that drops markedly as the applied voltage is increased. It is used to suppress transient voltage surges.
Glossary 180 890USE18300 September 2003
B AC Index A C action module, 12, 30 as an input to a reflex block, 32 action module behavior in a fallback condition, 34 action types Boolean, 16 compares, 17 latches, 23 timers, 20 Advantys configuration software, 11, 13 reflex editor, 24 analog latch action types falling-edge blocks, 130 high-level blocks, 142 low-level blocks, 138 rising-edge blocks, 134 analog latch block structure for falling-edge latches, 130 for high-level latches, 142 for low-level latches, 138 for rising-edge latches, 134 AND
Index digital latch action types falling-edge blocks, 148 rising-edge blocks, 152 digital latch block structure for falling-edge latches, 148 for rising-edge latches, 152 F fallback conditions, 34 fallback states of a reflex action at start-up, 39 falling-edge analog latch block structure, 130 falling-edge counter block structure, 94 falling-edge digital latch block structure, 148 falling-edge timer block structure, 118 G greater-than-threshold compare block structure, 59 greater-than-threshold unsigned
Index T three-input AND block structure, 48 timer action types delay-to-start blocks, 108 delay-to-stop blocks, 113 falling-edge blocks, 118 rising-edge blocks, 123 timer block structure for delay-to-start timing, 108 for delay-to-stop timing, 113 for falling-edge timing, 118 for rising-edge timing, 123 two-input AND block structure, 42 U unsigned compare action types greater-than-threshold blocks, 76 inside-the-window blocks, 80 less-than-threshold blocks, 72 outside-the-window blocks, 86 unsigned compar
Index 184 890USE18300 September 2003