Section 10. CRBASIC Programming Instructions
107
TableName.FieldName
Accesses a specific field from a record in a table
Syntax
TableName.FieldName (FieldNameIndex, RecordsBack)
TableName.Output
Determine if data was written to a specific DataTable the last time the
DataTable was called.
Syntax
TableName.Output (1,1)
TableName.Record
Determines the record number of a specific DataTable record.
Syntax
TableName.Record (1,n)
TableName.TableSize
Returns the number of records allocated for a data table
Syntax
TableName.TableSize (1,1)
TableName.TimeStamp
Returns the time into an interval or a timestamp for a record in a specific
DataTable.
Syntax
TableName.TimeStamp (m,n)
10.11
SCADA
Read More!
See
Modbus
(p. 139).
Note: These instructions are supported only in a special operating system
version 'M' for CR200 series dataloggers. That operating system must be loaded
on the datalogger and the program compiled with the matching compiler to use
ModBusMaster and ModBusSlave. No special operating system is required for
CR200(X) series dataloggers.
ModBusMaster
Sets up a datalogger as a ModBus master to send or retrieve data from a
ModBus slave.
Syntax
ModBusMaster (ResultCode, ComPort, BaudRate,
ModBusAddr, Function, Variable, Start, Length,
Tries, TimeOut)
ModBusSlave
Sets up a datalogger as a ModBus slave device.
Syntax
ModBusSlave (ComPort, BaudRate, ModBusAddr,
ModBusVariable, BooleanVariable, ByteOrder,
Offset)
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......