Despatch Protocol Plus Modbus Communications Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Kontrolní panel Despatch Protocol Plus Modbus Communications. Despatch Protocol Plus Modbus Communications User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - Despatch Protocol

E-102 p.n. 143896 A-51643 Rev. 6 10/06/03 Modbus User's Programming Manual For Despatch ProtocolTM Plus

Strany 2 - Approvals

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 4 3. Looking into the back of the controller with the connector terminal strips at the bo

Strany 3 - Table of Contents

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 5 2.4.2 Communication Card Jumper Settings 1. Turn off power to the controller. 2. Remo

Strany 4 - A-51643 Rev. 6 10/06/03 iii

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 6 3 Register and I/O Mapping 3.1 Unmapped and Reserved Registers Reserved and NA registe

Strany 5 - List of Figures and Tables

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 7 Table 4: ProtocolTM Plus Discrete Output Address Map Data Address Hex Address Descriptio

Strany 6 - A-51643 Rev. 6 10/06/03 v

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 8 3.5 Input Register Assignments Input registers are intended for read only inform

Strany 7 - 1 Overview

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 9 149 95 Events Status 0 - $F 0 Bits 0-3 = Events 1-4. Bit value: 0 = Off, 1 = On 150 96

Strany 8 - 2.3 Wiring

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 10 3.6 Holding Register Assignments Holding registers are intended for information and fu

Strany 9

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 11 31 1F Control Type Control[Ctrl] 1 or 2 (Note 1) 0 = Heat, 1 = Cool, 2 = Heat/Cool. H/C

Strany 10

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 12 421 1A5 Segment 4 Ramp Event 1-4 Setup Seg-4 Ramp[Event1-4] 1 or 2 (Note 1) Bits 0-3

Strany 11 - RS485 Jumper Settings

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 13 774 306 Sunday Run Mode Auto Start Sun[Mode] 1 or 2 (Note 1) 0=Off, 1=Manual, 2=Timer,

Strany 12 - 3 Register and I/O Mapping

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 i Revision History Rev. Date Description 0 10/6/1998 Original Release 1 01/25/1999 Major r

Strany 13

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 14 1152 -- 1159 480 -- 487 Reserved for factory use 1160 -- 1183 488 -- 49F Illegal, A

Strany 14 - Global Input Registers

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 15 4 Application Operations This section defines application operations in Protocol

Strany 15 - A-51643 Rev. 6 10/06/03 9

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 16 An example is the Manual Setpoint and Manual High Limit Setpoint holding registers. I

Strany 16 - Global Holding Registers

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 17 REGISTER ADDRESS REGISTER DESCRIPTION $0000 COMMUNICATIONS ACCESS CODE $0005 KEYPAD LO

Strany 17 - A-51643 Rev. 6 10/06/03 11

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 18 4.6 Event Setup Values For Manual, Timer, and Profile events setup, the corres

Strany 18 - A-51643 Rev. 6 10/06/03 12

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 19 1. Send an individual function code 08, sub-function 10 queries (clear communication c

Strany 19 - A-51643 Rev. 6 10/06/03 13

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 20 5 Function Set Details This section details the Modbus functions supported in the Pro

Strany 20 - A-51643 Rev. 6 10/06/03 14

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 21 15 Return Slave No Response Count Number of messages addressed to the slave for wh

Strany 21 - 4 Application Operations

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 22 Response The output status in the response is packed as one output per bit of the data

Strany 22

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 23 Number of outputs hi $00 Number of outputs lo $07 CRC $---- Response The input statu

Strany 23 - Inputs, and Discrete Outputs

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 ii Table of Contents 1 OVERVIEW ...

Strany 24

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 24 Number of registers hi $00 Number of registers lo $03 CRC $---- Response The register

Strany 25

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 25 Starting address lo $09 Number of registers hi $00 Number of registers lo $01 CRC $----

Strany 26 - 5 Function Set Details

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 26 Field Name Data Slave address $0E Function $06 Register address hi $00 Register address

Strany 27

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 27 high order bits and the second byte the low order bits. Next, the actual

Strany 28

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 28 5.3 Diagnostics and Support Description for ProtocolTM Plus All of the diagnostic

Strany 29

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 29 Query Response Field Name Data Field Name Data Slave address $02 Slave address $02 Func

Strany 30

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 30 Table 11: ProtocolTM Plus Diagnostic Register Bit Assignment Bit # Description 0 NA 1 N

Strany 31

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 31 addressed to the slave are monitored, but no action is taken and no respon

Strany 32

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 32 Query Response Field Name Data Field Name Data Slave address $09 Slave address $09 Func

Strany 33

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 33 Function $08 Function $08 Sub-function hi $00 Sub-function hi $00 Sub-function lo $0E S

Strany 34

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 iii 5.1 FUNCTION SET OVERVIEW ...

Strany 35

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 34 Data hi $00 Data hi $00 Data lo $00 Data lo $03 CRC $---- CRC $---- 5.3.2 [17] Report

Strany 36

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 35 5.4 Exception Response Description Except for broadcast messages, when a master

Strany 37

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 36 No. of Registers Lo $08 CRC $---- Exception Response Format Field Name RTU Example

Strany 38

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 37 6 Modbus Protocol Quick Reference This section highlights portions of the Modbu

Strany 39

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 38 Without Parity Checking Start D0 D1 D2 D3 D4 D5 D6 D7 Stop Stop 6.2.3 Error Checking

Strany 40

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 39 6.5 Data Field The data field contains additional information that the slave

Strany 41

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 40 Figure 6 CRC Flowchart 6.7 Field Contents in Modbus Messages The following tables s

Strany 42

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 41 Query Field Name RTU Example Data Description Header > 3.5 idle characters Start cha

Strany 43 - 6.2 RTU Transmission Mode

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 42 7 Programming Example and General Hints This section provides an example of Micr

Strany 44 - 6.4 Function Field

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 43 'initialize the CRC register: CRCValue = 65535 For i = 1 To MLength 'thi

Strany 45 - 6.6 Error Checking Field

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 iv 6.7.1 The Byte Count Field ...

Strany 46 - Figure 6 CRC Flowchart

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 44 'set the Settings to select Baud Rate, Parity, Data bits, and Stop bits. 'Not

Strany 47

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 45 CRCWord = GetCRC(TxMessage) 'add the CRC bytes to the message: TxMessage = TxMess

Strany 48 - 7.1 Code Example

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 46 'can be calculated before the TxMessage is sent, when RxMessage contains &

Strany 49

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 47 7.2 Additional Communications Troubleshooting Hints Communications problems occur prim

Strany 50

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 v

Strany 51

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 1 1 Overview 1.1 Purpose This document provides all application specific information nec

Strany 52

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 2 2 Communications Specifications 2.1 Support Specifications Device Support: Slave only.

Strany 53

Chromalox Instruments and Controls A-51643 Rev. 6 10/06/03 3 Figure 2: RS422A Wiring (4 wire) Figure 3: RS485 Wiring (2 wire) 2.4 Communication Ca

Komentáře k této Příručce

Žádné komentáře