HDLC BCC 15.1 Data Link Protocol Description

Size: px
Start display at page:

Download "HDLC BCC 15.1 Data Link Protocol Description"

Transcription

1 Data Link Protocol Description by Daniel L. Henry Revision 1.1 October 9, 2011 Copyright by Daniel L. Henry

2 Revision History Rev. Date Changed By Reason for Change 1.0 5/9/03 Dan L. Henry Made suitable for external use /9/11 Dan L. Henry Update to ISO/IEC 13239:2002. i

3 Contents 1 INTRODUCTION PURPOSE SCOPE DEFINITIONS, ACRONYMS, AND ABBREVIATIONS Definitions Acronyms and Abbreviations REFERENCES DOCUMENT CONVENTIONS OVERVIEW HDLC FRAME STRUCTURE GENERAL FRAME FORMAT ELEMENTS OF THE FRAME Flag Sequence Address Field Control Field Information Field Frame Checking Sequencing (FCS) Field BCC FRAME FORMAT TRANSPARENCY INVALID FRAME PROTOCOL OPERATION GENERAL DESCRIPTION OF THE DATA LINK Configuration Physical Layer Transmission Facilities DESCRIPTION OF THE PROCEDURES General Balanced Connectionless Station Characteristics Detailed Definition of the Procedures C CODE EXAMPLES FCS CALCULATION BCC 15.1 FRAME TRANSMIT BCC 15.1 FRAME RECEIVE ii

4 1 Introduction The introduction of this Communication Protocol Description (CPD) provides an overview of the entire CPD. 1.1 Purpose Communication protocols are sets of rules that govern the interaction of concurrent processes in distributed systems. A protocol specification consists of five parts. To be complete, each specification should include: 1. The service(s) to be provided by the protocol 2. The assumptions about the environment in which the protocol is executed 3. The vocabulary of messages used to implement the protocol 4. The encoding (format) of each message in the vocabulary 5. The procedure rules guarding the consistency of message exchanges This CPD attempts to address all of these parts, describing the protocol without ambiguity. 1.2 Scope This CPD describes the High-level Data Link Control (HDLC) Balanced operation Connectionless mode Class (BCC) protocol. Communication protocol layers above and below the data link layer (e.g., the application or physical layers) are beyond the scope of this document. The intended audience of this CPD is Project Management and Engineering Staff who are responsible for reviewing the communications protocol design prior to implementation and who are responsible for product enhancement and software maintenance. 1.3 Definitions, Acronyms, and Abbreviations This section defines the terms used in this specification. Words in italics indicate terms that are defined elsewhere in the list of definitions Definitions Control escape (CE) The unique sequence of eight bits ( ) employed to indicate the following octet has been modified according to the transparency algorithm for start/stop transmission environments. Flag sequence (FS) The unique sequence of eight bits ( ) employed to delimit the opening and closing of a frame. Frame The unit of transmission at the data link layer. For HDLC it is the sequence of address, control, information, and FCS fields, bracketed by opening and closing flag sequences. Frame check sequence (FCS) The field immediately preceding the closing flag sequence of a frame, containing the bit sequence that provides for the detection of transmission errors by the receiver Octet ISO/IEC parlance for a sequence of eight bits (also known as a byte ) Acronyms and Abbreviations BCC Balanced operation Connectionless mode Class (of HDLC) CPD Communication Protocol Description DLP Data Link Protocol FCS Frame Check Sequence HDLC High-level Data Link Control IEC International Electrotechnical Commission INFO INFOrmation field ISO International Organization for Standardization LSB Least Significant Bit MSB Most Significant Bit 1

5 1.4 References Information directly related to the subject of this CPD is found in the following document(s): 1. Information Technology Telecommunications and information exchange between systems High-level data link control (HDLC) procedures (ISO/IEC 13239:2002(E)). ISO/IEC, Document Conventions Hexadecimal values are identified (where not clear from context) by prefixing the value with 0x. Binary values are identified (where not clear from context) by prefixing the value with 0b. Several notational conventions are used in this document to visually differentiate text. Courier Italic Courier Program or algorithm text, input, output, file names, regular expressions, or other text where use of a mono-spaced font enhances readability Formal parameters to be replaced by user-specified names or values Any CPD that uses the phrase to be determined (TBD) is not a complete CPD. The TBD is, however, a necessity when a CPD is being developed. TBDs are indicated in the document using italics in the form [TBD: ]. The TBD should be accompanied by: a) A description of the conditions causing the TBD (for example, why an answer is not known) so that the situation can be resolved b) A description of what must be done to eliminate the TBD, who is responsible for its elimination, and by when it must be eliminated 1.6 Overview This CPD describes HDLC BCC (balanced operation connectionless-mode class) and its optional function 15.1 (start/stop (asynchronous) transmission with basic transparency). BCC does not provide mechanisms for link initialization, flow control, error control (although it does provide error detection), or timeout recovery that are associated with some HDLC classes of procedures. BCC 15.1 is a point-to-point protocol and is virtually identical to PPP in HDLC-like Framing defined by Internet RFC 1662 ( using the minimal transparency implementation. That RFC only describes PPP s message framing component, not PPP in its entirety. The connectionless aspect of BCC in a pointto-point data link is somewhat analogous to UDP s (datagram) role on networks. UDP is described in Internet RFC 768 ( HDLC and BCC are described in International Standard ISO/IEC 13239:2002. This CPD summarizes the relevant portions of the Standard, but not verbatim, since the Standard is copyrighted. Be aware that the Standard uses a bit numbering convention where bits are printed and numbered LSB-first, from 1 through 8, whereas this CPD uses the convention where bits are printed and numbered MSB-first, from 7 through 0. 2

6 2 HDLC Frame Structure In HDLC, all transmissions are in frames. The frame format structure does not include bits inserted for bitsynchronization (i.e., start or stop elements) or bytes inserted for transparency. 2.1 General Frame Format Each frame consists of the following fields (left to right transmission sequence, hexadecimal values): where Flag Address Control Info. FCS Flag 7E 1 byte 1 byte n bytes 2 bytes 7E ' ' Flag Address Control Info. FCS = flag sequence = data station address field = control field = information field = frame checking sequence field Frames containing only control sequences form a special case where there is no information field. The format for these frames is: Flag Address Control FCS Flag 7E 1 byte 1 byte 2 bytes 7E ' ' 2.2 Elements of the Frame Flag Sequence All frames start and end with the flag sequence 0x7E (ASCII ~, tilde). All stations attached to the data link continuously hunt for this sequence. Thus, the flag is used for frame synchronization. A single flag may be used as both the closing flag for one frame and the opening flag for the next frame if the next frame immediately follows the previous frame without any idle line time (i.e., back-to-back) Address Field The address field immediately follows the opening flag and identifies the station for which the command is intended. BCC specifies a point-to-point connection with the other station, so both stations use the all stations address 0xFF Control Field The control field indicates the type of commands or responses. BCC s command repertoire has only the Unnumbered Information (UI) command, thus the control byte always has the value 0x Information Field Information may be any sequence of bytes (including none; i.e., null ). The information field contains the bytes used by the upper layer protocol Frame Checking Sequencing (FCS) Field The frame checking sequence is calculated for the entire length of the frame, excluding the opening flag, the FCS, or any bytes inserted for transparency. The length of the designated portion of the frame being protected by the FCS checking mechanism should not be greater than bits (4095 bytes) in length. The 16-bit FCS shall be the ones complement of the sum (modulo 2) of a) the remainder of x k (x 15 + x 14 + x 13 + x 12 + x 11 + x 10 + x 9 + x 8 + x 7 + x 6 + x 5 + x 4 + x 3 + x 2 + x + 1) divided (modulo 2) by the generator polynomial x 16 + x 12 + x 5 + 1, where k is the number of bits being protected by the FCS and b) the remainder of the division (modulo 2) by the generator polynomial x 16 + x 12 + x of the product of x 16 by the content of the k bits being protected. 3

7 As a typical implementation, at the transmitter, the initial content of the register of the device computing the remainder of the division is preset to all ones and is then modified by division by the generator polynomial (as described above) of the address, control and any remaining bits of the designated k bits being protected; the ones complement of the resulting remainder is transmitted as the 16-bit FCS. At the receiver, the initial content of the register of the device computing the remainder is preset to all ones. The final remainder after multiplication by x 16 and then division (modulo 2) by the generator polynomial x 16 + x 12 + x of the serial incoming protected bits and the FCS will be 0b (x 15 through x 0, respectively) in the absence of transmission errors. Several software FCS implementations are provided in section 4 of this CPD. 2.3 BCC Frame Format Sections and above define fixed values for a frame s address and control fields: Flag Address Control Info. FCS Flag 7E FF 03 n bytes 2 bytes 7E ' ' Thus, a frame with no information field has a fixed FCS: Flag Address Control FCS Flag 7E FF 03 1C C2 7E ' ' 2.4 Transparency BCC 15.1 uses start/stop (asynchronous) transmission and a control-octet (byte stuffing) transparency mechanism. The Control Escape byte is defined as 0x7D. Flag Sequence (0x7E) and Control Escape (0x7D) bytes must be escaped. After FCS computation, the transmitter examines the entire frame between the two Flag Sequences. Each Flag Sequence or Control Escape byte is replaced by a two-byte sequence consisting of the Control Escape byte followed by the original byte exclusive-or ed with 0x20. On reception, prior to FCS computation, each Control Escape byte is removed and the following byte is exclusiveor'ed with hexadecimal 0x20, unless it is the Flag Sequence (which aborts a frame). A few examples may make this clearer. Escaped data is transmitted on the link as follows: 0x7E, after incorporation into the FCS computation, is encoded and transmitted as 0x7D, 0x5E 0x7D, after incorporation into the FCS computation, is encoded and transmitted as 0x7D, 0x5D The opposite occurs when receiving: 0x7D, 0x5E is decoded into 0x7E, then 0x7E is incorporated into the FCS computation 0x7D, 0x5D is decoded into 0x7D, then 0x7D is incorporated into the FCS computation 2.5 Invalid Frame An invalid frame is defined as one that is not properly bounded by two flags, or one that is too short (i.e., shorter than four bytes between flags, excluding bytes inserted for transparency), or one in which byte framing is violated (i.e., a "0" bit occurs where a stop element is expected), or one that ends with a Control Escape closing Flag Sequence (i.e., 0x7D 0x7E). Invalid frames are ignored and are silently discarded without passing them to the upper layer protocol. 3 Protocol Operation The following subsections are adapted from ISO/IEC 13239:2002 section 6.14 Balanced connectionless operation (point-to-point). 4

8 3.1 General The following requirements apply to the procedure for balanced connectionless operation of asynchronous data transmission over point-to-point data links with two-way alternate or two-way simultaneous data transfer. The procedure uses the HDLC frame structure defined in section 2. It uses the basic command/response repertoire designated BCC (i.e., a single command, Unnumbered Information [UI], and no response). 3.2 Description of the Data Link Configuration The balanced connectionless operation data link configuration consists of two peer stations interconnected by physical layer transmission facilities Physical Layer Transmission Facilities The physical layer transmission facilities may provide either half-duplex or duplex transmission over switched or non-switched data circuits. NOTE: In the case of a switched data circuit, the procedures described assume that the switched data circuit has been established. The physical layer must provide an indication of circuit availability before the data link layer initiates transmission. (In some systems providing two-way alternate data exchange on physical layer data circuits using half-duplex transmission, the indication of physical layer circuit availability is indicated by an idle data link channel state.) 3.3 Description of the Procedures General Balanced connectionless control procedures operate on a data link where the data station at each end of the data link is a peer station. Each peer station is responsible for sending UI command frames and receiving UI command frames, but is not responsible for connection establishment/termination, flow control, acknowledgements, or error recovery. Each peer station checks incoming frames for correct frame check sequence and correct frame format. Incorrect frames are discarded without notification to the other peer station Balanced Connectionless Station Characteristics Each station is a peer station, able to both send and receive UI command frames without the need for a data link connection to be established Detailed Definition of the Procedures The procedures for a point-to-point data link using a permanently connected (dedicated) or an established switched connection are defined in to The protocol for establishing and disconnecting a switched data circuit is not within the scope of this CPD Setting Up and Disconnecting the Data Link [There are no data link set-up procedures or data link disconnect procedures in the balanced connectionless class of procedures.] Exchange of Unnumbered Information (UI) Frames Sending UI Frames The control field has a value of 0x03 for a UI frame. The maximum length of the information field in UI frames is a system-defined parameter. Whenever a peer station is ready to send a UI command frame, it sends it immediately since there is no flow control in connectionless class service Receiving UI Frames When a peer station correctly receives a UI command frame that it can accept, the information field contents are passed up to the upper layer protocol. If the peer station is unable to accept the correctly received UI command frame, it discards the information field contents Reception of Incorrect Frames 5

9 A peer station silently discards frames received with an incorrect FCS, or with incorrect format Balanced Connectionless Station Receiving Acknowledgements Peer stations do not operate with acknowledgements Time-out Considerations In order to detect a no-activity condition in two-way alternate configurations, each peer station implements a noactivity time-out function (or equivalent) - idle data link channel state detector. The expiry of this time-out function (or equivalent) is available for use to initiate transmission of UI command frames. The duration of this time-out function (or equivalent) is system-dependent. The duration of the time-out function (or equivalent) in the two peer stations must be unequal in two-way alternate operation in order to resolve contention situations. This time-out function (or equivalent) is started whenever the peer station observes a steady idle state condition. Upon receiving a UI command frame, the time-out function (or equivalent) is stopped. If the no-activity time-out function (or equivalent) runs out, a UI command frame may be transmitted Two-way Alternate Considerations In two-way alternate data link operation, transmission from a peer station is not allowed until either: a) detection of an idle data link channel state after receipt of a frame or a flag; or b) the end of an extended period of inactivity (idle data link channel state). NOTE: In the case of half-duplex data circuit facilities, appropriate accommodation must be made to control the direction of data transmission. The direction of transmission is controlled by the data link layer, and may be signaled by the physical layer. If no frames were transmitted from either peer station for quite some time and information becomes available for transmission, it is advisable that the peer station transmits at first a UI command frame with a zero length information field in order to avoid long timer recovery action, which would occur in the case of contention of UI frames with information. If a peer station has transmitted frames and no further frames are pending for transmission, it gives the right to transmit to the remote peer station Two-way Simultaneous Consideration Two-way simultaneous operation may be used independent of physical data circuit capability (i.e., half-duplex or duplex transmission). However, in the case of half-duplex data circuit facilities, appropriate accommodation must be made to control the direction of data transmission. The direction of transmission is controlled by the data link layer. 6

10 4 C Code Examples These examples are for illustrative purposes only. They have been verified to work, however. Practical implementations may partition data link and physical layer functions differently. For example, some DLP functionality and physical device interface might be together in an interrupt service routine. 4.1 FCS Calculation / FCS manifest constants #define FCS_INIT 0xFFFF / Initial FCS value #define FCS_GOOD 0xF0B8 / Good FCS remainder / FCS feedback table static const uint16_t feedback[256] = { 0x0000, 0x1189, 0x2312, 0x329B, 0x4624, 0x57AD, 0x6536, 0x74BF, 0x8C48, 0x9DC1, 0xAF5A, 0xBED3, 0xCA6C, 0xDBE5, 0xE97E, 0xF8F7, 0x1081, 0x0108, 0x3393, 0x221A, 0x56A5, 0x472C, 0x75B7, 0x643E, 0x9CC9, 0x8D40, 0xBFDB, 0xAE52, 0xDAED, 0xCB64, 0xF9FF, 0xE876, 0x2102, 0x308B, 0x0210, 0x1399, 0x6726, 0x76AF, 0x4434, 0x55BD, 0xAD4A, 0xBCC3, 0x8E58, 0x9FD1, 0xEB6E, 0xFAE7, 0xC87C, 0xD9F5, 0x3183, 0x200A, 0x1291, 0x0318, 0x77A7, 0x662E, 0x54B5, 0x453C, 0xBDCB, 0xAC42, 0x9ED9, 0x8F50, 0xFBEF, 0xEA66, 0xD8FD, 0xC974, 0x4204, 0x538D, 0x6116, 0x709F, 0x0420, 0x15A9, 0x2732, 0x36BB, 0xCE4C, 0xDFC5, 0xED5E, 0xFCD7, 0x8868, 0x99E1, 0xAB7A, 0xBAF3, 0x5285, 0x430C, 0x7197, 0x601E, 0x14A1, 0x0528, 0x37B3, 0x263A, 0xDECD, 0xCF44, 0xFDDF, 0xEC56, 0x98E9, 0x8960, 0xBBFB, 0xAA72, 0x6306, 0x728F, 0x4014, 0x519D, 0x2522, 0x34AB, 0x0630, 0x17B9, 0xEF4E, 0xFEC7, 0xCC5C, 0xDDD5, 0xA96A, 0xB8E3, 0x8A78, 0x9BF1, 0x7387, 0x620E, 0x5095, 0x411C, 0x35A3, 0x242A, 0x16B1, 0x0738, 0xFFCF, 0xEE46, 0xDCDD, 0xCD54, 0xB9EB, 0xA862, 0x9AF9, 0x8B70, 0x8408, 0x9581, 0xA71A, 0xB693, 0xC22C, 0xD3A5, 0xE13E, 0xF0B7, 0x0840, 0x19C9, 0x2B52, 0x3ADB, 0x4E64, 0x5FED, 0x6D76, 0x7CFF, 0x9489, 0x8500, 0xB79B, 0xA612, 0xD2AD, 0xC324, 0xF1BF, 0xE036, 0x18C1, 0x0948, 0x3BD3, 0x2A5A, 0x5EE5, 0x4F6C, 0x7DF7, 0x6C7E, 0xA50A, 0xB483, 0x8618, 0x9791, 0xE32E, 0xF2A7, 0xC03C, 0xD1B5, 0x2942, 0x38CB, 0x0A50, 0x1BD9, 0x6F66, 0x7EEF, 0x4C74, 0x5DFD, 0xB58B, 0xA402, 0x9699, 0x8710, 0xF3AF, 0xE226, 0xD0BD, 0xC134, 0x39C3, 0x284A, 0x1AD1, 0x0B58, 0x7FE7, 0x6E6E, 0x5CF5, 0x4D7C, 0xC60C, 0xD785, 0xE51E, 0xF497, 0x8028, 0x91A1, 0xA33A, 0xB2B3, 0x4A44, 0x5BCD, 0x6956, 0x78DF, 0x0C60, 0x1DE9, 0x2F72, 0x3EFB, 0xD68D, 0xC704, 0xF59F, 0xE416, 0x90A9, 0x8120, 0xB3BB, 0xA232, 0x5AC5, 0x4B4C, 0x79D7, 0x685E, 0x1CE1, 0x0D68, 0x3FF3, 0x2E7A, 0xE70E, 0xF687, 0xC41C, 0xD595, 0xA12A, 0xB0A3, 0x8238, 0x93B1, 0x6B46, 0x7ACF, 0x4854, 0x59DD, 0x2D62, 0x3CEB, 0x0E70, 0x1FF9, 0xF78F, 0xE606, 0xD49D, 0xC514, 0xB1AB, 0xA022, 0x92B9, 0x8330, 0x7BC7, 0x6A4E, 0x58D5, 0x495C, 0x3DE3, 0x2C6A, 0x1EF1, 0x0F78 ; / fcs_16 calculates a new FCS given an initial (or current) FCS and new data. uint16_t fcs_16(uint16_t fcs_init, const unsigned char p, int len) { uint16_t fcs = fcs_init; while (len--) { fcs = (fcs >> 8) ^ feedback[(fcs ^ p++) & 0xFF]; return fcs; / fcs_16_a variation of fcs_16 does not use a feedback table. uint16_t fcs_16_a(uint16_t fcs_init, const unsigned char p, int len) { uint16_t fcs = fcs_init; while (len--) { fcs ^= p++; 7

11 fcs = (fcs >> 8) (fcs << 8); fcs ^= (fcs & 0xFF00) << 4; fcs ^= fcs >> 12; fcs ^= (fcs & 0xFF00) >> 5; return fcs; / fcs_16_b variation of fcs_16_a is optimized for most Reading from a union member other than the member last written to is a common idiom, but not sanctioned by the language standard. uint16_t fcs_16_b(uint16_t fcs_init, const unsigned char p, int len) { unsigned char fcs_tmp; union { uint16_t w; unsigned char b[2]; fcs; fcs.w = fcs_init; / Endian awareness is required for fcs.b[]'s subscripts. Adjust for your hardware. #define BIG_ENDIAN 1 / 1 = big-endian, 0 = little-endian #if BIG_ENDIAN #define MSB 0 #define LSB 1 #else #define MSB 1 #define LSB 0 #endif while (len--) { fcs.b[lsb] ^= p++; fcs_tmp = fcs.b[msb]; fcs.b[msb] = fcs.b[lsb]; fcs.b[lsb] = fcs_tmp; fcs.b[msb] ^= fcs.b[msb] << 4; fcs.b[lsb] ^= fcs.b[msb] >> 4; fcs_tmp = fcs.b[msb] ^ ((fcs.b[msb] >> 4) >> 1); fcs.b[lsb] ^= fcs.b[msb] << 3; fcs.b[msb] = fcs_tmp; return fcs.w; / Example of FCS usage void use_fcs(unsigned char p, int len) { uint16_t fcs; / Append to output stream. fcs = fcs_16(fcs_init, p, len); fcs ^= 0xFFFF; / Complement p[len + 0] = fcs & 0x00FF; / LSB first p[len + 1] = (fcs >> 8) & 0x00FF; / Check input stream. if (fcs_16(fcs_init, p, len + 2) == FCS_GOOD) { printf("good FCS!\n"); 8

12 4.2 BCC 15.1 Frame Transmit This example assumes that the FCS_ manifest constants and feedback[] from section 4.1 are in scope. #include <stddef.h> #include <stdint.h> / HDLC manifest constants #define FS 0x7E / HDLC flag sequence #define CE 0x7D / HDLC control-escape #define CE_XOR 0x20 / HDLC escape XOR value / phy_tx() is the physical layer device driver's transmit function to transmit the byte 'b'. extern void phy_tx(uint8_t b); static uint16_t tx_fcs; static void tx_byte(uint8_t b); Transmit a UI info_p Start address of INFO bytes to n Number of INFO bytes to transmit. void dlp_tx(void info_p, size_t n) { uint16_t fcs; uint8_t p = info_p; tx_fcs = FCS_INIT; phy_tx(fs); / Flag sequence "raw" tx_byte(0xff); / "All stations" addr tx_byte(0x03); / UI command / Transmit INFO. while (n--) { tx_byte(p++); / Transmit FCS, then FS. Save FCS locally before invoking tx_byte(). fcs = ~tx_fcs; tx_byte(fcs & 0x00FF); tx_byte((fcs >> 8) & 0x00FF); phy_tx(fs); / Flag sequence "raw" / tx_byte() with control-octet transparency, updating tx_fcs. static void tx_byte(uint8_t b) { tx_fcs = (tx_fcs >> 8) ^ feedback[(tx_fcs ^ b) & 0xFF]; if ((b == CE) (b == FS)) { phy_tx(ce); b ^= CE_XOR; phy_tx(b); 9

13 4.3 BCC 15.1 Frame Receive This example assumes that FCS_ manifest constants and feedback[]from section 4.1 are in scope. #include <stddef.h> #include <stdint.h> #include <time.h> / HDLC manifest constants #define FS 0x7E / HDLC flag sequence #define CE 0x7D / HDLC control-escape #define CE_XOR 0x20 / HDLC escape XOR value / phy_rx() is the physical layer device driver's receive function returning the received byte, PHY_RX_FRAMING_ERR, or PHY_RX_NONE. PHY_RX_' values are negative or >UINT8_MAX, so are out of a uint8_t's range. extern int phy_rx(void); Receive a UI buf_pp On input, the address of a receive buffer large enough for INFO plus 4 bytes of DLP overhead (HDLC address, control, and FCS bytes). On output, the start address of the frame's INFO n On input, the receive buffer's size. On output, the number of INFO bytes tov Receive timeout Zero if a UI frame was successfully received; otherwise, nonzero indicates a timeout. int dlp_rx(void buf_pp, size_t n, clock_t tov) { uint8_t p, buf_p = buf_pp; size_t n_rx; / Counts ADDRESS, CONTROL and INFO bytes bytes int err; / Error flag int ce; / CE received flag uint16_t fcs; int b; clock_t start_clk = clock(); #define INIT_RX_VARS() do { \ p = buf_p; \ n_rx = 0; \ err = 0; \ ce = 0; \ fcs = FCS_INIT; \ while (0) INIT_RX_VARS(); for (;;) { b = phy_rx(); if (b == PHY_RX_NONE) { / Check for timeout if ((clock() - start_clk) >= tov) { return -1; else if (b == PHY_RX_FRAMING_ERR) {/ Frame invalidated INIT_RX_VARS(); else if (b == FS) { if ((n_rx < 4) / Short frame? 10

14 (fcs!= FCS_GOOD) / FCS error? ce / Abort? err / Buffer overrun? (buf_p[0]!= 0xFF) / Address error? (buf_p[1]!= 0x03)) { / Command error? / INIT_RX_VARS(); else { / Good UI frame. Return INFO address and INFO length. buf_pp = buf_p + 2; / Byte following HDLC control byte n = n_rx - 4; / Minus address, control, and FCS return 0; / Indicate success else if (b == CE) { ce = 1; / XOR next byte else { b &= 0xFF; if (ce) { ce = 0; b ^= CE_XOR; / XOR to original value / If there's room in the buffer, store the byte and incorporate it into the FCS calculation; otherwise, flag a buffer overrun error. if (n_rx < n) { n_rx++; p++ = b; fcs = (fcs >> 8) ^ feedback[(fcs ^ b) & 0xFF]; else { err = 1; 11

RS232C Serial Interface for Pirani Diaphragm and Pirani Standard Gauges. Caution. binary 8 data bits 1 stop bit no parity bit no handshake

RS232C Serial Interface for Pirani Diaphragm and Pirani Standard Gauges. Caution. binary 8 data bits 1 stop bit no parity bit no handshake General Information The Serial Interface allows the communication of the digital Agilent Pirani Capacitance Diaphragm Gauges (PCG-750, PCG-752) and the digital Agilent Pirani Standard Gauges (PVG-550,

More information

Diagnostic Port Serial Interface for Capacitance Diaphragm Gauges

Diagnostic Port Serial Interface for Capacitance Diaphragm Gauges Communication Protocol Diagnostic Port Serial Interface for Capacitance Diaphragm Gauges CDG025D-X3 4-20 ma Current Loop Stripe CDG045Dhs Stripe CDG100Dhs tira84e1 (2017-05) 1 General Information The Diagnostic

More information

Heat meter PolluStat M-bus communication protocol description

Heat meter PolluStat M-bus communication protocol description Heat meter PolluStat M-bus communication protocol description 1 1. General structure of protocol 1.1. General features of protocol Meter uses a M-bus protocol. Default baud rate: 2400 bps, Even, 1 Stop.

More information

RS232C / RS485C Serial Interface for Cold Cathode and Cold Cathode Pirani Gauges

RS232C / RS485C Serial Interface for Cold Cathode and Cold Cathode Pirani Gauges Communication Protocol RS232C / RS485C Serial Interface for Cold Cathode and Cold Cathode Pirani Gauges MAG500, MAG504 MPG500, MPG504 tira83e1-a (2017-06) 1 General Information The Serial Interface allows

More information

RS232C / RS485C Serial Interface for Pirani Capacitance Diaphragm and Pirani Standard Gauges

RS232C / RS485C Serial Interface for Pirani Capacitance Diaphragm and Pirani Standard Gauges Communication Protocol RS232C / RS485C Serial Interface for Pirani Capacitance Diaphragm and Pirani Standard Gauges PCG550, PCG552, PCG554 PSG550, PSG552, PSG554 RS485C RS232C tira59e1-a (2017-04) 1 General

More information

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE INSTRUCTION MANUAL IM149-U v0.92 CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE Firmware version: v3.0 or higher MODBUS PROTOCOL Modbus is a master-slave communication protocol able to

More information

Keywords: CRC, CRC-7, cyclic redundancy check, industrial output, PLC, programmable logic controller, C code, CRC generation, microprocessor, switch

Keywords: CRC, CRC-7, cyclic redundancy check, industrial output, PLC, programmable logic controller, C code, CRC generation, microprocessor, switch Keywords: CRC, CRC-7, cyclic redundancy check, industrial output, PLC, programmable logic controller, C code, CRC generation, microprocessor, switch APPLICATION NOTE 6002 CRC PROGRAMMING FOR THE MAX14900E

More information

GNetPlus Communication Protocol

GNetPlus Communication Protocol Basic Package (BINARY VERSION) Master Query Package (HOST) Field Header Address Query Function Data length DATA BYTES Error Check Desc SOH 0~255 0~255 0~255 CRC16_Low CRC16_Hi Size 1 BYTE 1 BYTE 1 BYTE

More information

Wireless M-Bus Host Controller Interface

Wireless M-Bus Host Controller Interface Wireless M-Bus Host Controller Interface Document ID: 4100/6404/0050 IMST GmbH Carl-Friedrich-Gauß-Str. 2-4 47475 KAMP-LINTFORT GERMANY General Information Document Information File name WMBus_HCI_Spec.docx

More information

MCW Application Notes 24 th February 2017

MCW Application Notes 24 th February 2017 MCW Application Notes 24 th February 2017 www.motorcontrolwarehouse.co.uk Document number MCW-HEDY-001 Revision 0.1 Author Gareth Lloyd Product HEDY HD700 Title Summary HEDY HD700 Modbus Serial Communications

More information

Technical Specification. Third Party Control Protocol. AV Revolution

Technical Specification. Third Party Control Protocol. AV Revolution Technical Specification Third Party Control Protocol AV Revolution Document AM-TS-120308 Version 1.0 Page 1 of 31 DOCUMENT DETAILS Document Title: Technical Specification, Third Party Control Protocol,

More information

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC DreamScreen V2 WiFi UDP Protocol The DreamScreen-WiFi platform uses UDP unicasting and broadcasting over the WLAN to provide communication. Port 8888 is used for both sending and receiving. The DreamScreen

More information

Revision History. Rev Date Author Description A 27 Aug 99 Emil Farkas Initial release. Approvals: Author. VP. Engineering

Revision History. Rev Date Author Description A 27 Aug 99 Emil Farkas Initial release. Approvals: Author. VP. Engineering Carina Manual Carina Manual Revision History Style Sheet is: X:\Company\SmartMasters\Orion Filenames are: X:\Company\Manuals\ReferenceManual\Components\Carina\RevA\CarinaManual.lwp X:\Company\Manuals\ReferenceManual\Components\Carina\RevA\CarinaManualTitlePage

More information

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200 RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200 Biamp Systems, 14130 N.W. Science Park, Portland, Oregon 97229 U.S.A. (503) 641-7287 an affiliate of Rauland-Borg Corp. Introduction

More information

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC

variable 1. Start of Packet - is used to provide synchronization when parsing packets. Always 0xFC DreamScreen V2 WiFi UDP Protocol Rev 2 The DreamScreen-WiFi platform uses UDP unicasting and broadcasting over the WLAN to provide communication. Port 8888 is used for both sending and receiving. The DreamScreen

More information

imetos LoRa Data payload structure

imetos LoRa Data payload structure imetos LoRa Data payload structure Pessl Instruments, GmbH Version 1.0, 06-2018 Content 1. SCOPE OF THIS DOCUMENT... 2 2. PARSING THE DATA FROM THE PAYLOAD VERSUS API DATA ACCESS... 3 3. IMETOS LORA FIRMWARE

More information

TBS Unify Pro / SmartAudio

TBS Unify Pro / SmartAudio TBS Unify Pro / SmartAudio 02.12..2017 Revision 08 SmartAudio uses single wire half duplex communication based on UART. In Idle mode both host and VTX define the SmartAudio pin as input. If the host want

More information

PLC Lite Host Message Protocol Specification

PLC Lite Host Message Protocol Specification PLC Lite Host Message Protocol Specification Version 0.6 Oct. 20, 2014 Copyright Texas Instruments Incorporated, 2009-2014 The information and/or drawings set forth in this document and all rights in and

More information

SXH Protocol by Spinel Version 3.0 Date:

SXH Protocol by Spinel Version 3.0 Date: SXH Protocol by Spinel Version 3.0 Date:.8 Revision History Vision Date Description V.0 V.0 V3.0 September, 6 December, 6 April, 8 Initial release Added LED control, OSD, Cmd 0x30 Added all ratio image

More information

MTR-4. C8 Command to MODBUS Bridge User Manual F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan.

MTR-4. C8 Command to MODBUS Bridge User Manual F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan. MTR-4 C8 Command to MODBUS Bridge User Manual 404 19F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan. TEL:886-4-2238-0698 FAX:886-4-2238-0891 Web Site:http://www.monicon.com.tw E-mail: sales@monicon.com.tw

More information

Flexi Soft T E L E G R A M M L I S T I N G

Flexi Soft T E L E G R A M M L I S T I N G T E L E G R A M M L I S T I N G This document is protected by the law of copyright, whereby all rights established therein remain with the company SICK AG. Reproduction of this document or parts of this

More information

Input Channels: 4 differential or four single-ended. Address / Baud rate / range configurable by the user

Input Channels: 4 differential or four single-ended. Address / Baud rate / range configurable by the user DAM-Series User Manual Amazing Electronic (HK) Limited User s Manual Overview: DAM module is a new generation data acquisition and control system based on modular embedded systems. Adopting standard DIN35

More information

Modbus Protocol Guide for ZP2 Series Control Panels

Modbus Protocol Guide for ZP2 Series Control Panels Modbus Protocol Guide for ZP2 Series Control Panels P/N 00-3243-505-2603-01 ISS 14DEC15 Copyright Trademarks and patents Manufacturer Version REV 01 Certification 2015 UTC Fire & Security. All rights reserved.

More information

Using the USB and Serial Interfaces

Using the USB and Serial Interfaces Using the USB and Serial Interfaces PulsON 300 and 400 Series TIME DOMAIN Cummings Research Park 4955 Corporate Drive Suite 101 Huntsville, AL 35805 USA http://www.timedomain.com Tel: +1 256.922.9229 +1

More information

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB DMTME Multimeters Communication protocol ABB 1 Setting up DMTME serial communication.3 1.1 Serial network ID programming...3 1.2 RS-485 communication interface...3 1.3 Serial line connection...3 2 Communication

More information

Signed/Unsigned Integer Arithmetic in C. Vineel Kovvuri

Signed/Unsigned Integer Arithmetic in C. Vineel Kovvuri Signed/Unsigned Integer Arithmetic in C Vineel Kovvuri http://vineelkovvuri.com Contents 1 Introduction 2 2 How signed-ness is represented in the hardware? 2 3 How signed-ness is interpreted in assembly?

More information

RS-232 Control of the Advantage DRI

RS-232 Control of the Advantage DRI RS-232 Control of the Advantage DRI Biamp Systems, 14130 N.W. Science Park, Portland, Oregon 97229 U.S.A. (503) 641-7287 an affiliate of Rauland-Borg Corp. Introduction This document contains technical

More information

GPS Tracker Communication Protocol

GPS Tracker Communication Protocol Shenzhen Concox Information Technology Co.,Ltd GPS Tracker Communication Protocol (GT06N) Copyright This document is copyrighted by Shenzhen Concox Information Technology Co.,Ltd. All rights reserved.

More information

DULCOMETER Multi-parameter Controller dialog DACa

DULCOMETER Multi-parameter Controller dialog DACa Software manual DULCOMETER Multi-parameter Controller dialog DACa Modbus RTU EN Valid only in combination with the operating instructions for the Multi-parameter Controller dialog DACa. A2100 Please carefully

More information

Ethernet to Digital I/O and Analog Input. (Model: IP-IO)

Ethernet to Digital I/O and Analog Input. (Model: IP-IO) Ethernet to Digital I/O and Analog Input (Model: IP-IO) Feature: Operation voltage : DC 7V ~ 36V. Analog Interface: Interface : 3.3V levels compatibility. Resolution : 16-bits Σ-Δ A/D converters. Accuracy

More information

SIMCom_3G_CSD_Application Note_V1.00

SIMCom_3G_CSD_Application Note_V1.00 SIMCom_3G_CSD_Application Note_V1.00 Document Title: SIMCom_3G_CSD_Application Note Version: 1.00 Date: Status: Document Control ID: Release SIMCom_3G_CSD_Application Note_V1.00 General Notes SIMCom offers

More information

Computer Control of the Advantage DRC 4+4

Computer Control of the Advantage DRC 4+4 Computer Control of the Advantage DRC 4+4 Biamp Systems, 14130 N.W. Science Park, Portland, Oregon 97229 U.S.A. (503) 641-7287 an affiliate of Rauland-Borg Corp. Introduction This document contains technical

More information

Interface Control Document

Interface Control Document Interface Control Document CR8200 Engine-based products D026166 CR8200 Interface Control Document ICD.docx Page 1 of 14 TABLE OF CONTENTS 1 Scope... 3 2 Communication Medium... 3 3 Reader to Host Communication...

More information

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201 M2M/DMTME Instruments Communication protocol 2CSG445011D0201 1 Setting up M2M/DMTME serial communication... 3 1.1 Serial network ID programming... 3 1.2 RS-485 communication interface... 3 1.3 Serial line

More information

Chapter 2: Secret Key

Chapter 2: Secret Key Chapter 2: Secret Key Basics Block or Stream? Secret Key Methods Salting AES Key Entropy Prof Bill Buchanan OBE http://asecuritysite.com/crypto02 http://asecuritysite.com/encryption Conclusion Encryption

More information

//

// ----------------------------------------------------------------------------------- Filename: FixedMath.h ----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------

More information

AD-SM2400AP02A-PWRLN. Application Note. SM2400 Bootloader User Guide. Overview

AD-SM2400AP02A-PWRLN. Application Note. SM2400 Bootloader User Guide. Overview AD-SM2400AP02A-PWRLN Application Note Communication Technology by: Semitech Semiconductor Revision 1.0 August 2016 Overview This application note describes the SM2400 Bootloader modes, interface, and protocols,

More information

// and verify that there is a sine wave with frequency <FREQUENCY> and

// and verify that there is a sine wave with frequency <FREQUENCY> and F330DC_IDA0_SineWave.c Copyright 2006 Silicon Laboratories, Inc. http:www.silabs.com Program Description: This program outputs a sine wave using IDA0. IDA0's output is scheduled to update at a rate determined

More information

BC3G-US-SMA API. Rev 2.0

BC3G-US-SMA API. Rev 2.0 BC3G-US-SMA API Rev 2.0 28/10/2015 Table of Contents Table of Contents... 2 1. Product revision history... 4 2. How to use this document... 4 3. Serial Protocol Definition... 5 3.1. Configuration... 5

More information

1 SETTING UP GENERAL FUNCTION TYPE PROTOCOL MESSAGES COMMAND RETURN CODES... 6 TRANSACTION EXAMPLES...

1 SETTING UP GENERAL FUNCTION TYPE PROTOCOL MESSAGES COMMAND RETURN CODES... 6 TRANSACTION EXAMPLES... 1 SETTING UP... 3 1.1 RS232 CONTROL CABLES...3 1.2 RS232 SETTINGS...3 2 GENERAL... 4 3 FUNCTION TYPE... 4 4 PROTOCOL MESSAGES... 4 4.1 MESSAGE FORMATS...4 4.1.1 Message Head...4 4.1.2 Message Body...5

More information

Request for Comments: XXXX November Registration of a Georgian Character Set draft-giasher-geostd8-00.txt

Request for Comments: XXXX November Registration of a Georgian Character Set draft-giasher-geostd8-00.txt Internet draft Gia Shervashidze Network Working Group Georgian Internet Avenue Request for Comments: XXXX November 2001 Registration of a Georgian Character Set draft-giasher-geostd8-00.txt Status of this

More information

AquaCER with TTL OUTPUT

AquaCER with TTL OUTPUT INSTRUCTION MANUAL AquaCER with TTL OUTPUT DESCRIPTION: The AquaCER TTL is a hydrostatic pressure transmitter, with a capacitive ceramic sensor, and can withstand very high burst pressures. The applied

More information

1CAPI INFORMATION VALUES. August Software Reference CAPI Information Values 1

1CAPI INFORMATION VALUES. August Software Reference CAPI Information Values 1 1CAPI INFORMATION VALUES August 2000 Software Reference CAPI Information Values 1 2 CAPI Information Values Software Reference Table of Contents CAPI INFORMATION Table of Contents VALUES A REFERENCE 5

More information

The Roboteq Modbus Implementation User Manual

The Roboteq Modbus Implementation User Manual The Roboteq Modbus Implementation User Manual V1.1, December 21, 2017 Visit www.roboteq.com to download the latest revision of this manual Copyright 2017 Roboteq, Inc Copyright Roboteq Inc. 2018. All Rights

More information

Verve IPAC Plug-in Wireless AC Module. Software Setup 3. DolphinView Software 3. Preparations 4 Transmit LINK Signals 4.

Verve IPAC Plug-in Wireless AC Module. Software Setup 3. DolphinView Software 3. Preparations 4 Transmit LINK Signals 4. Verve IPAC Plug-in Wireless AC Module Wireless Linking & Configuration Guide Table of Contents IPAC Configuration Settings 2 Configuration Settings Reference Table 2 Software Setup 3 DolphinView Software

More information

Highlights. FP51 (FPGA based 1T 8051 core)

Highlights. FP51 (FPGA based 1T 8051 core) Copyright 2017 PulseRain Technology, LLC. FP51 (FPGA based 1T 8051 core) 10555 Scripps Trl, San Diego, CA 92131 858-877-3485 858-408-9550 http://www.pulserain.com Highlights 1T 8051 Core Intel MCS-51 Compatible

More information

on a 35 mm top-hat rail (in accordance with DIN EN TH35) Ambient temperature Operation: C Storage: C

on a 35 mm top-hat rail (in accordance with DIN EN TH35) Ambient temperature Operation: C Storage: C Data sheet PCD1.B1020-A20 E-Line RIO 16DI, 4Rel Starting with FW 1.08.xx The L-Serie E-Line RIO modules are controlled via the RS-485 serial communication protocols S-Bus and Modbus for decentralised automation

More information

Modbus communication protocol

Modbus communication protocol TIP Thüringer Industrie Produkte GmbH Bahnhofstraße 26 99842 Ruhla GERMANY Tel. : +49 (0)36929/64029-0 Fax : +49 (0)36929/64029-99 info@stromzaehler.de www.stromzaehler.de Modbus communication protocol

More information

APPENDIX- A REFERENCE IMPLEMENTATION OF BSF-128 ===============================================================

APPENDIX- A REFERENCE IMPLEMENTATION OF BSF-128 =============================================================== APPENDICES A p p e n d i c e s P a g e 144 A p p e n d i c e s P a g e 145 APPENDIX- A REFERENCE IMPLEMENTATION OF BSF-128 =============================================================== REFERENCE IMPLEMENTATION

More information

SPI Lasers UK Limited. Serial Command Reference for the PRISM Laser Platform

SPI Lasers UK Limited. Serial Command Reference for the PRISM Laser Platform SPI Lasers UK Limited Serial Command Reference for the PRISM Laser Platform 1 of 89 Table of Contents Introduction... Connecting to the OEM Fibre Laser... Data Link Layer... Frame Structure... Data Element...

More information

GSA GAT PROTOCOL V Game Authentication Terminal

GSA GAT PROTOCOL V Game Authentication Terminal GSA GAT PROTOCOL V3.50.0 Game Authentication Terminal Gaming Standards Association GAT Technical Committee Released: 2010/12/13 Document ID: gsa-p0093.001.00 GAMINGSTANDARDS.COM GSA GAT Protocol, Document

More information

Request for Comments: 1662 STD: 51 July 1994 Obsoletes: 1549 Category: Standards Track

Request for Comments: 1662 STD: 51 July 1994 Obsoletes: 1549 Category: Standards Track Network Working Group W. Simpson, Editor Request for Comments: 1662 Daydreamer STD: 51 July 1994 Obsoletes: 1549 Category: Standards Track PPP in HDLC-like Framing Status of this Memo This document specifies

More information

Motors I Automation I Energy I Transmission & Distribution I Coatings. Modbus RTU CFW701. User s Manual

Motors I Automation I Energy I Transmission & Distribution I Coatings. Modbus RTU CFW701. User s Manual Motors I Automation I Energy I Transmission & Distribution I Coatings Modbus RTU CFW701 User s Manual Modbus RTU User s Manual Series: CFW701 Language: English Document Number: 10001538593 / 00 Publication

More information

Survey. Motivation 29.5 / 40 class is required

Survey. Motivation 29.5 / 40 class is required Survey Motivation 29.5 / 40 class is required Concerns 6 / 40 not good at examination That s why we have 3 examinations 6 / 40 this class sounds difficult 8 / 40 understand the instructor Want class to

More information

ID: Sample Name: Q3dY56x3hp Cookbook: defaultlinuxfilecookbook.jbs Time: 04:08:56 Date: 21/08/2018 Version:

ID: Sample Name: Q3dY56x3hp Cookbook: defaultlinuxfilecookbook.jbs Time: 04:08:56 Date: 21/08/2018 Version: ID: 73304 Sample : Q3dY56x3hp Cookbook: defaultlinuxfilecookbook.jbs Time: 04:08:56 Date: 21/08/2018 Version: 23.0.0 Table of Contents Table of Contents Analysis Report Overview General Information Detection

More information

MODBUS Communication Protocol

MODBUS Communication Protocol MODBUS Communication Protocol for counters with integrated MODBUS or ETHERNET interface 7E.78/86 0212 7E.68 0212 7E.64 0210 7E.78/86 0412 7E.68 0412 6A and 80A 3phase counters with RS485 serial communication.

More information

SPARC INTERNATIONAL. Version1 SPARC Keyboard Specification

SPARC INTERNATIONAL. Version1 SPARC Keyboard Specification SPARC INTERNATIONAL Version1 SPARC Keyboard Specification SPARC International, Inc. 3333 Bowers Ave., Suite 280, Santa Clara, CA 95054-3913, 408-748-9111. FAX 408-748-9777 1999, SPARC International Inc.

More information

App Note Application Note: State-Driven Control of a dpasp using a Microchip PIC.

App Note Application Note: State-Driven Control of a dpasp using a Microchip PIC. Rev: 1.0.1 Date: 8 th July 2009 App Note - 207 Application Note: State-Driven Control of a dpasp using a Microchip PIC. This application note contains a total 3 files, if you have only this pdf text document,

More information

JDICON 400/500 JDICON 401/501. B Interface Description. Universal process controller

JDICON 400/500 JDICON 401/501. B Interface Description. Universal process controller JDICON 400/500 Universal process controller JDICON 401/501 Universal profile controller Universal profile generator B 70.3570.2 Interface Description 10.99/00371593 Contents 1 Introduction 5 1.1 Preface...

More information

Modbus RTU CFW100. User s Manual. Phone: Fax: Web: -

Modbus RTU CFW100. User s Manual. Phone: Fax: Web:  - Modbus RTU CFW100 User s Manual Modbus RTU User s Manual Series: CFW100 Language: English Document Number: 10002909455 / 00 Publication Date: 06/2014 CONTENTS CONTENTS... 3 ABOUT THIS MANUAL... 5 ABBREVIATIONS

More information

PCD1.A2000-A20. E-Line S-Serie RIO 6Rel 16A. Features. General technical data. Dimensions and installation

PCD1.A2000-A20. E-Line S-Serie RIO 6Rel 16A. Features. General technical data. Dimensions and installation Data sheet www.sbc-support.com PCD1.A2000-A20 E-Line S-Serie RI 6Rel 16A The S-Serie E-Line RI modules are controlled via the RS-485 serial communication protocols S-Bus and Modbus for decentralised automation

More information

#include <stdio.h> // // Global CONSTANTS

#include <stdio.h> // // Global CONSTANTS Distance.c Author: Baylor Electromechanical Systems Operates on an external 18.432 MHz oscillator. Target: Cygnal Educational Development Board / C8051F020 Tool chain: KEIL C51 6.03 / KEIL EVAL C51 Utilizes

More information

Motors I Automation I Energy I Transmission & Distribution I Coatings. Modbus RTU CFW500. User s Manual

Motors I Automation I Energy I Transmission & Distribution I Coatings. Modbus RTU CFW500. User s Manual Motors I Automation I Energy I Transmission & Distribution I Coatings Modbus RTU CFW500 User s Manual Modbus RTU User s Manual Series: CFW500 Language: English Document Number: 10002253377 / 00 Publication

More information

Motors I Automation I Energy I Transmission & Distribution I Coatings. Modbus RTU CFW300. User s Manual

Motors I Automation I Energy I Transmission & Distribution I Coatings. Modbus RTU CFW300. User s Manual Motors I Automation I Energy I Transmission & Distribution I Coatings Modbus RTU CFW300 User s Manual Modbus RTU User s Manual Series: CFW300 Language: English Document Number: 10003806158 / 02 Publication

More information

PCD1.W5200-A20. E-Line S-Serie RIO 8AO. Features. General technical data. Dimensions and installation

PCD1.W5200-A20. E-Line S-Serie RIO 8AO. Features. General technical data. Dimensions and installation Data sheet www.sbc-support.com PCD1.W5200-A20 E-Line S-Serie RI 8A The S-Serie E-Line RI modules are controlled via the RS-485 serial communication protocols S-Bus and Modbus for decentralised automation

More information

BENCHTOP INSTRUMENT. Digital AC/DC Power Meter. Operation Manual V1.0

BENCHTOP INSTRUMENT. Digital AC/DC Power Meter. Operation Manual V1.0 BENCHTOP INSTRUMENT Digital AC/DC Power Meter Operation Manual V1.0 Default Setup Item Default Remark Version 0 Model No. Address 1 1 ~ 255 decimal Baud Rate 96 3 bps, 6 bps, 12 bps, 24 bps, 48 bps, 96

More information

TECH TIP. Tritex Modbus Protocol Specification

TECH TIP. Tritex Modbus Protocol Specification Tritex Modbus Protocol Specification Introduction This document describes Tritex s implementation of the MODBUS communication protocol used for transferring data between a serial host and an Exlar drive.

More information

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD INTERNATIONAL STANDARD ISO/IEC 13239 Second edition 2000-03-01 Information technology Telecommunications and information exchange between systems High-level data link control (HDLC) procedures Technologies

More information

Mahesh V. Tripunitara and Samuel S. Wagsta, Jr. COAST Laboratory. Purdue University. COAST TR-98/01.

Mahesh V. Tripunitara and Samuel S. Wagsta, Jr. COAST Laboratory. Purdue University. COAST TR-98/01. The Compression Functions of SHA, MD, MD4 and MD5 are not Ane Mahesh V. Tripunitara and Samuel S. Wagsta, Jr. COAST Laboratory Purdue University West Lafayette, IN 47907-198 ftripunit,sswg@cs.purdue.edu

More information

DATA SHEET. article numbers P125-1b & P125-1g

DATA SHEET. article numbers P125-1b & P125-1g LC 16.2 TREND DATA SHEET article numbers P125-1b & P125-1g Pottery House, Pottery Road, Dun Laoghaire, Co. Dublin, Ireland. Tel: +353-1-2350279 Fax: +353-1-2350361 Am Gneisenauflöz 6, 66538 Neunkirchen,

More information

MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL

MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL MODEL TDAI-2170 INTEGRATED AMPLIFIER EXTERNAL CONTROL MANUAL Serial Settings The serial port settings are always 8 data bits, no parity and one stop bit with a baud rate of 115200. Commands and Requests

More information

IEC /104 Communications Protocol

IEC /104 Communications Protocol expertmeter High Performance Analyzer PM180 IEC60870-5-101/104 Communications Protocol Reference Guide BG0593 Rev. A1 Every effort has been made to ensure that the material herein is complete and accurate.

More information

HD Radio Air Interface Design Description Program Service Data Transport Rev. D December 14, 2016

HD Radio Air Interface Design Description Program Service Data Transport Rev. D December 14, 2016 HD Radio Air Interface Design Description Program Service Data Transport Rev. D December 14, 2016 SY_IDD_1085s TRADEMARKS HD Radio and the HD, HD Radio, and Arc logos are proprietary trademarks of ibiquity

More information

Specifiche generali protocollo MODBUS-RTU Rev. 10 (inglese) REVISIONS

Specifiche generali protocollo MODBUS-RTU Rev. 10 (inglese) REVISIONS Modbus-RTU Protocol (Mach Smart / Smart Più) Page 1 of 18 Specifiche generali protocollo MODBUS-RTU Rev. 10 (inglese) Written: U. T. ing. M. Bandini / A. Sangiorgi Verified: A. Q. sig. F. Adinolfi Approved:

More information

CSEE bit AES decryption. Shrivathsa Bhargav Larry Chen Abhinandan Majumdar Shiva Ramudit. Spring 2008 Project Design Document

CSEE bit AES decryption. Shrivathsa Bhargav Larry Chen Abhinandan Majumdar Shiva Ramudit. Spring 2008 Project Design Document CSEE 4840 128-bit AES decryption Shrivathsa Bhargav Larry Chen Abhinandan Majumdar Shiva Ramudit Spring 2008 Project Design Document CSEE 4840 Table of contents Abstract 1 1. Introduction 1 2. Hardware

More information

StarPRNT ios SDK User s Manual

StarPRNT ios SDK User s Manual StarPRNT ios SDK User s Manual Abstract This paper provides information about the StarPRNT ios SDK. It provides guidelines for our customers to build the StarPRNT application. Version History Release Date

More information

Modbus Map: Conext XW/XW+ Device

Modbus Map: Conext XW/XW+ Device Map: Conext XW/XW+ Device 503-0246-01-01 Revision A.3 UNINTENDED OPERATION WARNING The use of this product with communications requires expertise in the design, operation, and programming of the device.

More information

TCG Algorithm Registry

TCG Algorithm Registry Family 2.0" Level 00 Revision 01.27 September 26, 2017 Committee Draft Contact: admin@trustedcomputinggroup.org Work in Progress: This document is an intermediate draft for comment only and is subject

More information

Modbus/TCP is supported on some controllers. See QCI-AN028 Modbus TCP.

Modbus/TCP is supported on some controllers. See QCI-AN028 Modbus TCP. Date: 9 October 2007 www.quicksilvercontrols.com Modbus Protocol Included files: Modbus Protocol.qcp Modbus CRC.xls The Modbus protocol may be implemented in either an ASCII format or RTU format. QuickSilver

More information

1ISDN ERROR CODES. October ISDN Error Codes Software Reference 1

1ISDN ERROR CODES. October ISDN Error Codes Software Reference 1 1ISDN ERROR CODES October 2002 ISDN Error Codes Software Reference 1 2 Software Reference ISDN Error Codes Table of Contents ISDN Table of Contents ERROR CODES A REFERENCE 5 1 ISDN Error Codes 6 1.1 Overview

More information

DLMS Implementation Guide

DLMS Implementation Guide DLMS Implementation Guide 4-Quadrant-/Combi meter LZQJ-XC according to VDEW-Specifications 2.1.2 Edition: 04.03.2013 LZQJ-XC-DLMS-E-1.10 The contents of this manual are protected by copyright. It is forbidden

More information

Planar Simplicity Series

Planar Simplicity Series Planar Simplicity Series RS232 PROTOCOL Document 020-1285-00 1. INTRODUCTION 1.1 Purpose The purpose of this document is to explain in detail the commands and steps that can be used to control a Planar

More information

INTERNATIONAL TELECOMMUNICATION UNION. SERIES X: DATA COMMUNICATION NETWORKS: SERVICES AND FACILITIES, INTERFACES Interfaces

INTERNATIONAL TELECOMMUNICATION UNION. SERIES X: DATA COMMUNICATION NETWORKS: SERVICES AND FACILITIES, INTERFACES Interfaces INTERNATIONAL TELECOMMUNICATION UNION CCITT X.25 THE INTERNATIONAL TELEGRAPH AND TELEPHONE CONSULTATIVE COMMITTEE (11/1988) SERIES X: DATA COMMUNICATION NETWORKS: SERVICES AND FACILITIES, INTERFACES Interfaces

More information

UPB US1-40 Single Rocker Wall Switch with Dimmer Firmware Specification

UPB US1-40 Single Rocker Wall Switch with Dimmer Firmware Specification UPB US1-40 Single Rocker Wall Switch with Dimmer Firmware Specification V 1.0 5/18/05 Revision History Spec. Rev. Date Firmware Rev. Description 1.0 5/18/05 V2.12 Originated from US2 spec V1.9 Table of

More information

INTERNATIONAL TELECOMMUNICATION UNION. SERIES X: DATA NETWORKS AND OPEN SYSTEM COMMUNICATION Public data networks Interfaces

INTERNATIONAL TELECOMMUNICATION UNION. SERIES X: DATA NETWORKS AND OPEN SYSTEM COMMUNICATION Public data networks Interfaces INTERNATIONAL TELECOMMUNICATION UNION ITU-T X.25 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (10/96) SERIES X: DATA NETWORKS AND OPEN SYSTEM COMMUNICATION Public data networks Interfaces Interface

More information

University of Texas at El Paso Electrical and Computer Engineering Department

University of Texas at El Paso Electrical and Computer Engineering Department University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 07 Flash Controller Goals: Bonus: Pre Lab Questions: Familiarize yourself

More information

3GPP TS V7.2.0 ( )

3GPP TS V7.2.0 ( ) TS 25.462 V7.2.0 (2007-03) Technical Specification 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; UTRAN Iuant interface: Signalling transport (Release 7) The present

More information

MICROPROCESSOR CONTROLLER RE15

MICROPROCESSOR CONTROLLER RE15 MICROPROCESSOR CONTROLLER RE15 SERIAL INTERFACE WITH MODBUS PROTOCOL USER S MANUAL 1 2 CONTENTS 1. PREFACE... 4 2. DESCRIPTION OF THE MODBUS PROTOCOL... 4 2.1. ASCII framing... 6 2.2. RTU framing... 6

More information

CS 4400 Fall 2018 Midterm Exam 2 Practice (Version 2)

CS 4400 Fall 2018 Midterm Exam 2 Practice (Version 2) CS 4400 Fall 2018 Midterm Exam 2 Practice (Version 2) Name: Instructions You will have eighty minutes to complete the actual open-book, opennote exam. Electronic devices will be allowed only to consult

More information

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination Data Link Protocols Data Link Services Connection-less services Functions of a Data Link Protocol Framing PDUs ing Destination Error Detection / Error Recovery Link Management Ethernet (covered elsewhere)

More information

INTERNATIONAL TELECOMMUNICATION UNION DATA COMMUNICATION OVER THE TELEPHONE NETWORK

INTERNATIONAL TELECOMMUNICATION UNION DATA COMMUNICATION OVER THE TELEPHONE NETWORK INTERNATIONAL TELECOMMUNICATION UNION CCITT V.20 THE INTERNATIONAL (09/92) TELEGRAPH AND TELEPHONE CONSULTATIVE COMMITTEE DATA COMMUNICATION OVER THE TELEPHONE NETWORK SUPPORT BY AN ISDN OF DATA TERMINAL

More information

RFID B1 Module User Manual V2.2 16/01/2018

RFID B1 Module User Manual V2.2 16/01/2018 RFID B1 Module User Manual V2.2 16/01/2018 Table of Contents 1 Introduction... 6 1.1 Device Overview... 6 1.2 Pinout... 7 1.3 Application... 8 2 Electrical Characteristics... 9 2.1 Test Conditions... 9

More information

CSCI 2212: Intermediate Programming / C Chapter 15

CSCI 2212: Intermediate Programming / C Chapter 15 ... /34 CSCI 222: Intermediate Programming / C Chapter 5 Alice E. Fischer October 9 and 2, 25 ... 2/34 Outline Integer Representations Binary Integers Integer Types Bit Operations Applying Bit Operations

More information

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82)

Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82) Application Note BDLxxxx RS232 SERIAL INTERFACE COMMUNICATION PROTOCOL (SICP V1.82) Table of Contents 1. INTRODUCTION... 1 1.1 PURPOSE... 1 1.2 DEFINITIONS, ABBREVIATIONS AND ACRONYMS... 1 2. COMMAND PACKET

More information

UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification

UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification UPB US2-40 Series Quad Rocker Wall Switch with Dimmer Firmware Specification V 1.3 5/13/05 Revision History Spec. Rev. Date Firmware Rev. Description 1.1 4/19/05 V1.00 Adapted from US1/2 spec v1.9. Changes:

More information

Description. thanos ModBus. thanos SR ModBus

Description. thanos ModBus. thanos SR ModBus thanos ModBus & thanos SR ModBus Thermokon Sensortechnik GmbH - www.thermokon.de - email@thermokon.de 1 Index of changes Revision Date A B C 25.7.211 First draft 12.9.211 Version LQ added 22.9.211 Additional

More information

3. Data Link Layer 3-2

3. Data Link Layer 3-2 3. Data Link Layer 3.1 Transmission Errors 3.2 Error Detecting and Error Correcting Codes 3.3 Bit Stuffing 3.4 Acknowledgments and Sequence Numbers 3.5 Flow Control 3.6 Examples: HDLC, PPP 3. Data Link

More information

JMY607H User's Manual

JMY607H User's Manual JMY607H User's Manual (Revision 3.42) Jinmuyu Electronics Co. LTD 2011/6/27 Please read this manual carefully before using. If any problem, please mail to: Jinmuyu@vip.sina.com Contents 1 Product introduction...

More information

RFID B1 Module User Manual

RFID B1 Module User Manual RFID B1 Module User Manual V1.202 Table of Contents 1 Introduction... 6 1.1 Device Overview... 6 1.2 Pinout... 7 1.3 Application... 8 2 Electrical Characteristics... 9 2.1 Test Conditions... 9 2.2 Absolute

More information

Tiny Logo for the S2. Michael Daumling. 1 Introduction. 2 Starting up

Tiny Logo for the S2. Michael Daumling. 1 Introduction. 2 Starting up Tiny Logo for the S2 Michael Daumling 1 Introduction The Parallax S2 robot is a rolling box of robotics features. Apart from finetuned movements, it comes with two ultrasound obstacle sensors, three light

More information