CR6 Settings
The following table provides the proper syntax for common datalogger settings that may be set programmatically using the SetSetting instruction. These settings may also be set using Device Configuration Utility Configuration tool used to set up dataloggers and peripherals, and to configure PakBus settings before those devices are deployed in the field and/or added to networks.,or via Tablename.Fieldname (for example,
Settings.Fieldname = setting value
). Clicking on a setting in Device Configuration Utility also provides information about that setting.
Device Configuration Utility Configuration tool used to set up dataloggers and peripherals, and to configure PakBus settings before those devices are deployed in the field and/or added to networks., click the Terminal tab) using command "F".
Tablename.Fieldname
syntax. For example: Variable = Settings.Fieldname
.
- For settings specific to Wi-Fi, see Wi-Fi Settings.
- For settings specific to RF407-Series dataoggers, see RF407-Series Settings.
- For settings specific to CR6-RF452 dataoggers, see CR6-RF452 Settings.
- For settings specific to CS CELL2XX- Series cellular modems, see Cellular Modem Settings.
For a complete list of datalogger settings, see the datalogger manual.
Setting | Fieldname Type | Example Syntax | Notes |
---|---|---|---|
Baudrate(COM Baudrate(COMC7) |
Long | SetSetting("Baudrate(COM |
|
Baudrate(COMRS232) |
Long | SetSetting("Baudrate(COMRS232)",115200) | |
Baudrate(COMU1) thru Baudrate(COMU11) |
Long | SetSetting("Baudrate(COMU1)",115200) | |
Beacon(COM Beacon (COMC7) |
Long | SetSetting("Beacon(COM |
Unit = seconds |
Beacon(COMRS232) |
Long | SetSetting("Beacon(COMRS232)",60) | Unit = seconds |
Beacon(COMRF) | Long | SetSetting("Beacon(COMRF)",60) | Unit = seconds |
Beacon(COMU1) thru Beacon(COMU11) |
Long | SetSetting("Beacon(COMU1)",60) | Unit = seconds |
CentralRouters | Long |
SetSetting("CentralRouters(1)",1,) SetSetting("CentralRouters(2)",2,) |
Array of 8 |
CommsMemAlloc | Long | SetSetting("CommsMemAlloc”,50) | Max number of PakBus nodes |
DNS | String |
SetSetting("DNS(1)","1.1.1.1") SetSetting("DNS(2)","2.2.2.2") |
Array of 2 |
EthernetInfo | String |
Variable = Settings.EthernetInfo or Variable = Status.EthernetInfo |
|
EthernetPower | Long | SetSetting("EthernetPower”,1) | 0 = always on 2 = 1 minute 10 = disabled |
FilesManager | See SetSetting FilesManager Settings for more information. | ||
FTPEnabled | Boolean | SetSetting("FTPEnabled”,True) | True or False |
FTPPassword | String | SetSetting("FTPPassword",”PW”) | Max 63 characters |
FTPPort | Long | SetSetting("FTPPort",10) | Valid range 0 to 65535 |
FTPUserName | String | SetSetting("FTPUserName”,”Name”) | Max 63 characters |
HTTPEnabled | Boolean | SetSetting(HTTPEnabled”,True) | True or False |
HTTPSEnabled | Boolean | SetSetting("HTTPSEnabled”,True) | True or False |
HTTPSPort | Long | SetSetting("HTTPSPort”,88) | Valid range 0 to 65535 |
IncludeFile | String | SetSetting("IncludeFile","test.cr6") | Max 63 characters |
IPAddressEth | String | SetSetting("IPAddressEth","2.2.2.2") | |
IPGateway | String | SetSetting("IPGateway","10.10.10.10") | |
IPInfo | String; Read Only |
Variable = Settings.IPInfo or Variable = Status.IPInfo |
|
IPMaskEth | String | SetSetting("IPMaskEth","255.255.255.255") | |
IPTraceCode | Long |
IPTraceCode and IPTraceComport are two separate settings that can be used together. IPTraceCode specifies what traffic to trace and IPTraceComPort specifies the ComPort to trace on. SetSetting("IPTraceCode",8192) ' Trace FTP traffic |
|
IPTraceComPort | Long | SetSetting("IPTraceComPort",RS232) | |
IsRouter | Boolean | SetSetting("IsRouter", -1) or SetSetting("IsRouter", 0) | -1 = True 0 = False |
MaxPacketSize | Long | SetSetting("MaxPacketSize", 512) | |
MemorySize | Long; Read Only | Variable = Settings.MemorySize or Variable = Status.MemorySize | |
MemoryFree | Long; Read Only | Variable = Settings.MemoryFree or Variable = Status.MemoryFree | |
Neighbors() | String | SetSetting("Neighbors(COMC1)",("33,50") | |
PakBusAddress | Long | SetSetting("PakBusAddress”,50) | |
PakBusEncryptionKey | String | SetSetting("PakBusEncryptionKey","mykey") | Max 63 characters |
PakBusNodes | Long | SetSetting("PakBusNodes",50) | |
PakBusPort | Long | SetSetting("PakBusPort”,6785) | |
PakBusTCPClients |
The datalogger can be set to maintain a connection to up to four PakBus TCP/IP devices, or "PakBusTCPClient" connections. This syntax configures the setting programmatically. The Addresses entry for each connection includes the destination IP address and port number. Valid delimiters for separating elements are space, tab, comma, semi-colon, open parenthesis, and close parenthesis. The setting name "PakBusTCPClients" is not case sensitive. Calling SetSetting() in the program will cause the datalogger to recompile the program. Example: SetSetting("PakBusTCPClients","(www.myloggernet.com,6785)(1.1.1.1,6785)(another.station.com,6785)(2.2.2.2,6785)") |
||
PakBusTCPEnabled | Boolean | SetSetting("PakBusTCPEnabled", True) | |
PingEnabled | Boolean | SetSetting("PingEnabled", True) | True or False |
PPPDial | String | SetSetting("PPPDial", “PPP”) | |
PPPDialResponse | String | SetSetting("PPPDialResponse", “Connect”) | |
PPPInfo | String; Read Only | Variable = Settings.PPPInfo | |
PPPInterface | Long | SetSetting("PPPInterface", COMRS232) | |
PPPIPAddr | String | SetSetting("PPPIPAddr", “1.1.1.1”) | |
PPPIPMask | String | SetSetting("PPPIPMask", “255.255.255.255") | |
PPPPassword | String | SetSetting("PPPPassword", “PW”) | Max 63 characters |
PPPUsername | String | SetSetting("PPPUserName", “name”) | Max 63 characters |
RouteFilters | String | SetSetting(“RouteFilters”,1) | |
RS232Power | Boolean | SetSetting(“RS232Power”,True) | True = always on False = times out after specified seconds |
RS232Timeout | Long | SetSetting(“RS232Timeout”,60) | Units = seconds |
Security | Long |
“SetSetting("Security(1)",111) “SetSetting("Security(2)",222) “SetSetting("Security(3)",333) |
Array of 3 |
SFTPPrivateKey | String | SetSetting("SFTPPrivateKey", "Key") | |
SFTPPublicKey | String | SetSetting("SFTPPublicKey", "PublicKey") | |
StationName | String | SetSetting("StationName", "NewName") | Max 63 characters |
TCPMSS | Long | SetSetting("TCPMSS", 500) | Max number of bytes in single TCP segment |
TCPPort | Long | SetSetting("TCPPort”,6785) | |
TelnetEnabled | Boolean | SetSetting("TelnetEnabled”,True) | True or False |
TLSConnections | Long | SetSetting("TLSConnections,10) | Max number of TLS server connections |
TLSPassword | String | SetSetting("TLSPassword”,”PW”) | Max 63 characters |
TLSStatus | String; Read Only | Variable = Settings.TLSStatus | Initialized or not initialized |
UDPBroadcastFilter | Long | SetSetting("UDPBroadcastFilter",111) | Valid range 0 - 65535 |
USBVCPOnly | Long | SetSetting("USB",1) | 0 = RNDIS enabled(default); 1 = RNDIS disabled |
USBDisable | Boolean | SetSetting("USBDisable",1) | 0 = USB enabled, 1 = USB disabled; if the setting is changed, a datalogger reboot is required for the change to take effect. |
USBNotTrusted | Boolean | SetSetting("USBNotTrusted",1) | 0 = USB Trusted, 1 = USB Not Trusted |
UTCOffset | Long | SetSetting("UTCOffset",3600) | Units = seconds |
USRDriveSize | Long | SetSetting("USRDriveSize",1000) | Bytes |
Verify(COMC1) thru Verify (COMC |
Long | SetSetting("Verify(COMC1)”;60) | Units = seconds |
Verify(COMRS232) |
Long | SetSetting("Verify(COMRS232)”,60) | Units = seconds |