31004635 00Advantys STB ReflexActions Reference Guide890USE18300 Version 1.031004635 00
Introduction10890USE18300 September 2003What Is a Reflex Action?Summary Reflex actions are small routines that perform dedicated logical functions dir
Counters100890USE18300 September 2003Rising-edge Counter BlockSummary A rising-edge counter block counts up (increments) or down (decrements) each tim
Counters890USE18300 September 2003 101Counter Preset You must specify the counter preset value before implementing a counter operation. The preset mus
Counters102890USE18300 September 2003Enable Input A rising-edge counter block can be enabled either by a Boolean 1 or an always enabled constant. It c
Counters890USE18300 September 2003 103Count Direction InputEvery rising-edge counter block needs to count in a direction—either up or down. Using the
Counters104890USE18300 September 2003Wrap-arounds If an up-counter increments up to 65 535 and does not receive a reset input, it will wrap to 0 and c
Counters890USE18300 September 2003 105Physical Output The output of a rising-edge counter block is a word that holds an unsigned integer value in the
Counters106890USE18300 September 2003
890USE18300 September 2003 1076Timer Reflex BlocksAt a GlanceOverview This chapter describes two types of timer blocks—delay timers and edge timers.De
Timers108890USE18300 September 2003Delay-to-start Timer BlockSummary A delay-to-start timer block starts a timing operation when its trigger rises fro
Timers890USE18300 September 2003 109Time Units and Terminal CountYou need to preset the timer block to accumulate in one of the following time units:1
Introduction890USE18300 September 2003 11Configuring a Reflex ActionEach block in a reflex action must be configured using the Advantys configuration
Timers110890USE18300 September 2003Enable Input A delay-to-start timer block can be enabled either by a Boolean 1 or an always enabled constant. It ca
Timers890USE18300 September 2003 111Timer Reset InputThe reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The timer
Timers112890USE18300 September 2003Physical Output The output from a delay-to-start timer block is a Boolean 1 or 0.If the output is not inverted, the
Timers890USE18300 September 2003 113Delay-to-stop Timer BlockSummary The delay-to-stop timer block starts a timing operation when its trigger falls fr
Timers114890USE18300 September 2003Time Units and Terminal CountYou need to preset the timer block to accumulate in one of the following time units:1m
Timers890USE18300 September 2003 115Enable Input A delay-to-stop timer block can be enabled either by a Boolean 1 or an always enabled constant. It ca
Timers116890USE18300 September 2003Timer Reset InputThe reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The block i
Timers890USE18300 September 2003 117Physical Output The output from a delay-to-stop timer block is a Boolean 1 or 0.If the output is not inverted, the
Timers118890USE18300 September 2003Falling-edge Timer BlockSummary A falling-edge timer block starts a timing operation when its trigger falls from 1
Timers890USE18300 September 2003 119Time Units and Terminal CountYou need to preset the timer block to accumulate in one of the following time units:1
Introduction12890USE18300 September 2003Result of a Reflex BlockDepending on the type of reflex block that you use, it will output either a Boolean or
Timers120890USE18300 September 2003Enable Input A falling-edge timer block can be enabled either by a Boolean 1 or an always enabled constant. It can
Timers890USE18300 September 2003 121Timer Reset InputThe reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The timer
Timers122890USE18300 September 2003Physical Output The output of a falling-edge timer is a Boolean 1 or 0.If the output is not inverted, the output ri
Timers890USE18300 September 2003 123Rising-edge Timer BlockSummary A rising-edge timer block starts a timing operation when its trigger rises from 0 t
Timers124890USE18300 September 2003Time Units and Terminal CountYou need to preset the timer block to accumulate in one of the following time units:1m
Timers890USE18300 September 2003 125Enable Input A rising-edge timer block can be enabled either by a Boolean 1 or an always enabled constant. It can
Timers126890USE18300 September 2003Timer Reset InputThe reset input is essentially a timer override mechanism. It may be a Boolean 1 or 0. The block i
Timers890USE18300 September 2003 127Physical Output The output of a falling-edge timer is a Boolean 1 or 0.If the output is not inverted, the output r
Timers128890USE18300 September 2003
890USE18300 September 2003 1297Analog Latch Reflex BlocksAt a GlanceOverview Two types of analog latch blocks are described in this chapter—edge latch
Introduction890USE18300 September 2003 13Nesting The Advantys configuration software allows you to create nested reflex actions. One level of nesting
Analog Latches130890USE18300 September 2003Falling-edge Analog Latch BlockSummary A falling-edge analog latch block produces an output that latches th
Analog Latches890USE18300 September 2003 131Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When the value of the trigger falls from 1 t
Analog Latches132890USE18300 September 2003Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer
Analog Latches890USE18300 September 2003 133Physical Output The output from a falling-edge analog latch block is a 16-bit word. It may be an unsigned
Analog Latches134890USE18300 September 2003Rising-edge Analog Latch BlockSummary A rising-edge analog latch block produces a output that latches the v
Analog Latches890USE18300 September 2003 135Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When the value of the trigger rises from 0 t
Analog Latches136890USE18300 September 2003Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer
Analog Latches890USE18300 September 2003 137Physical and Logical OutputThe output of a rising-edge analog latch block is a 16-bit word. It may be an u
Analog Latches138890USE18300 September 2003Low-level Analog Latch BlockSummary A low-level analog latch block produces a latched output when the its t
Analog Latches890USE18300 September 2003 139Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When the value is 0, the block latches the v
Introduction14890USE18300 September 2003Number of Reflex Blocks on an IslandAn island can support up to 10 reflex blocks. A nested reflex action consu
Analog Latches140890USE18300 September 2003Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer
Analog Latches890USE18300 September 2003 141Physical Output The output of a low-level analog latch block is a 16-bit word. It may be an unsigned integ
Analog Latches142890USE18300 September 2003High-level Analog Latch BlockSummary A high-level analog latch block produces a latched output when the blo
Analog Latches890USE18300 September 2003 143Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When the trigger is 1, the value of the anal
Analog Latches144890USE18300 September 2003Analog Input The analog input may be an unsigned integer value in the range 0 to 65 535 or a signed integer
Analog Latches890USE18300 September 2003 145Physical Output The output of a high-level analog latch block is a 16-bit word. It may be an unsigned inte
Analog Latches146890USE18300 September 2003
890USE18300 September 2003 1478Digital Latch Reflex BlocksAt a GlanceOverview Two types of digital latch blocks are described in this chapter—edge lat
Digital Latches148890USE18300 September 2003Falling-edge Digital Latch BlockSummary A falling-edge digital latch block produces an output that latches
Digital Latches890USE18300 September 2003 149Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When it transitions from 1 to 0, the value
Introduction890USE18300 September 2003 15An Overview of Reflex Action TypesSummary There are seven types of reflex blocks available in the Advantys co
Digital Latches150890USE18300 September 2003Operational InputThe operational input is a stream of Boolean 1s and 0s that is latched by the falling edg
Digital Latches890USE18300 September 2003 151Physical Output The output from a falling-edge digital latch block is a Boolean 1 or 0. The output is alw
Digital Latches152890USE18300 September 2003Rising-edge Digital Latch BlockSummary A rising-edge digital latch block produces a output that latches th
Digital Latches890USE18300 September 2003 153Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When it rises from 0 to 1, the value of the
Digital Latches154890USE18300 September 2003Operational InputThe operational input is a pulse train of Boolean 1s and 0s that will be latched at any t
Digital Latches890USE18300 September 2003 155Physical Output The output from a rising-edge digital latch block is a Boolean 1 or 0. The output is alwa
Digital Latches156890USE18300 September 2003Low-level Digital D-latch BlockSummary A low-level digital D-latch block produces a latched output when th
Digital Latches890USE18300 September 2003 157Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When it is 0, the value of the operational
Digital Latches158890USE18300 September 2003Operational InputThe operational input is a stream of Boolean 1s and 0s that can be latched and unlatched
Digital Latches890USE18300 September 2003 159Physical Output The output from a low-level digital D-latch block is a Boolean 1 or 0. The output is latc
Introduction16890USE18300 September 2003Boolean Logic Action TypesThree fundamental Boolean logic action types are supported—the exclusive-OR (XOR) bl
Digital Latches160890USE18300 September 2003High-level Digital D-latch BlockSummary A high-level digital D-latch block produces a latched output when
Digital Latches890USE18300 September 2003 161Latch Trigger InputThe latch trigger may be a Boolean 1 or 0. When it is 1, the value of the operational
Digital Latches162890USE18300 September 2003Operational InputThe operational input is a stream of Boolean 1s and 0s that will be latched and unlatched
Digital Latches890USE18300 September 2003 163Physical Output The output from a high-level digital D-latch block is a Boolean 1 or 0. The output is a l
Digital Latches164890USE18300 September 2003
890USE18300 September 2003 165Glossary10Base-T An adaptation of the IEEE 802.3 (Ethernet) standard, the 10Base-T standard uses twisted-pair wiring wit
Glossary166890USE18300 September 2003ARP address resolution protocol. IP’s network layer protocol uses ARP to map an IP address to a MAC (hardware) ad
Glossary890USE18300 September 2003 167CiA CAN in Automation. CiA is a non-profit group of manufacturers and users dedicated to developing and supporti
Glossary168890USE18300 September 2003EDS electronic data sheet. The EDS is a standardized ASCII file that contains information about a network device’
Glossary890USE18300 September 2003 169Fipio Fieldbus Interface Protocol (FIP). An open fieldbus standard and protocol that conforms to the FIP/World F
Introduction890USE18300 September 2003 17Compare Action TypesA compare block takes a word as its operational input and compares that value against a p
Glossary170890USE18300 September 2003HMI human-machine interface An operator interface, usually graphical, for industrial equipment.HMI human-machine
Glossary890USE18300 September 2003 171IEC type 1+ input Type 1+ digital inputs support sensor signals from mechanical switching devices such as relay
Glossary172890USE18300 September 2003LAN local area network. A short-distance data communications network.light industrial I/OAn Advantys STB I/O modu
Glossary890USE18300 September 2003 173N.C. contact normally closed contact. A relay contact pair that is closed when the relay coil is de-energized an
Glossary174890USE18300 September 2003output polarity An output channel’s polarity determines when the output module turns its field actuator on and wh
Glossary890USE18300 September 2003 175preferred module An I/O module that functions as an auto-addressable node on an Advantys STB island but is not i
Glossary176890USE18300 September 2003repeater An interconnection device that extends the permissible length of a bus.reverse polarity protectionUse of
Glossary890USE18300 September 2003 177SELV safety extra low voltage. A secondary circuit designed and protected so that the voltage between any two ac
Glossary178890USE18300 September 2003standard network interfaceAn Advantys STB network interface module designed at moderate cost to support the kind
Glossary890USE18300 September 2003 179UDP user datagram protocol. A connectionless mode protocol in which messages are delivered in a datagram to a de
Introduction18890USE18300 September 2003The following illustration shows how the four action types compare the input to the thresholds, using the inte
Glossary180890USE18300 September 2003
CBA890USE18300 September 2003 181Aaction module, 12, 30as an input to a reflex block, 32action module behaviorin a fallback condition, 34action typesB
Index182890USE18300 September 2003digital latch action typesfalling-edge blocks, 148rising-edge blocks, 152digital latch block structurefor falling-ed
Index890USE18300 September 2003 183Tthree-input AND block structure, 48timer action typesdelay-to-start blocks, 108delay-to-stop blocks, 113falling-ed
Index184890USE18300 September 2003
Introduction890USE18300 September 2003 19Counter Action TypesA counter block takes a series of digital inputs and accumulates a running count of the n
2890USE18300 September 2003
Introduction20890USE18300 September 2003Timer Action TypesTimer blocks support four action types:delay-to-start timersdelay-to-stop timersrising-edge
Introduction890USE18300 September 2003 21The output from a delay timer goes high or low when the timer reaches its terminal count and stays high or lo
Introduction22890USE18300 September 2003The output from an edge timer goes high while the timer is accumulating time counts and goes low when the term
Introduction890USE18300 September 2003 23Latch Types Latch blocks respond to a digital trigger input by latching to an operational input value on eith
Introduction24890USE18300 September 2003Configuring a Reflex BlockSummary To create a reflex block and map it to an action module on your island bus,
Introduction890USE18300 September 2003 25Some island configurations are password-protected. If the configuration on which you are working is protected
Introduction26890USE18300 September 2003Configuring the Inputs to a Reflex BlockEvery block requires that you configure a set of input values. The blo
Introduction890USE18300 September 2003 27Configuring Preset Values for a Reflex BlockSome reflex actions also have some user-specified preset values t
Introduction28890USE18300 September 2003The Virtual ModuleSummary Because reflex actions are designed to operate independently from the fieldbus maste
Introduction890USE18300 September 2003 29Selecting the Virtual ModuleThe size of the virtual module in your process image is determined by your select
890USE18300 September 2003 3Table of ContentsSafety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5About the Bo
Introduction30890USE18300 September 2003The Action ModuleSummary When you configure a reflex block, you must assign it to an action module. The action
Introduction890USE18300 September 2003 31This action is designed to XOR the Boolean inputs produced on channel 1 and channel 2 of the STB DDI 3420 dig
Introduction32890USE18300 September 2003Using the Action Module as an Input to a BlockOnce you have mapped the output from a block to a physical chann
Introduction890USE18300 September 2003 33The action module is specified as the STB DDO 3200 output module located at logical address 4 on the island b
Introduction34890USE18300 September 2003How Action Modules Respond to Fallback ConditionsFallback ConditionsAdvantys STB output modules are designed t
Introduction890USE18300 September 2003 35When Inputs Fail If an input module on the island bus is providing an input to a reflex block and that input
Introduction36890USE18300 September 2003Nesting Two Reflex BlocksSummary The Advantys configuration software allows you to create one level of nesting
Introduction890USE18300 September 2003 37The Logical OutputsThe output from each block also needs to be assigned a logical output. The logical output
Introduction38890USE18300 September 2003The logical output string assigned to the falling-edge counter output (item 5 above) is in_cmpr. The logical o
Introduction890USE18300 September 2003 39Reflex Action Start-up StatesSummary All reflex blocks are initially at fallback when the island starts up af
4 890USE18300 September 2003Chapter 5 Counter Reflex Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93At a Glance . . . . . .
Introduction40890USE18300 September 2003Reflex Action LED Error StateWhen a reflex block is in error or is not running because all its inputs have not
890USE18300 September 2003 412Boolean Reflex BlocksAt a GlanceOverview This chapter describes three Boolean logic reflex blocks—an exclusive-OR (XOR)
Booleans42890USE18300 September 2003Two-input AND BlocksSummary A two-input AND block performs a logical AND operation on two Boolean operational inpu
Booleans890USE18300 September 2003 43Operational InputsEvery two-input AND block requires two operational input values. Each input is a Boolean 1 or 0
Booleans44890USE18300 September 2003Truth Tables In its simplest form, a two-input AND block looks like this: and an inverted AND (a NAND) block looks
Booleans890USE18300 September 2003 45Inverted Operational InputsOne or both of the operational inputs may be inverted. An inversion is indicated in th
Booleans46890USE18300 September 2003XOR BlocksSummary An XOR block performs an exclusive-OR operation on two Boolean operational inputs. The output fr
Booleans890USE18300 September 2003 47Operational InputsEvery XOR block requires two operational input values. These inputs may come from some combinat
Booleans48890USE18300 September 2003Three-input AND BlocksSummary A three-input AND block performs a logical AND operation on three Boolean operationa
Booleans890USE18300 September 2003 49Operational InputsEvery three-input AND requires three operational input values. Each input is a Boolean 1 or 0.
890USE18300 September 2003 5§Safety InformationImportant InformationNOTICE Read these instructions carefully, and look at the equipment to become fami
Booleans50890USE18300 September 2003Truth Tables In its simplest form, a three-input AND block looks like this: and an inverted AND (a NAND) block loo
Booleans890USE18300 September 2003 51Inverted Operational InputsOne or more of the operational inputs may be inverted. An inversion is indicated in th
Booleans52890USE18300 September 2003When inputs 1 and 2 are both inverted: the truth table yields the following:When input 3 is inverted: the truth ta
Booleans890USE18300 September 2003 53When inputs 1 and 3 are both inverted: the truth table yields the following:When inputs 2 and 3 are both inverted
Booleans54890USE18300 September 2003When all three inputs are inverted: the truth table yields the following:If input 1 is: and input 2 is: and input
890USE18300 September 2003 553Integer Compare Reflex BlocksAt a GlanceOverview This chapter describes four integer compare reflex blocks. Two of these
Integer Compares56890USE18300 September 2003Less-than-threshold Integer Compare BlockSummary A less-than-threshold integer compare performs a comparis
Integer Compares890USE18300 September 2003 57Operational InputA less-than-threshold integer compare block uses one operational input. This input needs
Integer Compares58890USE18300 September 2003Physical Output The block produces as its output a Boolean 1 when the input value is less than threshold -
Integer Compares890USE18300 September 2003 59Greater-than-threshold Integer Compare BlockSummary A greater-than-threshold integer compare block perfor
Safety Information6890USE18300 September 2003PLEASE NOTE All pertinent state, regional, and local safety regulations must be observed when installing
Integer Compares60890USE18300 September 2003Operational InputA greater-than-threshold integer compare block uses one operational input. This input nee
Integer Compares890USE18300 September 2003 61Physical Output The block produces a Boolean 1 as its output when the input value is greater than thresho
Integer Compares62890USE18300 September 2003Inside-the-window Integer Compare BlockSummary An inside-the-window integer compare block performs a compa
Integer Compares890USE18300 September 2003 63Enable Input An inside-the-window integer compare block can be enabled either by a Boolean 1 or an always
Integer Compares64890USE18300 September 2003Delta (∆) You can also add a ∆ value to an inside-the-window compare. The ∆ acts as an hysteresis around t
Integer Compares890USE18300 September 2003 65Physical Output The block produces a Boolean 1 when the input value is inside the window and a Boolean 0
Integer Compares66890USE18300 September 2003Outside-the-window Integer Compare BlockSummary An outside-the-window integer compare block performs a com
Integer Compares890USE18300 September 2003 67Enable Input An outside-the-window integer compare block can be enabled either by a Boolean 1 or an alway
Integer Compares68890USE18300 September 2003Delta (∆) You can also add a ∆ value to an outside-the-window compare, which acts as an hysteresis around
Integer Compares890USE18300 September 2003 69Physical Output The block produces a Boolean 1 when the input value is outside the window and a Boolean
890USE18300 September 2003 7About the BookAt a GlanceDocument Scope This manual describes the individual reflex actions supported by the Advantys conf
Integer Compares70890USE18300 September 2003
890USE18300 September 2003 714Unsigned Compare Reflex BlocksAt a GlanceOverview This chapter describes four unsigned compare reflex blocks. Two of the
Unsigned Compares72890USE18300 September 2003Less-than-threshold Unsigned Compare BlockSummary A less-than-threshold unsigned compare block performs a
Unsigned Compares890USE18300 September 2003 73Operational InputA less-than-threshold unsigned compare block uses one operational input. It must be a w
Unsigned Compares74890USE18300 September 2003Threshold and ∆ You need to enter two values in a compare action, the threshold and the ∆. The threshold
Unsigned Compares890USE18300 September 2003 75Physical Output The block produces a Boolean 1 when the input is less than threshold - ∆ and a Boolean 0
Unsigned Compares76890USE18300 September 2003Greater-than-threshold Unsigned Compare BlockSummary A greater-than-threshold unsigned compare block perf
Unsigned Compares890USE18300 September 2003 77Operational InputA greater-than-threshold unsigned compare block uses one operational input. It must be
Unsigned Compares78890USE18300 September 2003Threshold and ∆ You need to enter two values—threshold and the ∆. The threshold is the value against whic
Unsigned Compares890USE18300 September 2003 79Physical Output The block produces a Boolean 1 when the input is greater than TH + ∆ and a Boolean 0 whe
About the Book8890USE18300 September 2003Product Related WarningsSchneider Electric assumes no responsibility for any errors that may appear in this d
Unsigned Compares80890USE18300 September 2003Inside-the-window Unsigned Compare BlockSummary An inside-the-window unsigned compare block performs a co
Unsigned Compares890USE18300 September 2003 81Enable Input An inside-the-window unsigned compare block can be enabled either by a Boolean 1 or an alwa
Unsigned Compares82890USE18300 September 2003Operational InputAn inside-the-window compare block uses one operational input. It must be a word with an
Unsigned Compares890USE18300 September 2003 83Alternately, if the value of the operational input is less than TH 1 (say, 28 000) or greater than TH 2
Unsigned Compares84890USE18300 September 2003Delta (∆) You can also add a ∆ value to an inside-the-window compare block, which acts as an hysteresis a
Unsigned Compares890USE18300 September 2003 85Physical Output The block produces a Boolean 1 when the input value is within the window and a Boolean 0
Unsigned Compares86890USE18300 September 2003Outside-the-window Unsigned Compare BlockSummary An outside-the-window unsigned compare block performs a
Unsigned Compares890USE18300 September 2003 87Enable Input An outside-the-window unsigned compare block can be enabled either by a Boolean 1 or an alw
Unsigned Compares88890USE18300 September 2003Operational InputAn outside-the-window compare block uses one operational input. It must be a word with a
Unsigned Compares890USE18300 September 2003 89Because the value of the operational input falls inside the window defined by TH 1 and TH 2, the block p
890USE18300 September 2003 91Introduction to Reflex ActionsAt a GlanceOverview This chapter describes the general features and functions of the Advant
Unsigned Compares90890USE18300 September 2003Delta (∆) You can also add a ∆ value to an outside-the-window compare block, which acts as an hysteresis
Unsigned Compares890USE18300 September 2003 91Physical Output The block produces a Boolean 1 when the input value is outside the window and a Boolean
Unsigned Compares92890USE18300 September 2003
890USE18300 September 2003 935Counter Reflex BlocksAt a GlanceOverview This chapter describes two counter reflex blocks that count Boolean inputs eith
Counters94890USE18300 September 2003Falling-edge Counter BlockSummary A falling-edge counter block counts up (increments) or down (decrements) each ti
Counters890USE18300 September 2003 95Counter Preset You must specify the counter preset value before implementing a counter operation. The preset must
Counters96890USE18300 September 2003Enable Input A falling-edge counter block can be enabled either by a Boolean 1 or an always enabled constant. It c
Counters890USE18300 September 2003 97Count Direction InputEvery falling-edge counter block needs to count in a direction—either up or down. Using the
Counters98890USE18300 September 2003Wrap-arounds If an up-counter increments up to 65 535 and does not receive a reset input, it will wrap to 0 and co
Counters890USE18300 September 2003 99Physical Output The output of a falling-edge counter is a word that holds an unsigned integer value in the range
Kommentare zu diesen Handbüchern