<< Click to Display Table of Contents >> Navigation: Modbus Universal MasterOPC Server > Description of the Mod_RSSim Simulator > Script Automation > Script Automation |
The simulator can be automated from a script; the simulator uses the Microsoft Script Host, only the VB language is currently selectable (see Language Help ).
The primary function of a script is to allow emulation of normal PLC activity. Activity can be based on SCADA/HMI controls, and be in the form of a response action, or be totally autonomous.
To automate the simulator (to enable the execution of a script), do the follows:
In the dialog Animation settings, click the option Training PLC simulation, and then, the button to select a script file:
In the standard OS dialog displayed, select a script file. The selected file is displayed in the Script textbox:
A file pathname can be specified in the Script textbox manually.
The specified script will be used in all next simulator sessions.
The simulator API provides simulator automation from a script.
A link for inquisitives: C++ interface nomenclature .