Table of Contents
15
8.6.1 DNP3
...........................................................................................
369
8.6.1.1 Overview
............................................................................
369
8.6.1.2 Programming for DNP3
.....................................................
369
8.6.1.2.1 Declarations
..............................................................
369
8.6.1.2.2 CRBasic Instructions
................................................
370
8.6.1.2.3 Programming for Data-Acquisition
..........................
371
8.6.2 Modbus
........................................................................................
372
8.6.2.1 Overview
............................................................................
372
8.6.2.2 Terminology
.......................................................................
372
8.6.2.2.1 Glossary of Terms
....................................................
373
8.6.2.3 Programming for Modbus
..................................................
374
8.6.2.3.1 Declarations
..............................................................
374
8.6.2.3.2 CRBasic Instructions - Modbus
................................
374
8.6.2.3.3 Addressing (ModbusAddr)
.......................................
375
8.6.2.3.4 Supported Function Codes (Function)
......................
375
8.6.2.3.5 Reading Inverse-Format Registers
...........................
375
8.6.2.4 Troubleshooting
.................................................................
375
8.6.2.5 Modbus over IP
..................................................................
376
8.6.2.6 Modbus tidBytes
................................................................
376
8.6.2.7 Converting 16-bit to 32-bit Longs
......................................
376
8.6.3 Web Service API
.........................................................................
377
8.6.3.1 Authentication
....................................................................
377
8.6.3.2 Command Syntax
...............................................................
378
8.6.3.3 Time Syntax
.......................................................................
380
8.6.3.4 Data Management
..............................................................
380
8.6.3.4.1 BrowseSymbols Command
......................................
380
8.6.3.4.2 DataQuery Command
...............................................
384
8.6.3.5 Control
...............................................................................
390
8.6.3.5.1 SetValueEx Command
.............................................
390
8.6.3.6 Clock Functions
.................................................................
392
8.6.3.6.1 ClockSet Command
..................................................
392
8.6.3.6.2 ClockCheck Command
.............................................
394
8.6.3.7 Files Management
..............................................................
396
8.6.3.7.1 Sending a File to a Datalogger
.................................
396
8.6.3.7.2 FileControl Command
..............................................
397
8.6.3.7.3 ListFiles Command
..................................................
399
8.6.3.7.4 NewestFile Command
..............................................
403
8.7 Support Software
...................................................................................
404
8.8 Using the Keyboard Display
.................................................................
404
8.8.1 Data Display
................................................................................
407
8.8.1.1 Real-Time Tables and Graphs
............................................
408
8.8.1.2 Real-Time Custom
.............................................................
408
8.8.1.3 Final-Storage Tables
..........................................................
410
8.8.2 Run/Stop Program
.......................................................................
411
8.8.3 File Display
.................................................................................
412
8.8.3.1 File: Edit
.............................................................................
412
8.8.4 PCCard (CF Card) Display
..........................................................
414
8.8.5 Ports and Status
...........................................................................
414
8.8.6 Settings
........................................................................................
415
8.8.6.1 Set Time / Date
..................................................................
415
8.8.6.2 PakBus Settings
.................................................................
415
8.8.7 Configure Display
........................................................................
416
8.9 Program and OS File Compression
.......................................................
416
8.10 CF Cards & Records Number
.............................................................
419