Download Digital SERIES

Transcript
TABLE OF CONTENTS
Section 1
INTRODUCTION ................................................................................................................ 1
1.1 Removal of Device Cover ..................................................................................... 1
Section 2
INSTALLATION ................................................................................................................. 2
2.1 Connectors ........................................................................................................... 2
2.2 Termination ...........................................................................................................3
2.2.1 Termination resistors ....................................................................................... 3
2.2.2 Biasing resistors .............................................................................................. 3
Section 3
FUNCTIONAL DESCRIPTION ........................................................................................... 4
3.1 Implementation Class…………………………………………… ............................. 4
3.2 Response Time..................................................................................................... 4
3.3 Supported Modbus Functions............................................................................... 4
3.3.1 Read Holding Registers (03) ......................................................................... 4
3.3.2 Write Single Register (06) .............................................................................. 4
3.3.3 Write Multiple Registers (16) ......................................................................... 5
3.3.4 Diagnostics (08) ............................................................................................. 5
3.3.5 Report Slave ID (17) ...................................................................................... 5
3.4 Available Parameters ........................................................................................... 6
Section 4
CHANGING SLAVE ADDRESS AND BAUD RATE .......................................................... 9
4.1 Via RS232: VB Communication Program ............................................................. 9
4.2 Via micro-switch and LED’s on top of the instrument ........................................... 10
4.2.1 Readout bus-address/MAC-ID and baud rate ............................................... 10
4.2.2 Change bus-address and baud rate .............................................................. 11
4.3 Via rotary switches on the side of the instrument (if present) .............................. 12
Section 5
TROUBLESHOOTING ....................................................................................................... 13
5.1 Visual diagnostics ................................................................................................. 13
5.2 Step-by-step ......................................................................................................... 13
5.3 Bus diagnostics string ........................................................................................... 13
Section 6
MODBUS DETAILS............................................................................................................ 15
6.1 Modbus Message RTU Framing........................................................................... 15
6.2 CRC Checking ...................................................................................................... 16
6.3 CRC Generation ................................................................................................... 16
6.4 Example Visual Basic Code ................................................................................. 19
6.5 Example Read Flow Signal .................................................................................. 20
6.6 Example Read SetPoint ....................................................................................... 20
6.7 Example Read Flow Signal and SetPoint ............................................................. 20
6.8 Example Write SetPoint ........................................................................................ 20
Section 7
RS232 COMMUNICATION COMMANDS.......................................................................... 21
RS232 Command Table .............................................................................................. 21
RS232 Examples ......................................................................................................... 21
Error Codes Table ....................................................................................................... 24