Campbell Scientific CR1000 Measurement and Control System User Manual

Page 15

Advertising
background image

Table of Contents

15

8.6.2 Modbus........................................................................................ 367

8.6.2.1 Overview............................................................................ 367

8.6.2.2 Terminology....................................................................... 368

8.6.2.2.1 Glossary of Terms .................................................... 368

8.6.2.3 Programming for Modbus.................................................. 369

8.6.2.3.1 Declarations.............................................................. 369

8.6.2.3.2 CRBasic Instructions - Modbus................................ 369

8.6.2.3.3 Addressing (ModbusAddr) ....................................... 370

8.6.2.3.4 Supported Function Codes (Function)...................... 370

8.6.2.3.5 Reading Inverse-Format Registers ........................... 370

8.6.2.4 Troubleshooting ................................................................. 370

8.6.2.5 Modbus over IP.................................................................. 371

8.6.2.6 Modbus tidBytes ................................................................ 371

8.6.2.7 Converting 16-bit to 32-bit Longs...................................... 371

8.6.3 Web Service API ......................................................................... 372

8.6.3.1 Authentication.................................................................... 372

8.6.3.2 Command Syntax............................................................... 373

8.6.3.3 Time Syntax ....................................................................... 375

8.6.3.4 Data Management .............................................................. 375

8.6.3.4.1 BrowseSymbols Command ...................................... 375

8.6.3.4.2 DataQuery Command............................................... 379

8.6.3.5 Control ............................................................................... 385

8.6.3.5.1 SetValueEx Command ............................................. 385

8.6.3.6 Clock Functions ................................................................. 387

8.6.3.6.1 ClockSet Command.................................................. 387

8.6.3.6.2 ClockCheck Command............................................. 389

8.6.3.7 Files Management .............................................................. 391

8.6.3.7.1 Sending a File to a Datalogger ................................. 391

8.6.3.7.2 FileControl Command .............................................. 392

8.6.3.7.3 ListFiles Command .................................................. 394

8.6.3.7.4 NewestFile Command .............................................. 398

8.7 Support Software................................................................................... 399

8.8 Using the Keyboard Display ................................................................. 399

8.8.1 Data Display ................................................................................ 402

8.8.1.1 Real-Time Tables and Graphs............................................ 403

8.8.1.2 Real-Time Custom ............................................................. 403

8.8.1.3 Final-Storage Tables .......................................................... 405

8.8.2 Run/Stop Program ....................................................................... 406

8.8.3 File Display ................................................................................. 407

8.8.3.1 File: Edit............................................................................. 407

8.8.4 PCCard (CF Card) Display.......................................................... 409

8.8.5 Ports and Status ........................................................................... 409

8.8.6 Settings ........................................................................................ 410

8.8.6.1 Set Time / Date .................................................................. 411

8.8.6.2 PakBus Settings ................................................................. 411

8.8.7 Configure Display........................................................................ 411

8.9 Program and OS File Compression....................................................... 411

8.10 CF Cards & Records Number ............................................................. 414

Section 9. Maintenance ................................................417

9.1 Moisture Protection............................................................................... 417

9.2 Replacing the Internal Battery............................................................... 417

9.3 Repair.................................................................................................... 420

Advertising