Table of Contents
14
8.4 Telecommunications and Data Retrieval
...............................................
332
8.4.1 Hardware and Carrier Signal
.......................................................
333
8.4.2 Protocols
......................................................................................
333
8.4.3 Initiating Telecommunications (Callback)
...................................
333
8.5 PakBus Overview
..................................................................................
334
8.5.1 PakBus Addresses
........................................................................
335
8.5.2 Nodes: Leaf Nodes and Routers
..................................................
335
8.5.2.1 Router and Leaf-Node Configuration
.................................
335
8.5.3 Linking PakBus Nodes: Neighbor Discovery
..............................
337
8.5.3.1 Hello-message (two-way exchange)
..................................
337
8.5.3.2 Beacon (one-way broadcast)
..............................................
337
8.5.3.3 Hello-request (one-way broadcast)
....................................
338
8.5.3.4 Neighbor Lists
....................................................................
338
8.5.3.5 Adjusting Links
..................................................................
338
8.5.3.6 Maintaining Links
..............................................................
338
8.5.4 PakBus Troubleshooting
..............................................................
339
8.5.4.1 Link Integrity
.....................................................................
339
8.5.4.1.1 Automatic Packet-Size Adjustment
..........................
339
8.5.4.2 Ping
....................................................................................
339
8.5.4.3 Traffic Flow
.......................................................................
340
8.5.5 LoggerNet Network-Map Configuration
.....................................
340
8.5.6 PakBus LAN Example
.................................................................
341
8.5.6.1 LAN Wiring
.......................................................................
341
8.5.6.2 LAN Setup
.........................................................................
342
8.5.6.3 LoggerNet Setup
................................................................
344
8.5.7 PakBus Encryption
......................................................................
346
8.6 Alternate Telecommunications
..............................................................
347
8.6.1 DNP3
...........................................................................................
347
8.6.1.1 Overview
............................................................................
347
8.6.1.2 Programming for DNP3
.....................................................
347
8.6.1.2.1 Declarations
..............................................................
347
8.6.1.2.2 CRBasic Instructions
................................................
348
8.6.1.2.3 Programming for Data-Acquisition
..........................
349
8.6.2 Modbus
........................................................................................
350
8.6.2.1 Overview
............................................................................
350
8.6.2.2 Terminology
.......................................................................
351
8.6.2.2.1 Glossary of Terms
....................................................
351
8.6.2.3 Programming for Modbus
..................................................
352
8.6.2.3.1 Declarations
..............................................................
352
8.6.2.3.2 CRBasic Instructions - Modbus
................................
352
8.6.2.3.3 Addressing (ModbusAddr)
.......................................
353
8.6.2.3.4 Supported Function Codes (Function)
......................
353
8.6.2.3.5 Reading Inverse-Format Registers
............................
353
8.6.2.4 Troubleshooting
.................................................................
353
8.6.2.5 Modbus over IP
..................................................................
354
8.6.2.6 Modbus tidBytes
................................................................
354
8.6.2.7 Converting 16-bit to 32-bit Longs
......................................
354
8.6.3 Web Service API
.........................................................................
355
8.6.3.1 Authentication
....................................................................
355
8.6.3.2 Command Syntax
...............................................................
356
8.6.3.3 Time Syntax
.......................................................................
358
8.6.3.4 Data Management
..............................................................
358
8.6.3.4.1 BrowseSymbols Command
......................................
358
8.6.3.4.2 DataQuery Command
...............................................
362
8.6.3.5 Control
...............................................................................
368
8.6.3.5.1 SetValueEx Command
.............................................
368