Allen-Bradley ProcessLogix 1757 Series Reference Manual

Allen-Bradley ProcessLogix 1757 Series Reference Manual

Function blocks
Table of Contents

Advertisement

ProcessLogix
Function Blocks
1757 Series
Reference Manual
Spare Allen-Bradley Parts

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ProcessLogix 1757 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Allen-Bradley ProcessLogix 1757 Series

  • Page 1 ProcessLogix Function Blocks 1757 Series Reference Manual Spare Allen-Bradley Parts...
  • Page 3 In no event will Allen-Bradley be responsible or liable for indirect or consequential damage resulting from the use or application of these products.
  • Page 4: Local Product Support

    Rockwell Automation Rockwell Automation offers support services worldwide, with over 75 sales/support offices, 512 authorized distributors, and 260 authorized Support systems integrators located throughout the United States alone, plus Rockwell Automation representatives in every major country in the world. Local Product Support Contact your local Rockwell Automation representative for: •...
  • Page 5: Table Of Contents

    1756-IT6I ........2-11 Spare Allen-Bradley Parts...
  • Page 6 Output Module Blocks ......2-12 1756-OA16 ....... . . 2-12 1756-OA16I .
  • Page 7 SWITCH ........3-57 Spare Allen-Bradley Parts...
  • Page 8 viii Sequential Control Module Blocks ....3-59 HANDLER ........3-59 STEP .
  • Page 9: Introduction To Control Builder Components

    Figure 1.2 on page 1-3 shows the physical equipment that relates to the corresponding hardware relations for a typical redundant system. Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 10 Introduction to Control Builder Components Figure 1.1 Physical Equipment reference for corresponding hardware component in typical non-redundant system architecture. 42778 Publication 1757-RM810A-EN-P - May 2002...
  • Page 11 Introduction to Control Builder Components Figure 1.2 Physical Equipment reference for corresponding hardware component in typical redundant system architecture. 42779 Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 12 Introduction to Control Builder Components Physical equipment block types Table identifies the physical equipment block types provided to represent corresponding major control hardware components. The Control Execution Environment (CEE) block is included as one of these block types because of its relationship with the Control Processor, although it is a functional type more than a physical one.
  • Page 13: Functional Relation Category

    Figure 1.3 on page 1-5 shows the general graphic orientation and Windows look-and-feel of Control Builder. Figure 1.3 TypicalView of control module configuration in Control Builder. Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 14 Introduction to Control Builder Components Functional block types Table identifies the functional block types used to represent a group of corresponding function blocks provided in Control Builder. These block types are used as a way to simplify information retrieval for a given function block, and do not necessarily correspond to an actual Control Builder function.
  • Page 15: Component Libraries

    Functional Blocks. Data Acquisition (DATAACQ) Library The Data Acquisition Library includes the DATAACQ function block. A detailed description is given in the following chapter titled Functional Blocks. Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 16: Input/Output Module (Io) Library

    Introduction to Control Builder Components Input/Output Module (IO) Library The Input/Output Module Library includes the Input/Output Module (IOM) function blocks listed in the following table. Blocks are identified by model number. Detailed descriptions are presented in the following chapter titled Functional Blocks. I/O Module Library IOM Function Number of Channels...
  • Page 17: Input/Output Channel (Iochannel) Library

    • LIMIT • OFFDELAY • TRIG • LT • ONDELAY • WATCHDOG • MAX • OR • XOR • MAXPULSE • PULSE • 2OO3 • MIN • QOR • MINPULSE • ROL Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 18: Regulatory Control (Regctl) Library

    1-10 Introduction to Control Builder Components Regulatory Control (REGCTL) library The Regulatory Control Library includes the function blocks listed below. Detailed descriptions are given in the following chapter titled Functional Blocks. • AUTOMAN • PULSECOUNT • FANOUT • PULSELENGTH • OVRDSEL •...
  • Page 19: Controlnet Interoperability (Exchange) Library

    The Profibus Interface Library includes the blocks associated with linking Profibus devices with the ProcessLogix system. Please refer to the Profibus Interface Implementation Guide in Knowledge Builder for complete details about Profibus components. Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 20: 1794 Flex I/O Modules (Rail_Io)

    1-12 Introduction to Control Builder Components 1794 FLEX I/O Modules (RAIL_IO) The 1794 FLEX I/O Module library includes the IOM blocks associated with the 1794 FLEX I/O components designed for use in general purpose locations. Please refer to the 1794 FLEX I/O Implementation Guide in Knowledge Builder for complete details about the 1794 FLEX I/O Modules.
  • Page 21: Physical Equipment Blocks

    RDNSYNCSTATE STATSRESET CEECOMMAND IPADDRESS RDNXFERAVG TOTALMEM CEESTATE MAXFREEBLKSZ RDNXFERMAX TOTALMEMINK CPMCOMMAND MAXFREEINK SCANAREA ULCNBMAC [0..numChans-1] MODISREDUN SCANASSOCDSP USEDMEM CPMSTATE MULREDUNSTAT SCANCTRLLVL USEDMEMINK CPUFREEAVG NETWORKTYPE SCANEUHI USESIM CPUFREEMIN PCMSTATE SCANEULO DESC RAMSCRUBERRS SCANGRPDTL Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 22: Control Execution Environment (Cee)

    Physical Equipment Blocks Control Execution Environment (CEE) Description Provides control functionality for associated Control Processor Module block. This block’s parameters characterize the CEE within the CPM. In the future, multiple CEEs may be assigned to a single CPM. This block always runs at an execution period of 2 seconds. There are two versions of the CEE available, the standard version CEE-50ms, and the fast version CEE-5ms.
  • Page 23: Redundancy Module (Rm)

    LASTSYNCABRT READINESSA SWAPPOSCMD CLKADJUST LASTSYNCARES RECOVMSGIDX SWAPSBYCMD CLKTIME MAJRECFAULT REDUNSTATE SYNCSECCMD CLKZONE MAJURECFAULT REDUNSTATEA ULCNBMAC CONFIGURED MINRECFAULT REFRESHMS VENDORID DISPPOS MINURECFAULT SCANAREA WCTCLKTIME DISQSECCMD MODCOMPATA SCANASSOCDSP DRIVERNAME MODTYPEA SCANCTRLLVL ENTERSBYCMD MULREDUNSTAT SCANEUHI Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 24: Input Module Blocks

    Physical Equipment Blocks Input Module Blocks 1756-IA16 1756-IA16 (16-Channel - 120Vac Non-Isolated - Digital Input) Description Identifies the physical IOM for the CPM to provide links to associated IOC. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 25: 1756-Ia16I

    CHANTEXT HIALM NUMSHUTDOWN SCANPNTDTL COS [0..numChans-1] HWFAULT [0..numChans-1] ORDERINCEE ULCNBMAC DESC INALM ORDERINCM UPDATOPT DLCNBSLOT IOMSLOT PERIOD VENDOR ELOF [0..numChans-1] IOMTYPE PHASE WIREOFF [0..numChans-1] ESTWEIGHT KEYWORD PRODTYPE EUDESC MAJORREV PVVA L [0..numChans-1] Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 26: 1756-Ia8D

    Physical Equipment Blocks 1756-IA8D 8-Channel - 120Vac Diagnostic Input Description Identifies the physical IOM for the CPM to provide links to associated IOC and provides selected diagnostic information for associated channels. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 27: 1756-Ib16D

    NUMDISCONN SCANEUHI ASAERRCODE HIALM NUMSHUTDOWN SCANEULO ASAERRINFO INALM ORDERINCEE SCANGRPDTL CATNUMBER IOMSLOT ORDERINCM SCANPNTDTL CEESTATE IOMTYPE PERIOD ULCNBMAC CHANTEXT KEYWORD PHASE UPDATOPT DESC MAJORREV PRODTYPE VENDOR DLCNBSLOT MINORREV SCANAREA ESTWEIGHT NUMCHANS SCANASSOCDSP Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 28: 1756-Ib16I

    Physical Equipment Blocks 1756-IB16I 116 Channel - 24Vdc Isolated - Digital Input Description Identifies the physical IOM for the CPM to provide links to associated IOC. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 29: 1756-If6I

    NUMDISCONN SCANEUHI ASAERRCODE HIALM NUMSHUTDOWN SCANEULO SCANGRPDTL ASAERRINFO INALM ORDERINCEE CATNUMBER IOMSLOT ORDERINCM SCANPNTDTL CEESTATE IOMTYPE PERIOD ULCNBMAC CHANTEXT KEYWORD PHASE UPDATOPT DESC MAJORREV PRODTYPE VENDOR DLCNBSLOT MINORREV SCANAREA ESTWEIGHT NUMCHANS SCANASSOCDSP Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 30: 1756-Im16I

    2-10 Physical Equipment Blocks 1756-IM16I 6-Channel - 220Vac Isolated - Digital Input Description Identifies the physical IOM for the CPM to provide links to associated IOC. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 31: 1756-It6I

    NUMDISCONN SCANEUHI ASAERRCODE HIALM NUMSHUTDOWN SCANEULO ASAERRINFO INALM ORDERINCEE SCANGRPDTL CATNUMBER IOMSLOT ORDERINCM SCANPNTDTL CEESTATE IOMTYPE PERIOD ULCNBMAC CHANTEXT KEYWORD PHASE UPDATOPT DESC MAJORREV PRODTYPE VENDOR DLCNBSLOT MINORREV SCANAREA ESTWEIGHT NUMCHANS SCANASSOCDSP Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 32: Output Module Blocks

    2-12 Physical Equipment Blocks Output Module Blocks 1756-OA16 116-Channel - 120/220Vac Non-Isolated - Digital Output Description Identifies the physical IOM for the CPM to provide links to associated IOC. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 33: 1756-Oa16I

    DESC IOMTYPE PRODTYPE ULCNBMAC DLCNBSLOT KEYWORD PVSTS UPDATOPT ENOLOAD MAJORREV PVVAL [0..numChans-1] VENDOR [0..numChans-1] MINORREV PWMPERIOD VERIFYLOST ESTWEIGHT NOFIELDPWR [0..numChans-1] [0..numChans-1] ETRANS [0..numChans-1] SAFESTATE EUDESC NOLOAD [0..numChans-1] [0..numChans-1] EVERIFY [0..numChans-1] NUMCHANS SCANAREA Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 34: 1756-Oa8D

    2-14 Physical Equipment Blocks 1756-OA8D 8-Channel - 120Vac- Diagnostic Output Description Identifies the physical IOM for the CPM to provide links to associated IOC and provides selected diagnostic information for associated channels. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 35: 1756-Ob16D

    NUMDISCONN SCANEUHI ASAERRCODE HIALM NUMSHUTDOWN SCANEULO ASAERRINFO INALM ORDERINCEE SCANGRPDTL CATNUMBER IOMSLOT ORDERINCM SCANPNTDTL CEESTATE IOMTYPE PERIOD ULCNBMAC CHANTEXT KEYWORD PHASE UPDATOPT DESC MAJORREV PRODTYPE VENDOR DLCNBSLOT MINORREV SCANAREA ESTWEIGHT NUMCHANS SCANASSOCDSP Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 36: 1756-Ob16I

    2-16 Physical Equipment Blocks 1756-OB16I 16-Channel - 24Vdc Isolated Digital Output Description Identifies the physical IOM for the CPM to provide links to associated IOC. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 37: 1756-Ob32

    DESC IOMTYPE PVSTS UPDATOPT DLCNBSLOT KEYWORD PVVAL [0..numChans-1] VENDOR ENOLOAD MAJORREV PWMPERIOD VERIFYLOST [0..numChans-1] MINORREV [0..numChans-1] [0..numChans-1] ESTWEIGHT NOFIELDPWR SAFESTATE ETRANS [0..numChans-1] [0..numChans-1] EUDESC NOLOAD [0..numChans-1] SCANAREA EVERIFY [0..numChans-1] NUMCHANS SCANASSOCDSP NUMCONN Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 38: 1756-Of6Ci

    2-18 Physical Equipment Blocks 1756-OF6CI 6-Channel - 4 to 20mA - Analog Output Description Identifies the physical IOM for the CPM to provide links to associated IOC. • Defines type of IOM, number of channels, execution state, and communications path for data. Function •...
  • Page 39: 1756-Of8

    FTAAOVRNFL NUMCONN [0..7] SCANEUHI CEESTATE FTAASTS NUMDISCONN [0..7] SCANEULO CHANINUSE [0..31] FTABOVRNFL NUMSHUTDOWN [0..7] SCANGRPDTL CHANSTS [0..31] FTABSTS ORDERINCEE SCANPNTDTL DESC INALM ORDERINCM ULCNBMAC DLCNBSLOT IOMSLOT PERIOD VENDOR ERRCODE [0..31] IOMTYPE PHASE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 40 2-20 Physical Equipment Blocks Publication 1757-RM810A-EN-P - May 2002...
  • Page 41: Functional Blocks

    SCMNAME CEESTATE KEYWORD SCANCTRLLVL SCMOPT CONNLISTSIZE LOADSTATE SCANEUHI SCMSTATE DESC ORDERINCEE SCANEULO TBREF [0..2] ESTWEIGHT ORDERINCM SCANGRPDTL UNITTEXT EUDESC PERIOD SCANPNTDTL VERSION EXECSTATE PHASE SCMASTEP [1..10] HIALM PREVLOADSTAT SCMID INALM SCANAREA SCMMODE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 42: Scm (Sequential Control)

    Functional Blocks SCM (Sequential Control) Description A system container block that consists of sequences of STEP and TRANSITION blocks grouped by specific HANDLER blocks. • The SCM block may only contain its own components (that is, HANDLER, STEP and TRANSITION blocks); it cannot contain other basic blocks such as PID or logic blocks.
  • Page 43: Auxiliary Blocks

    PVSTSFL.MAN CONFIGCODE [1..8] EXECDESC [1..8] PSTS [1..6] PVSTSFL.NORM CONFIGDESC [1..8] EXECSTS PVSTSFL.UNCER CONFIGSTS [1..8] EXECSTS [1..8] PVFORMAT PVSTSSRC CSTS [1..8] EXPR [1..8] PVSRC PVVALSTS DESC EXPRPCODE [1..8] PVSTS EXECCODE [1..8] ORDERINCM PVSTSFL.BAD Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 44 Functional Blocks Table3.A Expression Operators and Functions Reference Operators Description Unary + – Binary Arithmetic + – / MOD (x MOD y) ^ (x^y) Logical AND OR NOT Relational = <> <= >= < > Conditional ? : (For example, X ? Y : Z; similar to IF, THEN, ELSE) Assignment Parenthesis Array Syntax...
  • Page 45: Deadtime

    Delay Type Two types of delay are supported: • Fixed Delay • Variable Delay Parameters DELAYTIME PVSTSFL.BAD DELAYTYPE P1STS PVSTSFL.MAN DESC PVSTSFL.NORM CUTOFF.LM P2STS PVSTSFL.UNCER INITREQ PVVALSTS NUMLOC PVFORMAT DELAYTABLE [1..60] ORDERINCM PVSTS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 46: Genlin (General Linearization)

    Functional Blocks GENLIN (General Linearization) Description Calculates an output value (PV) as a function of the input value (P1) based on a separate function that can be represented by 2 to 13 user-defined coordinates. (You specify the IN and OUT values of each coordinate to make a segment.) The input value (P1) is then compared with the input range of each segment and the output is set at the intersection of the input with the appropriate segment.
  • Page 47: Totalizer

    Stop after a warm restart Parameters ACCDEV.FL [1..4] DELTATIME PVEQN RESETFL ACCDEV.TP [1..4] DESC PVFORMAT RESETVAL ACCTV LASTGOOD PVSTS STARTFL ACCTVFL OLDAV PVSTSFL.BAD STATE ORDERINCM PVSTSFL.MAN STOPFL CMDATTR PVSTSFL.NORM TIMEBASE COMMAND P1STS PVSTSFL.UNCER CUTOFF.LM PVVALSTS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 48: Device Control Block

    Functional Blocks Device Control Block DEVCTL Description Provides multi-input, multi-output function for interfacing to discrete devices such as motors, pumps, solenoid valves and motor-operated valves. The Device Control block contains built-in structures for handling interlocks and supports display of the interlock conditions in group, detail and graphic displays. •...
  • Page 49: Data Acquisition Block

    • XXXX.SV (severity) • XXXX.TP (trip point) • XXXX.CT (alarm count) • Where XXXX stands for one of the following: PVHIALM PVLLALM PVHISIGCHG PVHHALM ROCPOSALM PVLOSIGCHG PVLOALM ROCNEGALM BADPVALM Parameters on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 50: Io Channel Blocks

    3-10 Functional Blocks Parameters ALMDB P1STS PVHIALM.FL PVLOSIGCHG.CT ALMDBU PVHIALM.PR PVLOSIGCHG.TP ALMTM PVAUTO PVHIALM.SV BADPVALM.FL PVAUTOSTS PVHIALM.TM PVSOURCE BADPVALM.PR PVCHAR PVHIALM.TP PVSRCOPT BADPVALM.SV PVEUHI PVHISIGCHG.CT PVSTS DESC PVEULO PVHISIGCHG.TP PVSTSFL.BAD EUDESC PVEXHIFL PVLLALM.DB PVSTSFL.MAN HIALM PVEXHILM PVLLALM.DBU PVSTSFL.NORM HIALM.PR PVEXLOFL PVLLALM.FL PVSTSFL.UNCER HIALM.SV...
  • Page 51: Aochannel

    Prior to loading, block must be “associated” with 1 channel of corresponding IOM block that interfaces with physical Block Digital Input hardware module at execution runtime. Parameters BADCODE FETCHMODE IOCTYPE PVSTS BADPV FREEZETIME IOMCONN PVVAL COMMFAILFL HWFAULT NOFIELDPWR PVVALSTS INBADOPT ORDERINCM UPDATOPT DEBUG IOCNUMBER PVFL WIREOFF EXECCOUNT IOCSTATE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 52: Dochannel

    3-12 Functional Blocks DOCHANNEL Description Generates status output (0 or 1), pulsed output (ON or OFF) for specified pulse time based on origin of input and parameters. • Brings SO or PO from connected blocks and stores value in an associated IOM block. Function •...
  • Page 53: Siflagarrch

    SIFLAGARRCH blocks to use with the FTA A, assign them to SIM block channels 0, 1, 2, and 3 rather than 0, 2, 4, and Parameters ACCLOCK ERRCODE IOCNUMBER PVFL [1..512] AUXDATA [0..7] ERRFL IOCSTATE PVSTS [1..512] BADCODE EXECCOUNT IOCTYPE STARTINDEX BADPVFL FETCHMODE IOMCONN UPDATOPT DEBUG FREEZETIME NFLAG WRITEOPT DEVADDR INITREQ ORDERINCM Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 54: Sinumarrch

    3-14 Functional Blocks SINUMARRCH Description Provides a read/write interface to a Numeric array of data from a serial device. • Reads data from the connected block and writes data to the associated field device. Or, reads data from the Function associated field device and makes it available to the connected block.
  • Page 55: Sitextarrch

    SITEXTARRCH blocks to use with the FTA A, assign them to SIM block channels 0, 1, 2, and 3 rather than 0, 2, 4, and Parameters ACCLOCK ERRFL IOCSTATE STR [1..8] AUXDATA [0..7] EXECCOUNT IOCTYPE STRLEN BADCODE FETCHMODE IOMCONN UPDATOPT BADPVFL FREEZETIME NSTRING WRITEOPT DEBUG INITREQ ORDERINCM DEVADDR IOCNUMBER STARTINDEX ERRCODE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 56: Logic Blocks

    3-16 Functional Blocks Logic Blocks 2OO3 (2 out of 3 voting) Description 2-out-of-3 Voting block – outputs (DISCREP and MAJ) are determined as follows: DISCREP = NOT (IN [1] = IN [2] = IN [3]) for duration >= DELAY MAJ = value held by the majority of the inputs. Function Sets the output (DISCREP) to ON if NOT all inputs agree for a specified time duration (DELAY);...
  • Page 57: Checkbad

    Comparison blocks should set their outputs to Off if any of the inputs are NaN. This “fail safe” behavior is consistent with the IEEE 754 floating point standard. Parameters DEADBAND1 ORDERINCM DEADBAND2 IN [0..2] NUMOFINPUTS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 58: Ftrig (Falling-Edge Trigger)

    3-18 Functional Blocks FTRIG (Falling-edge Trigger) Description Falling-edge Trigger Block -- sets the output (OUT) to ON following the ON-to-OFF transition of the input and stays ON until the next execution cycle, at which time it returns to OFF. Function Provides falling edge change detection, thereby turning the output ON if an ON-to-OFF transition is detected.
  • Page 59: Gt (Greater Than)

    Comparison blocks should set their outputs to Off if any of the inputs are NaN. This “fail safe” behavior is consistent with the IEEE 754 floating point standard. Parameters DEADBAND ORDERINCM IN [0..2] NUMOFINPUTS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 60: Limit

    3-20 Functional Blocks LIMIT Description Provides a 3-input limit function, meaning that it provides an output that is maintained within a specified range as defined by user-specified minimum and maximum values. Function Provides an output that is maintained within a specified range as follows: •...
  • Page 61: Maxpulse

    • If the IN pulse time is greater than the specified PULSEWIDTH time, OUT pulse width tracks IN pulse time, so OUT pulse exceeds specified PULSEWIDTH time. Inputs IN = Boolean value Outputs OUT = Boolean value Parameters ORDERINCM PULSEWIDTH Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 62: Mux (Multiplexer)

    3-22 Functional Blocks MUX (Multiplexer) Description Provides an up to 8-input Extensible Multiplexer algorithm, meaning that it selects 1 of “n” inputs depending on a separate input K. Function Sets the actual output (OUT) to a particular input (IN [1], IN [2], ..., IN [8]) depending on the value of a separate input K. Input K is clamped at 0 and 7.
  • Page 63: Nand

    Comparison blocks should set their outputs to Off if any of the inputs are NaN. This “fail safe” behavior is consistent with the IEEE 754 floating point standard. Parameters DEADBAND1 ORDERINCM DEADBAND2 IN [0..2] NUMOFINPUTS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 64: Noon (N Out Of N Voting)

    3-24 Functional Blocks nOON (n out of N voting) Description n-out-of-N voting block; outputs are computed as follows: • VOTED output is set to ON if at least n inputs are ON, otherwise it is set to OFF. • ORED output is set to ON if any input is ON, otherwise it is set to OFF. •...
  • Page 65: Not

    • No delay is provided when the input goes from the ON state back to the OFF state. Outputs OUT = Boolean value • When the input transitions from the ON state to the OFF state, the output is set to OFF immediately. Parameters DELAYTIME ORDERINCM Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 66: Pulse

    3-26 Functional Blocks Description Provides an up to 8-input OR algorithm, meaning that it performs the inclusive OR Boolean function. Each input (IN [1], IN [2], ..., IN [8]) has the capability of being optionally inverted, if required. Function Turns the digital output (OUT) ON if any one input (IN [1], IN [2], ..., IN [8]) is ON; therefore: If all inputs are OFF, then: OUT = OFF.
  • Page 67: Qor (Qualified Or)

    Used to shift out bits in the output (OUT) by rotating the bits in the input (IN) right by the number of bits (N) specified. OUT = IN right rotated by N bits, circular. If IN is NaN, then, OUT = NaN. Inputs IN = 16-bit integer only Outputs OUT = 16-bit integer Parameters ORDERINCM Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 68: Rs (Reset Dominant Sr-Flip-Flop)

    3-28 Functional Blocks RS (Reset dominant SR-FLIP-FLOP) Description Provides a bistable Reset Dominant flip-flop as defined in the IEC DIS 1131-3 standard. Function Specifies the output (Q) of the flip-flop as a function of the input S (Set), the input R (Reset), and the last state of Q. Truth Table 0 (OFF) 0 (OFF)
  • Page 69: Selreal (Real Selection)

    OUT = IN right shifted by N bits, zero filled on left. If IN is NaN, then, OUT = NaN. Inputs IN = 16-bit integer only Outputs OUT = 16-bit integer Parameters ORDERINCM Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 70: Sr (Set Dominant Sr-Flip-Flop)

    3-30 Functional Blocks SR (Set dominant SR-FLIP-FLOP) Description Provides a bistable Set Dominant flip-flop as defined in the IEC DIS 1131-3 standard. Function Specifies the output (Q) of the flip-flop as a function of the input S (set), the input R (Reset), and the last state of Q. Truth Table 0 (OFF) 0 (OFF)
  • Page 71: Xor

    OPEU = Calculated output in engineering units Note that the default OP connection pin is exposed on the blocks and the implicit/hidden connection function automatically makes the appropriate value/status parameter (OPX/OPEUX) connection when required. More on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 72 3-32 Functional Blocks • CVEUHI and CVEULO define the full range of CV in engineering units. If this block has a secondary, it brings the Output Ranges secondary’s input range through the BACKCALC and sets its CV range to that. If it has no secondary, CVEUHI and CVEULO track its own input range (XEUHI and XEULO).
  • Page 73: Fanout

    If the gain is reversed for one of the outputs, then high windup on that output is the same as low windup on the others. Parameters on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 74 3-34 Functional Blocks Parameters ALMDB HOLDVAL NUMPRI OPSECDATA.ORFBVA ALMDBU INALM NUMPROPREQ OPSECDATA.OROFFS ALMTM INITMAN NUMSEC OPTYPE ARWNET [1..8] INITREQ [1..8] OP [1..8] ORDERINCM ARWOP INITVAL [1..8] OPBIAS [1..8] REDTAG ASTEPID OPBIAS [1..8].FIX RESTARTOPT BADCTLALM.FL K [1..8] OPBIAS [1..8].FLOAT SAFEOP BADCTLALM.PR OPBIAS [1..8].RATE SECINITOPT [1..8] BADCTLALM.SV...
  • Page 75: Ovrdsel(Override Selector)

    • OPEXHILM and OPEXLOLM (user-specified values) define the extended high and low limits for OP as a percent of the CV range. • Operator is prevented from storing an OP value that exceeds these limits. Parameters on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 76 3-36 Functional Blocks Parameters ALMDB HOLDVAL OPEU OPTYPE ALMDBU INALM OPEXHIFL ORBYPASSFL [1..4] ALMTM INITMAN OPEXHILM ORBYPPERM ARWNET [1..8] INITREQ [1..8] OPEXLOFL ORDERINCM ARWOP INITVAL [1..8] OPEXLOLM OROFFSET ASTEPID K [1..4] OPHIALM.DB OROPT BACKCALCCONN LASTMODEREQ OPHIALM.DBU REDTAG BACKCALCIN LASTOPREQ OPHIALM.FL RESTARTOPT BACKCALCOUT [1..4] LASTOPTYPE...
  • Page 77: Pid

    Nonlinear Gain -- control action is proportional to square of error, rather than error itself. External Gain -- gain (K) is modified by input value that can come from the process, another block or user program. Spare Allen-Bradley Parts More on following page...
  • Page 78 3-38 Functional Blocks Direct or Direct action -- increase in error increases output (OP). Reverse Control Reverse action -- increase in error decreases output (OP). Parameters ADVDEVALM.DB ESWFL.MAN NUMPROPREQ PVSTSFL.MAN PVSTSFL.NORM ADVDEVALM.DBU ESWPERM NUMSEC ADVDEVALM.FL EUDESC PVSTSFL.UNCER ADVDEVALM.PR FBORSTS OPBIAS PVTRAKOPT PVVALSTS ADVDEVALM.SV...
  • Page 79: Pidff (Pid Feedforward)

    • Prevents operator from storing SP value outside limits; if primary or user program attempts to store value outside limits, block clamps it to appropriate limit and sets primary’s windup status. More on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 80 3-40 Functional Blocks Outputs Block has following initializable outputs: • OP = Calculated output in percent. • OPEU = Calculated output in engineering units Note that the default OP connection pin is exposed on the blocks and the implicit/hidden connection function automatically makes the appropriate value/status parameter (OPX/OPEUX) connection when required.
  • Page 81 DEVLOALM.TP MODEFL.NORM OPTYPE T1HILM ESWENB MODEPERM ORDERINCM T1LOLM ESWFL.AUTO MODEREQ ESWFL.BCAS MODETRACK PVEUHI T2HILM ESWFL.CAS NLFORM PVEULO T2LOLM ESWFL.MAN NLGAIN PVFORMAT TMOUTFL ESWPERM NORMMODE PVMANOPT TMOUTMODE EUDESC NORMMODEATTR TMOUTTIME FBORSTS NUMONESHOT PVSTS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 82: Posprop (Position Proportional)

    3-42 Functional Blocks POSPROP (Position Proportional) Description Used to pulse two digital output devices (one for raise pulses and another for lower pulses) to drive a process variable (PV) toward its set point (SP). The only valid output destinations are to Digital Output Channel blocks or the Pulse Count and Pulse Length blocks.
  • Page 83 Raise and Lower outputs are both set to OFF (or their normal states) and the cycle time is restarted. Override The POSPROP block does not propagate override feedback data. It ignores any override feedback requests. Feedback Processing Parameters on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 84 3-44 Functional Blocks Parameters ADVDEVALM.DB ESWFL.AUTO MINPULSER RESTARTOPT ADVDEVALM.DBU ESWFL.BCAS MODE SAFEOP ADVDEVALM.FL ESWFL.CAS MODEAPPL [1..4] SAFEOPCMD ADVDEVALM.PR ESWFL.MAN MODEATTR SECINITOPT [1..8] ADVDEVALM.SV ESWPERM MODEATTRFL.NORM SIALM.FL ADVDEVALM.TM EUDESC MODEATTRFL.OPER SIALM.OPT ADVDEVALM.TP EXTRAPULSE MODEATTRFL.PROG SIALM.PR ADVDEVOPT EXTRAPULSETM MODEFL.AUTO SIALM.SV ADVSP FBORSTS MODEFL.BCAS SIFL ADVSPP...
  • Page 85: Pulsecount

    • PODIR = Direction for PO. This output is OFF for a Lower pulse and is ON for a Raise pulse. Parameters ALMDB LOCALMAN POLOWER ALMDBU ORDERINCM POPERIOD ALMTM PDELAYDIRCHG PORAISE INITMAN PULSETIME INITREQ PODIR Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 86: Pulselength

    3-46 Functional Blocks PULSELENGTH Description Generates pulse trains according to its pulse length control algorithm. The pulsed outputs are usually fed to Digital Output Channel blocks. Dual Pulse Length: A control algorithm turns on either a “raise” channel or a “lower” channel after every execution of this algorithm.
  • Page 87: Rampsoak

    This means you can have up to 16 events per profile or a total of 160 events in 10 profiles. Parameters on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 88 3-48 Functional Blocks Parameters ACTRAMPRATE EUDESC MODETRACK OPSECDATA.ORFBVA [1..NUMPROFILES] EVENTBGNTIME NETELAPSEDTM OPSECDATA.OROFFS [1..NUMRAMPSOAK] [1..NUMPROFILES] NORMMODE OPTYPE ACTSOAKTIME [1..NUMEVENTS] NORMMODEATTR ORDERINCM [1..NUMPROFILES] EVENTENDTIME NUMEVENTS PROFILEDESC [1..NUMRAMPSOAK] [1..NUMPROFILES] [1..NUMPROFILES] [1..NUMPROFILES] ACTSOAKVAL [1..NUMEVENTS] NUMONESHOT PROFILEID [1..NUMPROFILES] EVENTFL [1..NUMEVENTS] NUMPRI [1..NUMRAMPSOAK] EVENTSEGID NUMPROFILES PVEUHI ACTSTARTOP [1..NUMPROFILES] NUMPROPREQ...
  • Page 89: Ratiobias

    – feedback value for X1 = ORFBVAL - OPBIAS.FIX -OPBIAS.FLOAT / RT – feedback value for RT = ORFBVAL - OPBIAS.FIX - OPBIAS.FLOAT / X1 override feedback value More on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 90 3-50 Functional Blocks Inputs Required number of inputs is determined by this block’s mode: • If Mode = Cascade, 2 inputs are required – X1 and RT. Both must come from other function blocks. • If Mode = Auto or Man, only X1 is required. X1 must come from another function block; an operator cannot set it. •...
  • Page 91 OPROCPOSFL STOPVAL HIALM.TYPE NUMSEC OPSECDATA.ARWSTS TMOUTFL HOLDOPT OPSECDATA.EUHI TMOUTMODE HOLDRATE OPBIAS OPSECDATA.EULO TMOUTTIME HOLDVAL OPBIAS.FIX OPSECDATA.INITREQ INALM OPBIAS.FLOAT OPSECDATA.INITVAL XEUHI INITMAN OPBIAS.RATE OPSECDATA.ONESHOT XEULO INITREQ [1..8] OPEU OPSECDATA.ORFBVA INITVAL [1..8] OPEXHIFL OPSECDATA.OROFFS Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 92: Regcalc (Regulatory Control Calculator)

    3-52 Functional Blocks REGCALC (Regulatory Control Calculator) • Lets you write up to eight expressions for creating custom algorithms for Calculated Variable (CV) calculations. Description • Provides an interface to windup, initialization and override feedback processing, so you can add user-defined control blocks to your control strategies.
  • Page 93 • You can use all data types in expressions, including enumerations. They are all treated as numeric types. • You must configure calculator expressions contiguously (without breaks) in the arrays. Parameters on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 94 3-54 Functional Blocks Parameters ALMDB GAINLOLM NUMSEC OPSECDATA.ONESHOT ALMDBU HIALM OPSECDATA.ORFBVA ALMTM HIALM.PR OPBIAS OPSECDATA.OROFFS ARWNET [1..8] HIALM.SV OPBIAS.FIX OPTYPE ARWOP HIALM.TYPE OPBIAS.FLOAT ORDERINCM ASTEPID HOLDOPT OPBIAS.RATE ORFBSTSSRC B [1..6] HOLDRATE OPEU ORFBVALSRC BADCTLALM.FL HOLDVAL OPEXHIFL REDTAG BADCTLALM.PR INALM OPEXHILM RESTARTOPT BADCTLALM.SV INITMAN...
  • Page 95: Remcas

    • X1 = initializable input from a remote source. Inputs • X2 = initializable input from backup cascade. • You can configure a description of up to 15 characters for each input. More on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 96 3-56 Functional Blocks • XEUHI and XEULO define the full range of inputs. Input Ranges – XEUHI represents the 100% of full scale value. – XEULO represents the 0% of full scale value. Outputs Block has following initializable outputs: • OP = Calculated output in percent. •...
  • Page 97: Switch

    • XEULO represents the 0% of full scale value. Block provides its input range (XEUHI/XEULO) to the primaries through BACKCALC. The primaries use this for their output range (CVEUHI/CVEULO). More on following page Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 98 3-58 Functional Blocks Outputs Block has the following initializable outputs: • OP = Calculated output in percent. • OPEU = Calculated output in engineering units. – User may specify a fixed bias to be added to the output. – Block calculates floating bias to provide bumpless transition after input switching, initialization or mode change.
  • Page 99: Sequential Control Module Blocks

    – when the SCM block is commanded to invoke the Handler (for example, the STOP command causes the STOP Handler to execute). Function Used to describe, group, and categorize sequential control behavior. Parameters CONFIGCODE EXECCODE HIALM PROCESSED CONFIGDESC EXECDESC INVOKT.HANDLE PRODCODEA CONFIGSTS EXECSTS STATE EUDESC HANDLER ORDERINCM TYPE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 100: Step

    3-60 Functional Blocks STEP Description An SCM block which defines specific output actions. • A specified output action usually generates a request to a control device to do something (for example, open a valve, start a pump, set furnace temperature). •...
  • Page 101: Transition

    C [1..10].CONFIGDESC C [1..10].INVOKFL G [1..4].ALGID NUMCONDS C [1..10].CONFIGSTS G [1..4].FIRSTCOND ORDERINCM C [1..10].DESC CONFIGCODE G [1..4].NUMINPTS PROCESSED C [1..10].EXECCODE CONFIGDESC G [1..4].SO PRODCODEA C [1..10].EXECDESC CONFIGSTS HANDLER C [1..10].EXECSTS DESC HIALM STATE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 102: Utility Blocks

    3-62 Functional Blocks Utility Blocks FLAG Description Provides storage for a single two-state value which can be accessed as a simple Boolean (OFF or ON) value using the PVFL parameter, or as one of two user-configured state values (for example, Running and Stopped) via the PV parameter.
  • Page 103: Message

    Inputs/Outputs PV is only exposed block connection, but you can expose other block parameters through the Configure Block form in Control Builder. Parameters ACCLOCK PVFORMAT ORDERINCM PVHILM PVLOLM Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 104: Numericarray

    3-64 Functional Blocks NUMERICARRAY Description Provides storage for up to 200 floating point values that are accessible through the corresponding PV configuration parameter (PV [n]). Where “n” is the number of the numeric. Function Use outputs (PV [1..200]) as source parameters to provide predefined analog constants to other function blocks. A bad numeric output parameter typically has the value NaN (Not-a-Number).
  • Page 105 INPUTCHGDB. • BOOLVALUEOFF, BOOLVALUEON and ENUMTOBOOLMAP[0..63] behave the same as in the TypeConvert block (see page 3-69). Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 106 3-66 Functional Blocks Table 3.2 PUSH Block Parameter Descriptions Library/Function Parameter Name Description SDENUMTEXT Provides the self-defining enumeration text IN.BOOLEAN BOOLEAN Input Value IN.UINT16 Unsigned 16-bit Integer Value IN.UINT32 Unsigned 32-bit Integer Value IN.INT8 Signed 8-bit Integer Value IN.INT16 Signed 16-bit Integer Value IN.INT32 Signed 32-bit Integer Value IN.FLOAT32...
  • Page 107 CB where a connection of parameters between different data types is allowed. This is also the store status if there is no output connection configured on the PUSH block. Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 108: Textarray

    3-68 Functional Blocks TEXTARRAY Description Provides storage for up to 120 text strings that are accessible through the corresponding string configuration parameter (STR [n]). Where “n” is the number of the text string. • Provides predefined text (STR [1..120]) strings to other blocks. Function •...
  • Page 109: Typeconvert

    IN.ENUM) and outputs (OUT.BOOLEAN, OUT.INT32, OUT.FLOAT64, OUT.ENUM) are exposed by default. Parameters BOOLVALUEOFF IN.FLOAT64 ORDERINCM OUT.INT32 BOOLVALUEON IN.INT8 OUT.BOOLEAN OUT.SDENUM ENUMBOOLMAP [0..63] IN.INT16 OUT.ENUM OUT.UINT16 EXECSTS IN.INT32 OUT.FLOAT32 OUT.UINT32 IN.BOOLEAN IN.SDENUM OUT.FLOAT64 SDENUMTEXT IN.ENUM IN.UINT16 OUT.INT8 THRESHOLD IN.FLOAT32 IN.UINT32 OUT.INT16 TRUNCATEOPT Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 110: Exchange Blocks (Controlnet Interoperability)

    3-70 Functional Blocks Exchange Blocks (ControlNet Interoperability) REQFLAGARRAY (Request Flag Array) Description Provides storage for up to 512 Boolean output flags The value can be accessed as a simple Boolean (Off or On) using the PVFL [n] or PVVALSTS [n] parameters. Where “n” is the number of the flag. •...
  • Page 111: Reqtextarray (Request Text Array)

    They are also not Alarming Blocks and so cannot generate Alarms by themselves. No fragmentation or re-assembly is done either in the blocks themselves. Associated .RSPNUMARRAY and .RSPTEXTARRAY. Block Parameters FILENUM PVFL [0..511] NFLAG PVVALSTS [0..511] ORDERINCM Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 112: Rspnumarray (Response Number Array)

    3-72 Functional Blocks RSPNUMARRAY (Response Number Array) Description The Numeric Array Block is used to read or write an array of up to 64 integer or single precision float values. Function The Response Array function blocks can be used to respond to requests from third-party devices using the PCCC or CIP protocols.
  • Page 113: Pulse Input Channel/Module Blocks

    1757-PIM and Pulse Input Totalizer. Block IOCTYPE SAFEOUTPUT Parameters AVRAW DEBUG IOMCONN AVRAWSTS EDGEDETECT ORDERINCM SOCMDOFF AVSTS EXECCOUNT PULSEMODE SOCMDON BADCODE FETCHMODE TIMEBASE BADSO FREEZETIME PVSTS FREQPERIOD PVVALSTS TVPROC IOCNUMBER RESETFL VOLTAGE Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 114: Pichannel (Pulse Input Channel)

    3-74 Functional Blocks PICHANNEL (Pulse Input Channel) Description Standard interface to channels 0-5 of the Pulse Input IOM function block. Function The three main functions of channels 0-5 are: • Pulse count – both raw count and Engineering Unit converted values •...
  • Page 115: 1757-Pim (Pulse Input Module Block)

    C2 [0..7] IOMTYPE PULSEMODE [0..5] TVPROC [6..7] C3 [0..5] KEYWORD PV [0..7] TVRAW [6..7] CATNUMBER MAJORREV RESETFL [0..7] ULCNBMAC CEESTATE MINORREV SAFEOUTPUT [6..7] VENDOR DESC NUMCHANS SCANAREA VOLTAGE [0..7] DLCNBSLOT NUMCONN SCANASSOCDSP Spare Allen-Bradley Parts Publication 1757-RM810A-EN-P - May 2002...
  • Page 116 3-76 Functional Blocks Publication 1757-RM810A-EN-P - May 2002...
  • Page 117 ___Yes, please call me ___Yes, please email me at __________________________ ___Yes, please contact me via ________________________ Return this form to: Allen-Bradley Marketing Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 Spare Allen-Bradley Parts Phone: 440-646-3176 Fax: 440-646-3525 Email: RADocumentComments@ra.rockwell.com Publication ICCG-5.21- January 2001...
  • Page 118 PLEASE FASTEN HERE (DO NOT STAPLE) Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 1 ALLEN-BRADLEY DR MAYFIELD HEIGHTS OH 44124-9705...
  • Page 119 Spare Allen-Bradley Parts...
  • Page 120 Publication 1757-RM810A-EN-P - May 2002 PN 957603-62 Copyright © 2002 Rockwell Automation. All rights reserved. Printed in the U.S.A.

Table of Contents