Create the Setup Workflow#
For the automation controller to work properly, it is required to configure a setup workflow for each of the drivers used.
If you wish to perform that action, choose Views and Workflow, as seen below.
A Setup page is created automatically and some changes should be done. Each of the driver's blocks is highlighted in a color previously specified at the Automation Controller/Driver Definitions' creation step. See Create Automation Controller.
Settings#
Some settings can be changed in each of the drivers. These settings are protocol-specific and can be different in another driver.
To change the settings, tick the Setup case and choose Settings.
A new pop-up window will be displayed in the first page, where some settings can be changed.
- Name - the name of the block.
- Description - the description of the block.
- Reconnect interval - the time to wait to try to reconnect to the equipment after the connection is lost or has failed.
- Reconnect max attempts - maximum number of tries before it changes to idle state. After this, a manual action must be done to restart the communication.
- Require buffering - active or inactive.
In the second page of the settings, the protocol-specific settings can be changed, a list will appear in the left side of the page and when an item is selected, the value can be changed.
Workflow#
For each Driver, some connections must be performed to allow the driver to successfully start the communication's initialization. See the next image as an example.
- Connect the onInitialize output (1) to the connect input (2) of the 'OnEquipment Setup' block; this will result in the driver trying to connect to the defined equipment.
- Connect the onSetup output (3) of the 'OnEquipment Setup' to the success input of the 'Equipment Setup Result'; after the communications are established the driver will do whatever it is necessary for the protocol initialization; it is protocol dependant and is different for each protocol.
- It is allowed to perform some customized tasks between these two blocks, however, after all is done, it is mandatory that the success input is invoked.



