2000 Series Communications
Part No HA026230 Issue 3 Jun-11 CN27469 1
SERIES 2000 COMMUNICATION HANDBOOK
Contents
1. CHAPTER 1 INTRODUCTION ....................................................................................................... 3
1.1 Overview .......................................................................................................................................................... 3
1.2 JBUS v MODBUS ........................................................................................................................................... 3
1.3 References ....................................................................................................................................................... 3
2. CHAPTER 2 DIGITAL COMMUNICATIONS HARDWARE ......................................................... 4
2.1 EIA232, EIA422 and EIA485 Transmission Standards ................................................................................. 4
2.2 Selecting EIA232 or EIA422/485 ................................................................................................................... 5
2.3 Cable Selection ............................................................................................................................................... 5
2.4 Earthing (grounding) ...................................................................................................................................... 6
2.5 Wiring General ................................................................................................................................................ 6
2.6 PRECAUTIONS ................................................................................................................................................ 6
2.7 Wiring EIA232 ................................................................................................................................................. 7
2.8 Wiring EIA422 or 4-wire EIA485 .................................................................................................................... 8
2.9 Wiring 2-wire EIA485 ...................................................................................................................................... 9
2.10 Wiring EIA422 and EIA485 controllers ...................................................................................................... 10
2.11 Large EIA422/485 Networks ....................................................................................................................... 11
2.12 EIA232 Connections of the 261 .................................................................................................................. 12
2.13 EIA422/485 Connections of the 261 .......................................................................................................... 12
2.14 connections for the kd485-aDE .................................................................................................................. 12
3. CHAPTER 3 MODBUS AND JBUS PROTOCOL ...................................................................... 13
3.1 Protocol Basics ............................................................................................................................................. 13
3.2 Typical Transmission Line Activity .............................................................................................................. 14
3.3 Device Address ............................................................................................................................................ 14
3.4 Parameter Address ...................................................................................................................................... 15
3.5 Parameter Resolution .................................................................................................................................. 15
3.6 Mode of Transmission ................................................................................................................................. 15
3.7 Message Frame Format ............................................................................................................................... 16
3.8 Cyclic Redundancy Check ........................................................................................................................... 17
3.9 Example of a CRC Calculation .................................................................................................................... 19
3.10 Example of a CRC Calculation in the ‘C’ Language .................................................................................. 20
3.11 Example of a CRC Calculation in BASIC Language .................................................................................. 21
3.12 Function Codes ............................................................................................................................................ 22
3.13 Read n Bits .................................................................................................................................................... 23
3.14 Read n Words ............................................................................................................................................... 24
3.15 Write a Bit ..................................................................................................................................................... 25
3.16 Write a Word ................................................................................................................................................ 26
3.17 Fast Read of Status ....................................................................................................................................... 27
3.18 Diagnostic Loopback ................................................................................................................................... 28
3.19 Write n Words .............................................................................................................................................. 29
3.20 Error Response ............................................................................................................................................. 30
3.21 Wait Period ................................................................................................................................................... 31
3.22 Latency .......................................................................................................................................................... 31
3.23 Message Transmission Time ....................................................................................................................... 31
4. CHAPTER 4 EI-BISYNCH PROTOCOL ....................................................................................... 32
4.1 Explanation of Terms ................................................................................................................................... 32
4.1.1 Address ....................................................................................................................................................................................... 32
4.1.2 Mnemonics ................................................................................................................................................................................. 32
4.1.3 Channels ..................................................................................................................................................................................... 32
4.1.4 ASCII codes ................................................................................................................................................................................ 32
4.2 Control characters ........................................................................................................................................ 33
4.3 Data Formats ................................................................................................................................................ 33
4.4 Free Data Format ......................................................................................................................................... 33
4.5 Hex Data Format .......................................................................................................................................... 33
4.6 Reading data from the 2000 Series ............................................................................................................ 34
4.7 Fast Poll ......................................................................................................................................................... 35
4.8 Repeated Polling of the same parameter .................................................................................................. 35
4.9 Writing data to the 2000 Series .................................................................................................................. 36
4.10 Broadcasts .................................................................................................................................................... 37
4.11 Error Codes held in EE ................................................................................................................................ 37
4.12 Message Transmission Time ....................................................................................................................... 37