You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For systems with multiple network adapters, this allows binding the iChen® Server to a particular network adapter by specifying its IP address.
StandAlone
true or false
true
4.2
If true, the iChen® Server is operating as a single instance. If false, the iChen® Server instance is operating as part of a cluster.
DatabaseEnable
true or false
true
4.2
If false, the configuration database is disabled and the iChen® Server operators in an online-only mode.
DatabaseVersion
unsigned short integer
1
4.0
Version of the configuration database. This is for backward-compatibility purposes.
DatabaseSchema
string
none
4.0
Schema in the configuration database to use, for database systems that require it (e.g. SQL Server for non-dbo schema's).
DataStore
string
External archive database is disabled
4.0
Connection name for the external archive database (if any); the named connection must exist in the application config file under the <connectionStrings> section. Alternatively, the raw ODBC connection string can be provided (version 4.2 and above).
JobModesFile
string
./assets/iChenServerJobModes.json
4.0
Path to a text file containing the text names of the list of job-modes from ID01 to ID15.
iChenWeb_ServerLogs_Path
string
./logs
4.0
Path to the directory/folder containing server logs.
Controller Settings
Key
Value
Default if missing
Server Version
Description
SendAliveCounter
unsigned integer
10 (10 seconds)
4.0
Number of seconds between sending out ALIVE messages to each connected controller. (Also applicable for Open Protocol™ connections.)
RecvAliveCounter
unsigned integer
20 (20 secconds)
4.0
Number of seconds to wait to time-out a controller connection when ALIVE messages are not received. (Also applicable for Open Protocol™ connections.)
Controller_Connection_Timeout
unsigned float
30.0 (30 minutes)
4.1
Number of minutes to time-out a controller when no heartbeat's are received. A timed-out controller is assumed to be off-line.
Controller_Mappings_Path
string
./assets
4.2
Path to the directory/folder containing the necessary address/variable mapping tables for different controller types.
Controller Serial Number Mappings
A configuration file can have multiple controller serial number mapping.
Key
Value
Server Version
Controller serial number
Regular expression matching a controller address. For TCP/IP connections, it should be the IP address plus port number in the format xxx.xxx.xxx.xxx:ppp. For serial port connections, it should be COMx (Windows) or ttyxxx (Linux).
4.0
Actual controller serial number
New serial number to use
4.2
Serial Port Listeners
A configuration file can have multiple serial port listener settings.
Key
Value
Server Version
Serial port name. Should be COMx (Windows) or ttyxxx (Linux).
Serial port settings in the format baud,parity,bits,stop (e.g. 9600,n,8,1 for 9,600 baud, no parity, 8-bit data, 1 stop bit).
4.0
iChen® Protocol Settings for Controllers
Key
Value
Default if missing
Server Version
Description
Port
unsigned short integer
34954
4.0
Port number to listen for the iChen® protocol.
DefaultControllerTimeZone
-12.0 to 12.0
O/S time-zone
4.2
All controllers connected via the iChen® protocol are assumed to be this number of hours offset from the system's time-zone, unless individually specified in the configuration database.
RestrictMoldsToJobCards
true or false
false
4.0
If true, mold lists provided are restricted to molds allocated under the current job-card. If false, all molds are retrieved regardless of the current job-card. This is usually set to true when job-card control is used.
AutoLoginLevel
0-10
none
4.0
When set, a controller will automatically login to a standard user with the specified authorization level when first connected. If missing, a controller will logout of all users when first connected.
SMP (Simple Message Protocol) Settings
Key
Value
Default if missing
Server Version
Description
SMP_Port
unsigned short integer
SMP is disabled
4.2
Port number to listen for the SMP (Simple Message Protocol), usually 34958.
Open Protocol™ Settings
Key
Value
Default if missing
Server Version
Description
Terminal_Ws_Port
unsigned short integer
5788
4.0
Port number of the Open Protocol™ WebSocket server.
SendAliveCounter
unsigned integer
10 (10 seconds)
4.0
Number of seconds between sending out Alive messages to each connected client. (Also applicable for iChen® protocol controller connections.)
RecvAliveCounter
unsigned integer
20 (20 secconds)
4.0
Number of seconds to wait to time-out a controller connection when Alive messages are not received. (Also applicable for iChen® protocol controller connections.)
Track_CycleData
true or false
false
4.2
If true, a unique ID will be generated for each cycle data record, allowing tracking.
Web/REST Server Settings
Key
Value
Default if missing
Server Version
Description
iChenWeb_Enable
true or false
true
4.2
If false, the web server is disabled.
iChenWeb_Port
unsigned short integer
5757
4.0
Port number of the web server.
iChenWeb_Http_Redirection_Port
unsigned short integer
80
4.2
Port number of web server's HTTP end-point when HTTPS is enabled. Any request made to this port will be redirected to iChenWeb_Port which serves HTTPS. If zero, then there will be no HTTP end-point when HTTPS is enabled.
iChenWeb_WWW
string
./www
4.0
Path to the root of the web server contents.
iChenWeb_TerminalConfigFile
string
./terminal/config/default.js
4.0
Path, relative to that of iChenWeb_WWW, to the terminal configuration file.
iChenWeb_Timeout
unsigned integer
15 (15 minutes)
4.0
Number of minutes to time-out a web server login when idle.
Https_Certificate_File
string
HTTPS is disabled
4.0
HTTPS certificate file.
Https_Certificate_Hash
string
HTTPS is disabled
4.0
HTTPS security hash.
Azure Table Storage Settings
Key
Value
Default if missing
Server Version
Description
CloudStore_Account
string
Cloud storage is disabled
4.0
Azure Table Storage account name.
CloudStore_Key
string
Use CloudStore_Signature
4.0
Azure Table Storage access key.
CloudStore_Signature
string
Cloud storage is disabled
4.0
Azure Table Storage SAS token, if no access key is provided.
CloudStore_UseHttps
true or false
true
4.0
Use HTTPS instead of HTTP to access Azure Table Storage.
CloudStore_CycleData_BatchSize
unsigned short integer
same as CloudStore_BatchSize
4.2
Upload cycle data records to Azure Table Storage in this batch size. Set this to 1 if cycle data records need to be available immediately.
CloudStore_BatchSize
unsigned short integer
5
4.2
Upload other records to Azure Table Storage in this batch size.
Shared Cache Settings
Key
Value
Default if missing
Server Version
Description
KeepSettings
true or false
true
4.0
If true, mold data settings are kept as part of the shared cache information. This is usually set to false for cloud-based shared caches to reduce per-device storage usage.
KeepCycleData
true or false
true
4.2
If true, the last set of cycle data values are kept as part of the shared cache information. This is usually set to false for cloud-based shared caches to reduce per-device storage usage.
CloudCache_Connection
string
Redis cache is disabled
4.0
Connection string to a cloud Redis cache for use as a shared cache.
Azure IOT Hub Settings
Key
Value
Default if missing
Server Version
Description
Broadcast_Messages
true or false
false
4.1
Broadcast Open Protocol™ messages to the Azure IOT Hub.
Broadcast_Interval
unsigned integer
2000 (2 seconds)
4.2
Number of milliseconds to batch up Open Protocol™ message broadcasts to the Azure IOT Hub. This is to avoid hitting throttle limits. A higher throttle will batch up more messages before sending thus reducing data traffic, but will also lead to longer delays between actual events and messages being sent.
IoTHub_Server_Connection
string
Use IoTHub_Device_Connection
4.1
Connection string to an Azure IOT Hub with server authorization.
IoTHub_Device_Connection
string
Azure IOT Hub is disabled
4.1
If IoTHub_Server_Connection is not set, connection string to a device twin on an Azure IOT Hub shared cache. The marker {0} in the connection string will be replaced by the controller's serial number.
Azure Event Hub Settings
Key
Value
Default if missing
Server Version
Description
EventHub_Connection
string
Azure Event Hub is disabled
4.1
Connection string to an Azure Event Hub to read broadcast Open Protocol™ messages.
EventHub_Group
string
Azure Event Hub is disabled
4.1
Consumer group of the Azure Event Hub reader.
EventHub_Storage_Connection
string
Azure Event Hub is disabled
4.1
Connection string to an Azure Blob Storage for use with the Event Hub Processor.
EventHub_Storage_Container
string
Azure Event Hub is disabled
4.1
Name of the container in an Azure Blob Storage for use with the Event Hub Processor.
OPC UA Settings
Note: OPC UA is a charged feature.
Key
Value
Default if missing
Server Version
Description
OpcUa_Key
string
OPC UA is disabled
4.0
Authorization key for the OPC UA feature.
OpcUa_Tcp_Port
unsigned short integer
5789
4.0
Port number for the TCP/IP end-point.
OpcUa_Http_Port
unsigned short integer
5790
4.0
Port number for the HTTP end-point.
OpcUa_Https_Port
unsigned short integer
HTTPS end-point is disabled.
4.0
Port number for the HTTPS end-point (typically 5791).