Despatch Protocol Plus Modbus Communications User Manual

Browse online or download User Manual for Control panel Despatch Protocol Plus Modbus Communications. Despatch Protocol Plus Modbus Communications User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - Despatch Protocol

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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,

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 23 - Inputs, and Discrete Outputs

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

Page 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

Page 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 $----

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 34

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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 ...

Page 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

Page 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

Page 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 &

Page 49

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

Page 50

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

Page 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

Page 52

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

Page 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

Comments to this Manuals

No comments