Dynamic Changes Procedure

Using an SD Card

Step

Action

1

Create a valid firewall script.

For example, name the firewall script FirewallMaintenance.cmd.

2

Load the firewall script on the SD card.

For example, load the firewall script 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"

NOTE: The file name is case sensitive.

4

Insert the SD card on the controller.

Using a Function Block in the Application

Step

Action

1

Create a valid firewall script.

For example, name the firewall script FirewallMaintenance.cmd.

2

Load the firewall script in the controller memory.

For example, load the firewall script in the usr/Syslog folder with FTP.

3

Use an ExecuteScript function block. For more information, refer to the M262 System Library Guide.

For example, the [SCmd] input is 'Firewall_install "/usr/Syslog/FirewallMaintenance.cmd"'

NOTE: The file name is case sensitive.