|
<< Click to Display Table of Contents >>
Execution |
When executed, Elipse SuperDriver Driver immediately creates its Slave objects. When a Slave is created by Elipse SuperDriver Driver, this Slave remains in a standby status until a Tag enters the In Advise mode and is placed on its cache. Elipse SuperDriver Driver then performs a management of all declared Tags subordinated to it and that are In Advise. The management algorithm of Tags of Elipse SuperDriver Driver separates and adds Tags to caches of their respective Slaves, as these Tags enter the In Advise mode. Exiting an In Advise status leads to removal of a Tag from the cache. Therefore, having an In Advise status is a condition for a Tag to enter the reading and writing cache of a Slave.
As soon as there is one or more Tags on the cache of a Slave, this Slave immediately switches to a reading or writing status and processes a list of Tags that must be read or written. This list of Tags is processed according to the next steps:
1.If there are I/O Tags:
1.The Driver of a Slave object starts and connects to a remote device.
2.The Driver processes its I/O Tags, one by one.
3.The Driver processes special Tags, one by one, which are stored in the memory of the Slave.
4.The Driver then disconnects and stops.
2.If there are special Tags, these Tags are updated with the content stored in the memory of the Slave.
3.If there are service retries, returns to step 1 (one).
Tags In Advise status are always read or written after each expiration time of the General Scan mode, and its scan period is defined by a general value configured on the SuperDriver tab, that is, the management of Elipse SuperDriver Driver services does not take into account those scan period values, that is, the Scan property of each one of the Tags, unless the individual scan mode is enabled for the respective Profile of these Tags. In Advise Tags are only read or written by respecting their individual scans when the Individual Scan mode is enabled.
A Slave returns to its standby status while waiting until the next Tag expires its scan period. When this situation happens, this Slave builds a new list of Tags to be read or written.
This execution process described previously is performed for any Slave subordinated to Elipse SuperDriver Driver. It is not allowed that Slaves with the same TCP/IP ports have connections performed at the same time. A Slave that needs a busy TCP port remains in standby mode until that resource is released.