Honeywell UMC800 Reference Manual

Rs232 communications
Hide thumbs Also See for UMC800:
Table of Contents

Advertisement

UMC800 Controller
RS232 Communications
Reference Manual
51-52-25-76B
8/99
ATTENTION
THE SOFTWARE WITH THIS MANUAL IS PROVIDED FREE OF CHARGE. IT IS TO
BE USED AS-IS, WITH NO LIABILITY OR SUPPORT FROM HONEYWELL.

Advertisement

Table of Contents
loading

Summary of Contents for Honeywell UMC800

  • Page 1 UMC800 Controller RS232 Communications Reference Manual 51-52-25-76B 8/99 ATTENTION THE SOFTWARE WITH THIS MANUAL IS PROVIDED FREE OF CHARGE. IT IS TO BE USED AS-IS, WITH NO LIABILITY OR SUPPORT FROM HONEYWELL.
  • Page 2 In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The information and specifications in this document are subject to change without notice.
  • Page 3 UMC800 Controller. It provides a descriptive breakdown of the message formats in the data exchange between a computer and the UMC800 controller. There is a Table of Contents listing the accessible function blocks in alphabetical order. Each Function Block includes tables for the dynamic and static parameters that can be accessed through RS232 Communications.
  • Page 4: Table Of Contents

    Contents UMC800-RS232 COMMUNICATIONS..............1 Overview............................1 RS232 PORT PROTOCOL DESCRIPTION............3 Overview............................3 Definition of Error Types .......................3 DLE Insertion and Deletion......................3 CRC..............................4 Sequence Numbering ........................4 Response to Link and Physical Errors ....................4 Reserved Addresses ........................4 Static and Dynamic Parameters ......................4 Anatomy of a Message Packet ......................5 2.10 Message Exchange Examples ......................6...
  • Page 5 Read Contiguous 32-Bit Values ....................28 Read Scattered 32-Bit Values .......................29 Write Scattered 32-Bit Values ......................30 Loopback............................31 Floating Point Format ........................32 4.6.1 IEEE 754 Format ........................32 4.6.2 Mantissa and Sign........................33 4.6.3 Exponent..........................33 4.6.4 Mantissa and Exponent Combination..................34 4.6.5 Reserved Operands ........................34 FUNCTION PARAMETER INDEX REFERENCE ..........35 Parameter Index Numbers......................35 ABS Function Block........................38...
  • Page 6 5.28 HSEL Function Block........................70 5.29 LDLG Function Block ........................71 5.30 LMON Function Block.........................72 5.31 LSEL Function Block ........................73 5.32 LTCH Function Block ........................74 5.33 MATH Function Block.........................75 5.34 MDFL Function Block........................76 5.35 MMA Function Block........................77 5.36 MSF Function Block........................78 5.37 MUL Function Block........................79 5.38 4MUL Function Block........................80 5.39 NEG Function Block........................81 5.40 NOT Function Block ........................82...
  • Page 7 5.66 TGFF Function Block.........................119 5.67 TOT Function Block........................120 5.68 TPO Function Block ........................121 5.69 TPSC (3POS) Function Block ....................122 5.70 TRIG Function Block .........................125 5.71 UPDN Function Block........................126 5.72 VLIM Function Block.........................127 5.73 WTUN Function Block.......................128 5.74 WVAR Function Block ......................129 5.75 XFR Function Block........................130 5.76 XOR Function Block ........................131 5.77 Variables .............................132...
  • Page 8 Tables and Figures Table 2-1 Application Error Codes ______________________________________________________ 12 Table 5-1 Function Block Look-up Table_________________________________________________ 35 Table 5-2 ABS Dynamic Parameters____________________________________________________ 38 Table 5-3 ADD Dynamic Parameters ___________________________________________________ 39 Table 5-4 4ADD Dynamic Parameters __________________________________________________ 40 Table 5-5 AI Dynamic Parameters _____________________________________________________ 41 Table 5-6 AI Static Configuration Parameters ____________________________________________ 41 Table 5-7 ALM Dynamic Parameters ___________________________________________________ 42 Table 5-8 ALM Static Configuration Parameters __________________________________________ 42...
  • Page 9 Table 5-47 4MUL Dynamic Parameters ________________________________________________ 80 Table 5-48 NEG Dynamic Parameters__________________________________________________ 81 Table 5-49 NOT Dynamic Parameters__________________________________________________ 82 Table 5-50 ONDT Dynamic Parameters ________________________________________________ 83 Table 5-51 ONDT Static Parameters ___________________________________________________ 83 Table 5-52 OFDT Dynamic Parameters ________________________________________________ 84 Table 5-53 ONDT Static Parameters ___________________________________________________ 84 Table 5-54...
  • Page 10 Table 5-97 WTUN Dynamic Parameters ________________________________________________ 128 Table 5-98 WVAR Dynamic Parameters ________________________________________________ 129 Table 5-99 XFR Dynamic Parameters __________________________________________________ 130 Table 5-100 XFR Static Configuration Parameters ________________________________________ 130 Table 5-101 XOR Dynamic Parameters_________________________________________________ 131 Table 5-102 Variables _______________________________________________________________ 132 Table 6-1 Block Status Values ________________________________________________________ 134 Figure 4-1 Read Contiguous 32-Bit Request and Response Message Formats ____________________ 28 Figure 4-2...
  • Page 11: Umc800-Rs232 Communications

    Reader assumptions We assume that you have had prior experience with programming and interpreting communications protocols. Also, that you are familiar with UMC800 Controller Function Blocks and the LeaderLine Control Builder Control Strategy Configuration concepts. How to use this manual Use this manual as a reference dictionary of UMC800 controller communications message formats for its application programs.
  • Page 12 Overview RS232 Communications Reference Manual 8/99...
  • Page 13: Rs232 Port Protocol Description

    Protocol Description 2. RS232 Port Protocol Description 2.1 Overview This section of the manual describes the RS-232 “Configuration” port protocol for read/write access to parameters in the UMC 800 Controller. It is intended for those not desiring to use the Microsoft Visual C++ sample driver library provided and wish to use another programming language.
  • Page 14: Crc

    Protocol Description 2.4 CRC The 16 bit cyclic redundancy is computed using a CRC-16 algorithm (as opposed to the CCITT CRC algorithm). It will be placed in the packet LSB first. The check will include everything between the packet header and footer. It will not include any inserted DLE characters. This is because the DLE insertion must protect the CRC in the event that CRC == DLE|STX or CRC == DLE|ETX.
  • Page 15: Anatomy Of A Message Packet

    Protocol Description 2.9 Anatomy of a Message Packet Symbol key: Symbol Value Meaning 0x01 Precedes control characters. 0x02 Start of transmission. 0x03 End of transmission. DADR Destination address. Controller 0xff Host SADR Source address. Controller 0xff Host Sequence number. Cyclic redundancy check. ANAK 0x09 Application level negative acknowledge...
  • Page 16: Message Exchange Examples

    Protocol Description 2.10 Message Exchange Examples 2.10.1 Read Contiguous 32-bit Values Below is an example of a Read Contiguous 32-bit Value message exchange. Example Read of PV, WSP (Working (or active) Set Point), Output, and Mode from the controller assuming the function block number for the PID block is 2 (PID2) starting at Index #9.
  • Page 17 Protocol Description 2.10.1 Read Contiguous 32-bit Values, continued Response Message Controller to Host: (good message) Assume values are PV=1002.4, WSP = 1000.0, output = 10.4, and mode = 4.0 (Local SP, Automatic) Float ing Point IEEE Format 10 02 ff 01 01 09 02 04 44 7a 99 9a 44 7a 00 00 41 26 66 66 40 80 00 00 bf 40 10 03 Dest i nation Address Source Address...
  • Page 18: Read Scattered 32-Bit Values

    Protocol Description 2.10.2 Read Scattered 32-bit Values Below is an example of a Read Scattered 32-bit Value message exchange. Example Read of PV, WSP (Working Set Point), Output, and Mode from the controller assuming the function block number for the PID block is 3 (PID3) plus Read the value of an Analog Input (assume block number is 2) and its failed input status, six parameters total.
  • Page 19 Protocol Description 2.10.2 Read Scattered 32-bit Values, continued Response Message Controller to Host: (good message) Assume values are PV=1002.4, WSP = 1000.0, Output = 10.4, Mode = 4.0 (Local SP, Automatic), AI Input Value = 500, Failed Input = off. Float ing Point IEEE Format D L E S T X...
  • Page 20: Write Scattered 32-Bit Values

    Protocol Description 2.10.3 Write Scattered 32-bit Values Below are examples of a Read Scattered 32-bit Value message exchange. Example 1 Write a local Set Point of 1200.0 to a controller PID block, assuming block number is 3. Request Message 10 02 01 ff 01 01 03 01 00 02 03 01 44 96 00 00 bf40 10 03 Dest i nation Address Source Address...
  • Page 21 Protocol Description 2.10.3 Write Scattered 32-bit Values, continued Example 2: Write the mode of a controller PID block to Man mode, assuming block number is 3. Request Message Write message request from Host to UMC 800: 10 02 01 ff 01 01 03 01 00 02 03 04 3f 80 00 00 bf40 10 03 Dest i nation Address Source Address...
  • Page 22: Application Error Codes

    Protocol Description 2.11 Application Error Codes List of Codes These codes are returned when ANAK is received in the response for a request that is rejected. Table 2-1 Application Error Codes Error Code Definition No Errors Bad Command Bad Operation Bad data for the Command Not Used Busy Doing Command –...
  • Page 23: Sequence Of Operations

    Protocol Description 2.12 Sequence of Operations On Send: 1. Insert address and sequence fields. 2. Calculate and append CRC. 3. Do DLE-insertion. 4. Add packet header and footer. On Receive: 1. Strip packet header and footer. 2. Do DLE-deletion. 3. Verify and strip CRC. 4.
  • Page 24 Protocol Description RS232 Communications Reference Manual 8/99...
  • Page 25: Pc Communication Driver For Rs232 Port

    This section explains how to utilize a Honeywell-supplied communication driver to access controller data on a PC. The user must link the Honeywell supplied code library with a program of their own design using Microsoft Visual C++ Version 5.0. The driver exposes a C++ interface and is useful only with C++ programs.
  • Page 26: For The Programmer - Getting Started Quickly

    PC Communication Driver The Link Layer • Computes/verifies the CRC. • Performs DLE insertion/deletion. • Appends/strips headers and footers. • Traps link level errors (i.e. bad CRC). • Runs the receive polling loop that contains the logic for recognizing packet delimiters. The Physical Layer •...
  • Page 27: Code Sample 1: Instantiation Of A Driver Object On The Stack

    PC Communication Driver 3.2.2 Code sample 1: instantiation of a driver object on the stack #include “Commbase.h” #include “Elnapi.h” void SomeClass::SomeFunction() unsigned char pbyTxMsg[64]; unsigned char pbyRxMsg[64]; int nTxLength; int nRxLength; long lRet; CElnApi CommDriver( “COM2”, // Connect driver to com2. 5000, // 5 sec.
  • Page 28: Code Sample 2: Dynamic Instantiation Of One Of Two Driver Objects On The Heap

    PC Communication Driver Code sample 1: instantiation of a driver object on the stack, continued // Error handling goes here. lRet = CommDriver.ClosePort(); if(lRet) // Error handling goes here. 3.2.3 Code sample 2: dynamic instantiation of one of two driver objects on the heap #include “Commbase.h”...
  • Page 29: Code Sample 3: Error Handling

    PC Communication Driver Code sample 2: dynamic instantiation of one of two driver objects on the heap, continued // Error handling goes here. sprintf(pbyTxMsg, “My dog has fleas.”) lRet = pDriver->OpenPort(); if(lRet) Error handling goes here. Chances are another application has locked out access to the port.
  • Page 30: Multiple Instances Of The Driver In The Same App

    This driver is completely re-entrant. Suppose there are two separate communication interfaces on COM1 and COM2 respectively for two UMC800 controllers. The app can handle this by creating two instances of the driver class and attaching them to separate ports: #include “commapi.h”...
  • Page 31: Managing Multiple Threads

    PC Communication Driver 3.2.7 Managing Multiple Threads Do not pass a pointer to the same CElnApi object to two concurrently running threads. This will defeat the system’s port lockout capability and may cause fatal errors. If you want to do an upload or download as a background routine, spawn a thread, then allow the thread to instantiate a CElnApi object that is attached to the same port as the app’s CElnApi object.
  • Page 32: Anatomy Of A Standard Return Value

    PC Communication Driver API Functions Common To All Drivers, continued long CElnApi::TransCeive(unsigned char* pbyTxMsg, unsigned char* pbyRxMsg, int nMaxTx int nMaxRx, int* pnActualLength, int nUnitAddr); pbyTxMsg: Ptr to the outgoing message. pbyRxMsg: Buffer ptr for incoming message. nMaxTx: Outgoing msg length. nMaxRx: In buffer size.
  • Page 33: Frequently Asked Questions

    PC Communication Driver 3.6 Frequently Asked Questions “Why do I get a stream of zeroes out of the port when I try to write to it?” If the DCB (device control block) of the port has not been written since the computer was booted, you will get garbage out of the port.
  • Page 34 PC Communication Driver Frequently Asked Questions , continued “Can I recompile the source code with a 16-bit compiler?” No. The AFX functions that deal with communications are completely different in the 32-bit world. Some Win32 functions, such as Sleep, don’t exist at all in Win16. You would have to rewrite significant sections of the physical layer.
  • Page 35 PC Communication Driver Frequently Asked Questions , continued The implementation of these functions in the DLL would look like this: CCommBase* CElnApi::Factory(…) // Static function CCommBase* pDriver = new CElnApi(…); Return pDriver; void CElnApi::Destroy() delete this; Note: The Destroy function looks dangerous due to its self-destructive nature, but this is actually standard practice.
  • Page 36 PC Communication Driver RS232 Communications Reference Manual 8/99...
  • Page 37: Application Layer Message Formats

    Write Scattered 32-bit Values • Loopback Block Parameters The location or address for data in the UMC800 controller consists of a Table Type, a Block Number, and an Index Number. Table Type identifies whether it’s a Dynamic (I/O) parameters or Static (configuration) parameters.
  • Page 38: Read Contiguous 32-Bit Values

    Message Exchange Formats 4.2 Read Contiguous 32-Bit Values Introduction Figure 4-1 shows the Read request and response format for Function Code 2 - Contiguous 32-Bit values. This operation lets you read a list of 32-Bit values from a specific block given the starting index number and the number of values involved.
  • Page 39: Read Scattered 32-Bit Values

    Message Exchange Formats 4.3 Read Scattered 32-Bit Values Introduction Figure 4-2 shows the Read request and response format for Function Code 3 - Scattered 32-Bit values. This operation lets you read 32-Bit values from a specific block given the index numbers and the number of values involved.
  • Page 40: Write Scattered 32-Bit Values

    Message Exchange Formats 4.4 Write Scattered 32-Bit Values Introduction Figure 4-3 shows the Write request and response format for Function Code 3 - Scattered 32-Bit values. This operation lets you write 32-Bit values to a specific block given the index numbers and the number of values involved.
  • Page 41: Loopback

    Message Exchange Formats 4.5 Loopback Introduction Figure 4-4 shows the Request and Response format for Function Code 250 - Loopback Test. This operation lets you echo back a string of bytes from the controller to the Host. Message Formats Figure 4-4 Loopback Request and Response Message Formats Header Byte 1 Byte 2...
  • Page 42: Floating Point Format

    Message Exchange Formats 4.6 Floating Point Format Floating point format is per the IEEE Standard for Binary Floating Point Arithmetic (TASK P754). This format conforms to that of the Unit’s Math Firmware and/or Co-Processor. 4.6.1 IEEE 754 Format The Floating Point data format consists of four contiguous bytes containing a 23-bit signed binary mantissa with an 8-bit biased binary exponent.
  • Page 43: Mantissa And Sign

    Message Exchange Formats 4.6.2 Mantissa and Sign The mantissa is defined by a sign bit (31) and a 23-bit binary fraction. This binary fraction is combined with an “implied” value of 1 to create a mantissa value which is greater than or equal to 1.0 and less than 2.0. The mantissa is positive if the sign bit is zero (reset), and negative if the sign bit is one (set).
  • Page 44: Mantissa And Exponent Combination

    Message Exchange Formats 4.6.4 Mantissa and Exponent Combination Combining the mantissa and exponent from the two previous examples: exponent float number = mantissa x 2 = 15625 float number = 1.5625 x 2 x 64 = 100.0 Below is a list of sample float values in IEEE 754 format: DECIMAL HEXADECIMAL 100.0...
  • Page 45: Function Parameter Index Reference

    Function Parameter Index Reference 5. Function Parameter Index Reference 5.1 Parameter Index Numbers Function Block parameter tables Refer to the tables listed below to find the correct Dynamic (I/O) or Static (Configuration) parameter index number for a given function block that is to be accessed through a communications message. Abbreviations The abbreviations used in the tables are: REAL...
  • Page 46 Function Parameter Index Reference DEWP (Dewpoint) 5.18 5.19 (Digital Input) (Division) 5.20 (Digital Output) 5.21 (Digital Switch) 5.22 FGEN (Function Generator) 5.23 5.24 (Four Selector Switch) FSYS (System Monitor-Fast Logic) 5.25 5.26 HLLM (High-Low Limiter) HMON (High Monitor) 5.27 HSEL (High Selector) 5.28 LDLG (Lead Lag) 5.29...
  • Page 47 Function Parameter Index Reference (Setpoint Programmer) 5.56 5.57 (Setpoint Scheduler) SPSA (Setpoint Scheduler Auxiliary Setpoint) 5.58 STFL (Setpoint Scheduler State Flag) 5.59 STSW (Setpoint Scheduler State Switch) 5.60 SQRT (Square Root) 5.61 5.62 (Subtraction - 2 Inputs) 4SUB (Subtraction - 4 Inputs) 5.63 5.64 (Analog Switch)
  • Page 48: Abs Function Block

    Function Parameter Index Reference 5.2 ABS Function Block Description The ABS label stands for Absolute Value. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-2 ABS Dynamic Parameters Parameter Index Type...
  • Page 49: Add Function Block

    Function Parameter Index Reference 5.3 ADD Function Block Description The ADD label stands for Addition Mathematical Operation (2 Inputs). This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-3 ADD Dynamic Parameters Parameter Index...
  • Page 50: Table 5-4 4Add Dynamic Parameters

    Function Parameter Index Reference 5.4 4ADD Function Block Description The 4ADD label stands for Addition Mathematical Operation (4 Inputs). This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-4 4ADD Dynamic Parameters Parameter Index...
  • Page 51: Ai Function Block

    Function Parameter Index Reference 5.5 AI Function Block Description The AI label stands for Analog Input. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-5 AI Dynamic Parameters Parameter Index Type...
  • Page 52: Alm Function Block

    Function Parameter Index Reference 5.6 ALM Function Block Description The ALM label stands for the Analog Alarm function. This block is part of the Alarms/Monitor category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-7 ALM Dynamic Parameters Parameter Index Type...
  • Page 53: 2And Function Block

    Function Parameter Index Reference 5.7 2AND Function Block Description The 2AND label stands for the AND Boolean function (2 Inputs). This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-9...
  • Page 54: 4And Function Block

    Function Parameter Index Reference 5.8 4AND Function Block Description The 4AND label stands for the AND Boolean function (4 Inputs). This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-10 4AND Dynamic Parameters...
  • Page 55: 8And Function Block

    Function Parameter Index Reference 5.9 8AND Function Block Description The 8AND label stands for the AND Boolean function (8 Inputs). This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-11 8AND Dynamic Parameters...
  • Page 56: Amb Function Block

    Function Parameter Index Reference 5.10 AMB Function Block Description The AMB label stands for Auto/Manual Bias Function. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Values: Table 5-12 AMB Dynamic Values Parameter Index Type...
  • Page 57: Table 5-13 Amb Static Configuration Values

    Function Parameter Index Reference Static Configuration Values: Table 5-13 AMB Static Configuration Values Parameter Index Type Description pv_hi REAL pv High Range value -5 to 105% pv_lo REAL pv Low Range value –5 to 105% outhilim REAL output high limit, -5 to 105 outlolim REAL output low limit, -5 to 105...
  • Page 58: Ao Function Block

    Function Parameter Index Reference 5.11 AO Function Block Description The AO label stands for Analog Output. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-14 AO Dynamic Parameters Parameter Index Type...
  • Page 59: Asys Function Block

    Function Parameter Index Reference 5.12 ASYS Function Block Description The Analog System Status Block (ASYS) is a function block and is part of the Alarm/Monitor category. It provides read access to controller status values including those related to the Analog execution cycle. The output may be connected to function block inputs.
  • Page 60 Function Parameter Index Reference BAD_BLOCK BOOL ON = one or more blocks have bad status RUNMODE BOOL ON = run mode is active PRGMODE BOOL ON = program mode is active MIN_PER_TICK REAL minutes per OS tick CODE_REV REAL code revision number REALTIME_OFF REAL Number of seconds the controller was powered down.*...
  • Page 61: Bcd Function Block

    Function Parameter Index Reference 5.13 BCD Function Block Description The BCD label stands for Binary Coded Decimal Translator. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-16 BCD Dynamic Parameters Parameter Index Type...
  • Page 62: Bool Function Block

    Function Parameter Index Reference 5.14 BOOL Function Block Description The BOOL label stands for Free Form Logic. This block is part of the Logic category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-17 BOOL Dynamic Parameters Parameter Index Type...
  • Page 63: Carb Function Block

    Function Parameter Index Reference 5.15 CARB Function Block Description The CARB label stands for Carbon Potential. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-18 CARB Dynamic Parameters Parameter Index Type...
  • Page 64: Table 5-19 Carb Static Configuration Parameters

    Function Parameter Index Reference REAL Feed Forward Value (%) REAL Output Track Value (%) BOOL Output Track Command {OFF, ON} REAL Back Calculation Input (%) BIAS REAL Remote bias value for ratio PID Temperature input (°F or °C per USE_METRIC) TEMP REAL REAL...
  • Page 65 Function Parameter Index Reference use_rpm BOOL Use minutes (0) or repeats per minute (1) for integral constant sp_rate_dn REAL Set point low rate of change limit, 0 (off) to 99999 (eu/min) sp_rate_up REAL Set point high rate of change limit, 0 (off) to 99999 (eu/min) FF_GAIN REAL Feed forward gain, 0.0 to 10.0...
  • Page 66: Cmpr Function Block

    Function Parameter Index Reference 5.16 CMPR Function Block Description The CMPR label stands for Comparison Calculation. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-20 CMPR Dynamic Parameters Parameter Index Type...
  • Page 67: Dcmp Function Block

    Function Parameter Index Reference 5.17 DCMP Function Block Description The DCMP label stands for Deviation Compare. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-21 DCMP Dynamic Parameters Parameter Index Type...
  • Page 68: Dewp Function Block

    Function Parameter Index Reference 5.18 DEWP Function Block Description The DEWP label stands for Dewpoint Calculation. This block is part of the Calculations category. It looks like this graphically on the Control builder. Dynamic Parameters: Table 5-23 DEWP Dynamic Parameters Parameter Index Type...
  • Page 69: Di Function Block

    Function Parameter Index Reference 5.19 DI Function Block Description The DI label stands for Discrete Input. This block is part of the Logic or Fast Logic categories. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-25 DI Dynamic Parameters Parameter Index...
  • Page 70: Div Function Block

    Function Parameter Index Reference 5.20 DIV Function Block Description The DIV label stands for Division Mathematical operation. This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-26 DIV Dynamic Parameters Parameter Index Type...
  • Page 71: Do Function Block

    Function Parameter Index Reference 5.21 DO Function Block Description The DO label stands for Digital Output. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-27 DO Dynamic Parameters Parameter Index...
  • Page 72: Dsw Function Block

    Function Parameter Index Reference 5.22 DSW Function Block Description The DSW label stands for Digital Switch. This block is part of the Logic or Fast Logic categories. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-28 DSW Dynamic Parameters Index Parameter...
  • Page 73: Fgen Function Block

    Function Parameter Index Reference 5.23 FGEN Function Block Description The FGEN label stands for Function Generator - 10 Segment. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder: Dynamic Parameters: Table 5-29 FGEN Dynamic Parameters Parameter Index Type...
  • Page 74 Function Parameter Index Reference yb[3] REAL output value at x breakpoint 4 (-99999 to 999999) yb[4] REAL output value at x breakpoint 5 (-99999 to 999999) yb[5] REAL output value at x breakpoint 6 (-99999 to 999999) yb[6] REAL output value at x breakpoint 7 (-99999 to 999999) yb[7] REAL output value at x breakpoint 8 (-99999 to 999999)
  • Page 75: Fss Function Block

    Function Parameter Index Reference 5.24 FSS Function Block Description The FSSlabel stands for Four-Selector Switch. This block is part of the Logic category. It looks like this graphically on the Control Builder: Dynamic Parameters: Table 5-31 FSS Dynamic Parameters Index Parameter Type Description...
  • Page 76 Function Parameter Index Reference Index Parameter Type Description BOOL Bank C output #4 BOOL Bank D output #1 BOOL Bank D output #2 BOOL Bank D output #3 BOOL Bank D output #4 Reset BOOL Off to On requests a reset state Static Configuration Parameters: None RS232 Communications Reference Manual...
  • Page 77: Fsys Function Block

    Function Parameter Index Reference 5.25 FSYS Function Block Description The Fast Logic Status Block (FSYS) is a function block and is part of the Fast Logic category. It provides read access to controller status values including those related to the Fast Logic execution cycle. The output may be connected to function block inputs.
  • Page 78: Hllm Function Block

    Function Parameter Index Reference 5.26 HLLM Function Block Description The HLLM label stands for High Low Limiter. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder: Dynamic Parameters: Table 5-33 HLLM Dynamic Parameters Parameter Index Type...
  • Page 79: Hmon Function Block

    Function Parameter Index Reference 5.27 HMON Function Block Description The HMON label stands for High Monitor. This block is part of the Alarm/Monitor category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-35 HMON Dynamic Parameters Parameter Index Type...
  • Page 80: Hsel Function Block

    Function Parameter Index Reference 5.28 HSEL Function Block Description The HSEL label stands for High Selector. This block is part of the Signal Selectors category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-36 HSEL Dynamic Parameters Parameter Index Type...
  • Page 81: Ldlg Function Block

    Function Parameter Index Reference 5.29 LDLG Function Block Description The LDLG label stands for Lead/Lag. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-37 LDLG Dynamic Parameters Parameter Index Type Description...
  • Page 82: Lmon Function Block

    Function Parameter Index Reference 5.30 LMON Function Block Description The LMON label stands for Low Monitor. This block is part of the Alarm/Monitor category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-38 LMON Dynamic Parameters Parameter Index Type...
  • Page 83: Lsel Function Block

    Function Parameter Index Reference 5.31 LSEL Function Block Description The LSEL label stands for Low Selector. This block is part of the Signal Selectors category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-39 LSEL Dynamic Parameters Parameter Index Type...
  • Page 84: Ltch Function Block

    Function Parameter Index Reference 5.32 LTCH Function Block Description The LTCH label stands for Latch. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-40 LTCH Dynamic Parameters Parameter Index Type...
  • Page 85: Math Function Block

    Function Parameter Index Reference 5.33 MATH Function Block Description The MATH label stands for Free Form Math. This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-41 MATH Dynamic Parameters Parameter Index Type...
  • Page 86: Mdfl Function Block

    Function Parameter Index Reference 5.34 MDFL Function Block Description The MDFL label stands for Mode Flag. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-42 MDFL Dynamic Parameters Parameter Index Type...
  • Page 87: Mma Function Block

    Function Parameter Index Reference 5.35 MMA Function Block Description The MMA label stands for Min-Max-Average-Sum. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-43 MMA Dynamic Parameters Parameter Index Type Description...
  • Page 88: Msf Function Block

    Function Parameter Index Reference 5.36 MSF Function Block Description The MSF label stands for Mass Flow Calculation. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-44 MSF Dynamic Parameters Parameter Index Type...
  • Page 89: Mul Function Block

    Function Parameter Index Reference 5.37 MUL Function Block Description The MUL label stands for Multiplication Mathematical Operation (2 Inputs). This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-46 MUL Dynamic Parameters Parameter Index Type...
  • Page 90: Table 5-47 4Mul Dynamic Parameters

    Function Parameter Index Reference 5.38 4MUL Function Block Description The 4MUL label stands for Multiplication Mathematical Operation (4Inputs). This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-47 4MUL Dynamic Parameters Parameter Index Type...
  • Page 91: Neg Function Block

    Function Parameter Index Reference 5.39 NEG Function Block Description The NEG label stands for Negate. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-48 NEG Dynamic Parameters Parameter Index Type Description...
  • Page 92: Not Function Block

    Function Parameter Index Reference 5.40 NOT Function Block Description The NOT label stands for the NOT Boolean logic function or Logic Inverter. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-49 NOT Dynamic Parameters...
  • Page 93: Ondt Function Block

    Function Parameter Index Reference 5.41 ONDT Function Block Description The ONDT label stands for the On Delay Timer. This block is part of the Fast Logic category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-50 ONDT Dynamic Parameters Parameter Index Type...
  • Page 94: Ofdt Function Block

    Function Parameter Index Reference 5.42 OFDT Function Block Description The OFDT label stands for the Off Delay Timer. This block is part of the Fast Logic category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-52 OFDT Dynamic Parameters Parameter Index Type...
  • Page 95: On/Off Function Block

    Function Parameter Index Reference 5.43 ON/OFF Function Block Description The ON/OFF label stands for the On/Off Control function. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-54 ON/OFF Dynamic Parameters Parameter Index Type...
  • Page 96: Table 5-55 On/Off Static Configuration Parameters

    Function Parameter Index Reference Static Configuration Parameters: Table 5-55 ON/OFF Static Configuration Parameters Parameter Index Type Description pv_hi REAL pv High Range value –99999 to 99999 (default 100) pv_lo REAL pv Low Range value –99999 to 99999 (default 0) sp_hi_lim REAL set point high limit, -99999 to 99999 (default 100) sp_lo_lim...
  • Page 97: 2Or Function Block

    Function Parameter Index Reference 5.44 2OR Function Block Description The 2OR label stands for the inclusive OR (2 Inputs) Boolean logic function. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-56 2OR Dynamic Parameters...
  • Page 98: Table 5-57 4Or Dynamic Parameters

    Function Parameter Index Reference 5.45 4OR Function Block Description The 4OR label stands for the inclusive OR (4 Inputs) Boolean logic function. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-57 4OR Dynamic Parameters...
  • Page 99: Table 5-58 8Or Dynamic Parameters

    Function Parameter Index Reference 5.46 8OR Function Block Description The 8OR label stands for the inclusive OR (8 Inputs) Boolean logic function. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-58 8OR Dynamic Parameters...
  • Page 100: Pid Function Block

    Function Parameter Index Reference 5.47 PID Function Block Description The PID label stands for Proportional, Integral, Derivative (3-mode) control action. This block is part of the Loops category. It looks like this graphically on the Control Builder. INPUT - PV OTHER INPUTS OTHER OUTPUTS Remote Set Point Signal (Eng.
  • Page 101: Table 5-60 Pid Static Configuration Parameters

    Function Parameter Index Reference REAL Back Calculation Out (%) BOOL Auto Tune Indicator. ON = Auto Tune in progress REAL Process Variable Input (eu) (pv_lo <= PV <= pv_hi) REAL Remote Set Point (% or eu per sp_units) REAL Feed Forward Value (%) REAL Output Track Value (%) BOOL...
  • Page 102 Function Parameter Index Reference RESET2 REAL integration time, 0 or 0.02 to 50 (minutes) or repeats per minute, 0 or 50 to 0.02 (repeats) [Tune Set 2] use_propband BOOL Use Gain (0) or Proportional Band (1) use_rpm BOOL Use minutes (0) or repeats per minute (1) for integral constant sp_rate_dn REAL Set point low rate of change limit, 0 (off) to 99999 (eu/min)
  • Page 103: Ptmr Function Block

    Function Parameter Index Reference 5.48 PTMR Function Block Description The PTMR label stands for Periodic Timer. This block is part of the Logic category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-61 PTMR Dynamic Parameters Parameter Index Type...
  • Page 104: Rcp Function Block

    Function Parameter Index Reference 5.49 RCP Function Block Description The RCP label stands for Recipe Selector. This block is part of the Setpoint Program category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-62 RCP Dynamic Parameters Parameter Index Type...
  • Page 105: Rh Function Block

    Function Parameter Index Reference 5.50 RH Function Block Description The RH label stands for Relative Humidity. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-63 RH Dynamic Parameters Parameter Index Type...
  • Page 106: Roc Function Block

    Function Parameter Index Reference 5.51 ROC Function Block Description The ROC label stands for Rate of Change. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-64 ROC Dynamic Parameters Parameter Index Type...
  • Page 107: Rsw Function Block

    Function Parameter Index Reference 5.52 RSW Function Block Description The RSW label stands for Rotary Switch. This block is part of the Signal Selectors category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-66 RSW Dynamic Parameters Parameter Index Type...
  • Page 108: Rtmr Function Block

    Function Parameter Index Reference 5.53 RTMR Function Block Description The RTMR label stands for Resettable Timer. This block is part of the Counters/Timers category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-67 RTMR Dynamic Parameters Parameter Index Type...
  • Page 109: Table 5-68 Rtmr Static Configuration Parameters

    Function Parameter Index Reference Static Configuration Parameters: Table 5-68 RTMR Static Configuration Parameters Parameter Index Type Description lpres REAL Local preset (0.0 – 99999.9) if count-up then Stop value in seconds if count-down then Start value in seconds remote BOOL ON = use Remote Preset, OFF = use Local Preset use_preload BOOL...
  • Page 110: Scb Function Block

    Function Parameter Index Reference 5.54 SCB Function Block Description The SCB label stands for Scale and Bias. This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-69 SCB Dynamic Parameters Parameter Index Type...
  • Page 111: Spev Function Block

    Function Parameter Index Reference 5.55 SPEV Function Block Description The SPEV label stands for Setpoint Programming Events. This block is part of the Setpoint Program category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-70 SPEV Dynamic Parameters Parameter Index Type...
  • Page 112 Function Parameter Index Reference BOOL event 10 BOOL event 11 BOOL event 12 BOOL event 13 BOOL event 14 BOOL event 15 BOOL event 16 REAL program state REAL current segment number REAL current program number Static Configuration Parameters: None RS232 Communications Reference Manual 8/99...
  • Page 113: Spp Function Block

    Function Parameter Index Reference 5.56 SPP Function Block Description The SPP label stands for Setpoint Programmer. This block is part of the Setpoint Program category. It looks like this graphically on the Control Builder. Dynamic Contained Parameters: Table 5-71 SPP Dynamic Contained Parameters Parameter Index Type...
  • Page 114: Table 5-72 Spp Dynamic Output Parameters

    Function Parameter Index Reference fRestartRamp REAL ramp rate to use when power down restart is in effect fJogSeg REAL segment jumped to on a pulse to JOG input fLoopStart REAL first segment in a loop – 0->no loop fLoopEnd REAL last segment in a loop –...
  • Page 115: Table 5-73 Spp Dynamic Input Parameters

    Function Parameter Index Reference Dynamic Input Parameters: Table 5-73 SPP Dynamic Input Parameters Parameter Index Type Description REAL process variable (EU), for deviation check REAL process variable (EU), for deviation check REAL process variable (EU), for deviation check REAL process variable (EU), for deviation check NPGM REAL program number (when SET is ON)
  • Page 116: Sps Function Block

    Function Parameter Index Reference 5.57 SPS Function Block Description The SPS label stands for Master Setpoint Scheduler. This block is part of the Setpoint Scheduler category. It looks like this graphically on the Control Builder. Dynamic Contained Parameters: Table 5-74 SPS Dynamic Contained Parameters Parameter Index Type...
  • Page 117 Function Parameter Index Reference fGuarLimit[8] 30-37 REAL guaranteed soak low/high limit fJogSeg REAL segment jumped to on a pulse to JOG input 8/99 RS232 Communications Reference Manual...
  • Page 118: Table 5-75 Sps Dynamic Output Parameters

    Function Parameter Index Reference Dynamic Output Parameters: Table 5-75 SPS Dynamic Output Parameters Parameter Index Type Description REAL program state {N/A, RESET, RUN, HOLD, GHOLD, STOP} REAL current segment number REAL current program number REAL Setpoint #1 output ( EU) REAL Setpoint #2 output ( EU) REAL...
  • Page 119: Table 5-77 Sps Static Configuration Parameters

    Function Parameter Index Reference Static Configuration Parameters: Table 5-77 SPS Static Configuration Parameters Index Parameter Type Description 0 - 7 failsafe[8] REAL failsafe setpoint, value (eu) 8/99 RS232 Communications Reference Manual...
  • Page 120: Spsa Function Block

    Function Parameter Index Reference 5.58 SPSA Function Block Description The SPSA label stands for Setpoint Scheduler Auxiliary Setpoint Block. This block is part of the Setpoint Schedulercategory. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-78 SPSA Dynamic Parameters Parameter Index Type...
  • Page 121 Function Parameter Index Reference Static Configuration Parameters: None 8/99 RS232 Communications Reference Manual...
  • Page 122: Stfl Function Block

    Function Parameter Index Reference 5.59 STFL Function Block Description The STFL label stands for the Setpoint Scheduler State Flags. This block is part of the Setpoint Scheduler category. It looks like this graphically on the Control Builder. Dynamic Values: Table 5-79 STFL Dynamic Values Parameter Index Type...
  • Page 123: Stsw Function Block

    Function Parameter Index Reference 5.60 STSW Function Block Description The STSW label stands for the Setpoint Scheduler State Switch. This block is part of the Setpoint Scheduler category. It looks like this graphically on the Control Builder. Dynamic Values: Table 5-80 STSW Dynamic Values Parameter Index Type...
  • Page 124: Sqrt Function Block

    Function Parameter Index Reference 5.61 SQRT Function Block Description The SQRT label stands for Square Root. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-81 SQRT Dynamic Parameters Parameter Index Type...
  • Page 125: Sub Function Block

    Function Parameter Index Reference 5.62 SUB Function Block Description The SUB label stands for the Subtraction mathematical operation (2 Inputs). This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-82 SUB Dynamic Parameters Parameter Index Type...
  • Page 126: 4Sub Function Block

    Function Parameter Index Reference 5.63 4SUB Function Block Description The 4SUB label stands for the Subtraction mathematical operation (4 Inputs). This block is part of the Math category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-83 4SUB Dynamic Parameters Parameter Index Type...
  • Page 127: Sw Function Block

    Function Parameter Index Reference 5.64 SW Function Block Description The SW label stands for Analog Switch. This block is part of the Signal Selectors category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-84 SW Dynamic Parameters Parameter Index Type...
  • Page 128: Tahd Function Block

    Function Parameter Index Reference 5.65 TAHD Function Block Description The TAHD label stands for Track and Hold. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-85 TAHD Dynamic Parameters Parameter Index Type...
  • Page 129: Tgff Function Block

    Function Parameter Index Reference 5.66 TGFF Function Block Description The TGFF label stands for Toggle Flip-Flop. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-86 TGFF Dynamic Parameters Parameter Index...
  • Page 130: Tot Function Block

    Function Parameter Index Reference 5.67 TOT Function Block Description The TOT label stands for Totalizer. This block is part of the Calculations category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-87 TOT Dynamic Parameters Parameter Index Type Description...
  • Page 131: Tpo Function Block

    Function Parameter Index Reference 5.68 TPO Function Block Description The TPO label stands for Time Proportional Output. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-89 TPO Dynamic Parameters Parameter Index Type...
  • Page 132: Tpsc (3Pos) Function Block

    Function Parameter Index Reference 5.69 TPSC (3POS) Function Block Description The TPSC (3POS) label stands for Three Position Step Control operation. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-90 TPSC Dynamic Parameters Parameter Index...
  • Page 133: Table 5-91 Tpsc Static Configuration Parameters

    Function Parameter Index Reference BOOL Alarm 1 BOOL Alarm 2 REAL Back Calculation Out (%) BOOL Auto Tune Indicator. ON = Auto Tune in progress REAL Process Variable Input (eu) (pv_lo <= PV <= pv_hi) REAL Remote Set Point (% or eu per sp_units) REAL Output Track Value (%) BOOL...
  • Page 134 Function Parameter Index Reference use_rpm BOOL Use minutes (0) or repeats per minute (1) for integral constant sp_rate_dn REAL Set point low rate of change limit, 0 (off) to 99999 (eu/min) sp_rate_up REAL Set point high rate of change limit, 0 (off) to 99999 (eu/min) RATIO REAL Gain value for Ratio PID (-20 to 20) (default 1) [ used when RA_BIAS...
  • Page 135: Trig Function Block

    Function Parameter Index Reference 5.70 TRIG Function Block Description The TRIG label stands for Trigger or “One Shot” operation. This block is part of the Logic or Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-92 TRIG Dynamic Parameters Parameter...
  • Page 136: Updn Function Block

    Function Parameter Index Reference 5.71 UPDN Function Block Description The UPDN label stands for UP/DOWN Counter. This block is part of the Logic category. It looks like this graphically on the Control Builder: Dynamic Parameters: Table 5-93 UPDN Dynamic Parameters Parameter Index Type...
  • Page 137: Vlim Function Block

    Function Parameter Index Reference 5.72 VLIM Function Block Description The VLIM label stands for Velocity (Rate) Limiter. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-95 VLIM Dynamic Parameters Parameter Index Type...
  • Page 138: Wtun Function Block

    Function Parameter Index Reference 5.73 WTUN Function Block Description The WTUN label stands for Write Tuning Constants. This block is part of the Loops category. It looks like this graphically on the Control Builder. Dynamic Values Table 5-97 WTUN Dynamic Parameters Parameter Index Type...
  • Page 139: Wvar Function Block

    Function Parameter Index Reference 5.74 WVAR Function Block Description The WVAR label stands for Write Variable. This block is part of the Auxiliary category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-98 WVAR Dynamic Parameters Parameter Index Type...
  • Page 140: Xfr Function Block

    Function Parameter Index Reference 5.75 XFR Function Block Description The XFR label stands for Bumpless Analog Transfer Switch. This block is part of the Signal Selectors category. It looks like this graphically on the Control Builder. Dynamic Parameters: Table 5-99 XFR Dynamic Parameters Parameter Index Type...
  • Page 141: Xor Function Block

    Function Parameter Index Reference 5.76 XOR Function Block Description The XOR label stands for the Exclusive OR Boolean operation. This block is part of the Logic and Fast Logic category. It looks like this graphically on the Control Builder. Fast Logic Dynamic Parameters: Table 5-101 XOR Dynamic Parameters Parameter...
  • Page 142: Variables

    Function Parameter Index Reference 5.77 Variables Description Assigned Block Number (250) provides a means of reading from and writing to various arrays of variables. List Block Number 250 in your request message and the required index number. The index numbers (0 to 149) for the various variables can be obtained from a LeaderLine Control Builder variable list printout.
  • Page 143 Function Parameter Index Reference 8/99 RS232 Communications Reference Manual...
  • Page 144: Block Status Types

    Block Status Types 6. Block Status Types 6.1 Overview Introduction Table 6-1 lists the Function Block Status Values and definitions for communication reference when Index 0 is requested in a Dynamic (I/O) Table of a function block. Common Function Block Status Types These status types are common to all block types: •...
  • Page 145 Block Status Types Block Status Types, continued Floating Point Status Type Definition Value 1200.0 BAD BLKNUM Illegal control block number. 1300.0 NEG SQRT Attempted square root of a negative number. 1400.0 BAD TUNVAL Bad tuning constant value. 1500.0 COMM FAIL cannot communicate with device 1600.0 DEV FAIL...
  • Page 146: Appendix A - Crc-16 Calculation

    Appendix B Appendix A - CRC-16 Calculation CRC-16 Calculation See following function: extern void calculate_CRC(unsigned char *message, int length, unsigned char *CRC) unsigned char CRCHi, CRCLo, TempHi, TempLo; static const unsigned char table[512] = { 0x00, 0x00, 0xC0, 0xC1, 0xC1, 0x81, 0x01, 0x40, 0xC3, 0x01,...
  • Page 147 Index Index 2AND, 43 Block Parameters, 27 2OR, 87 Block Status Types, 134 4ADD, 40 BOOL, 52 4AND, 44 Bumpless Analog Transfer Switch, 130 4MUL, 80 4OR, 88 CARB, 53 4SUB, 116 Carbon Potential, 53 8AND, 45 CMPR, 56 8OR, 89 Comparison Calculation, 56 CRC, 4 Abbreviations, 35...
  • Page 148 Index Function Block Look-up Table, 35 Function Block parameter tables, 35 NEG, 81 Function Block Status Types, 134 Negate, 81 Function Generator - 10 Segment, 63 NOT, 82 Function Parameter Index Reference, 35 NOT Boolean logic function, 82 Getting Started Quickly, 16 OFDT, 84 Off Delay Timer, 84 On Delay Timer, 83...
  • Page 149 Index Scale and Bias, 100 TAHD, 118 SCB, 100 Taxonomy of Classes, 21 Sequence Numbering, 4 TGFF, 119 Sequence of Operations, 13 Three Position Step Control, 122 Setpoint Programmer, 103 Time Proportional Output, 121 Setpoint Programming Events, 101 Toggle Flip-Flop, 119 Setpoint Scheduler, 106 TOT, 120 Setpoint Scheduler Auxiliary Setpoint Block, 110...
  • Page 150 Index RS232 Communications Reference Manual 8/99...
  • Page 152 Industrial Automation and Control Honeywell Inc. 1100 Virginia Drive Fort Washington, Pennsylvania 19034...

This manual is also suitable for:

Rs232

Table of Contents