Initial Task Startup
The Task Status page for an IoTServer with no protocols configured yet will have only the Data Engine displayed.
Go to the Task Configuration page. The task list will appear as illustrated below. Select the task you wish to configure. Keep in mind channel 0 is always the Data Engine, channel 1 will always be the SNMP Agent if you wish to include one, and channels 2 and 3 are always reserved for the serial ports 2 and 3.
Let's configure data channel 2, or serial port 2, as an example. Select that channel from the system task list. Next, select its function from the function list. Then enter the applicable parameters like baud rate, etc. The nature of additional parameters will vary according to function selected for the channel.
All tasks must be initially started up with at least a "minimal" XML file. You cannot start a task with absolutely no starting point. If you have no previously saved XML that you wish to load, you can use the minimal file already provided in the device, and simply edit the minimal configuration to make changes as desired at a later time.
After you have entered all of the necessary settings, and selected a configuration file, click Save Settings.
Your task is now ready to run. Go to the Task Status page. You will find the task listed with status "Stopped". Click the start button. Upon startup, new databases for this task are created, the databases are loaded for the first time using the content of the XML configuration file you provided, and the task will proceed on to normal operation.
After a pause while the task starts, the Task Status page will show "Running" and the buttons will change accordingly.
You will need to refresh your page to get an updated list, but once a new protocol is added to the configuration, it will automatically appear in the Protocol Status and Protocol Configuration menus on the left. To further configure the task you just created, go to its configuration menu under Protocol Configuration.
Minimum configuration files that are provided already preloaded are as follows:
|File Name||Function or purpose|
|global.xml||Minimal task manager configuration with only a Data Engine enabled.|
|minObjects.xml||Minimal set of 3 data objects.|
|minServerPrimary.xml||Minimal configuration for primary Modbus RTU slave or Modbus TCP server. Should be used only once.|
|minServerSecondary.xml||Minimal configuration for secondary Modbus RTU slave or Modbus TCP server. Use this for additional instances of slave/server after primary has been defined once.|
|minRtuMaster.xml||Minimal configuration for Modbus RTU Master.|
|minTcpClient.xml||Minimal configuration for Modbus TCP Client (master).|
|minSnmpAgent.xml||Minimal configuration for an SNMP Agent based on the minimal set of data objects in minObjects.xml.|
|minSnmpClient.xml||Minimal configuration for an SNMP Client.|
|minSnmpTrapRecv.xml||Minimal configuration for an SNMP Trap Receiver.|