Step |
Action |
---|---|
1 |
Create a valid script file. For example, name the script file FirewallMaintenance.cmd. |
2 |
Load the script file on the SD card. For example, load the script file in the usr/Cfg folder. |
3 |
In the file Sys/Cmd/Script.cmd, add a code line with the command Firewall_install "/pathname/FileName" For example, the code line is Firewall_install "/sd0/usr/Cfg/FirewallMaintenance.cmd" |
4 |
Insert the SD card on the controller. |
Using a Function Block in the Application
Step |
Action |
---|---|
1 |
Create a valid script file. For example, name the script file FirewallMaintenance.cmd. |
2 |
Load the script file in the controller memory. For example, load the script file in the usr/Syslog folder with FTP. |
3 |
Use an ExecuteScript function block. For example, the [SCmd] input is 'Firewall_install "/usr/Syslog/FirewallMaintenance.cmd"' |