User`s guide

*
Main and watchdog applications must be set to HOT state, and the backup
application to COLD.
*
Application mapping must be made in main, watchdog and backup
applications.
#CREATE APL:V = LIST(- ; ** Main Application **
TT = "LOCAL",- ; Translation Type
NA = %APL_NAME,- ; Name of application directory
AS = "HOT",- ; Application state (COLD, WARM, HOT)
PQ = 2,- ; Number of parallel queues
SN = %APL_NUMS(3),- ; SHADOW APPLICATION
SW = %APL_NUMS(2),- ; SHADOW WATCHDOG
SC = 240,- ; SHADOW MAXIMUM CONNECTION TIME IN SECONDS
...
#LOOP_WITHI=1..LENGTH(%APL_NUMS)
@NUM = %APL_NUMS(%I)
#SET APL:VAP(%NUM) = %NUM
#LOOP_END
This watchdog application is not needed, if the main and watchdog applications are
combined by selecting the watchdog application number to be the same as for the
main application in vector "@APL_NUMS", in the beginning of the Sys_Bascon.
com.
#CREATE APL:V = LIST(- ; ** Watch dog Application **
TT = "LOCAL",- ; Translation Type
NA = "WD",- ; Name of application directory
AS = "HOT",- ; Application state (COLD,WARM,HOT)
PQ = 2,- ; Number of parallel queues
...
#LOOP_WITHI=1..LENGTH(%APL_NUMS)
@NUM = %APL_NUMS(%I)
#SET APL:VAP(%NUM) = %NUM
#LOOP_END
4. Create a backup application:
#CREATE APL:V = LIST(- ; ** Backup Application **
TT = "LOCAL",- ; Translation Type
NA = SUBSTR("BCK" + %APL_NAME,1,8),-; Name of application directory
AS = "COLD",- ; Application state (COLD, WARM, HOT)
SN = %APL_NUMS(1),- ; Shadow application = Main application
SW = %APL_NUMS(2)- ; Shadow watchdog
...
#LOOP_WITHI=1..LENGTH(%APL_NUMS)
@NUM = %APL_NUMS(%I)
#SET APL:VAP(%NUM) = %NUM
#LOOP_END
5. Create a backup application with the MicroSCADA control panel.
6. Set the name to BCK, plus five first characters of the main application name (see
the backup application definition in Sys_Bascon.com).
The name can also be something else, but it has to be the same as defined in the
Sys_Bascon.com file.
7. Start MicroSCADA.
8. Enter a Base system tool picture and select Base Object, (SYS), then select
Tools>HSB Management. Check if the shadowing object manager is installed.
If not, Click Install to install package.
This will create all the command procedures needed for the shadowing
management.
9. Enter this backup tool and select File > Save. Then it asks you to modify the
backup command procedure name from SHADBACKUP to BCK_CREATE.
130
SYS 600 9.2SYS 600 9.2
MicroSCADA Pro
Installation and Administration Manual
1MRS756115