App.LogActive = True
App.PrintToLog "make_store"
App.LogActive = false
sourcePath = basePath & "\zip"
destinationPath = basePath & "\cardfiles"
Set oExec = WshShell.Exec _
("C:\Program Files\siemens\step7\s7bin\u7mkcnfx " _
' needed !!! for waiting end execute zip
do While oExec.Status = 0
loop
App.LogActive = True
App.PrintToLog "make_archive"
App.LogActive = false
sourcePath = basePath & "\cardfiles"
destinationPath = basePath & "\cfes"
Set oExec = WshShell.Exec _
("C:\Program Files\siemens\step7\s7bin\u7mkcnfx " _
' needed !!! for waiting end execute zip
do While oExec.Status = 0
loop
App.LogActive = True
App.PrintToLog "ende make_archive"
App.LogActive = false
The card images in the cardfiles directory and the BOOT.INI file can then be transferred
to the memory card of the SIMOTION device via a read/write device connected to the PG/PC
(Creating the card images of the configurations (Page 115)).
The archived card images in the cfes directory as well as the BOOT.INI file can be
transferred directly to the corresponding SIMOTION device. Corresponding scripts are shown
in the appendix under Loading the card image to the target device by means of SCOUT
scripting (Page 128).
Basic Functions for Modular Machines
Function Manual, 04/2014
A.2 Creating the card images for the configuration server by means of SCOUT scripting
& " /m""MAKE_STORE""" _
& " /s""" & sourcePath & """" _
& " /d""" & destinationPath & """" _
& " /i""VE000041""" _
& " /a""ON""")
countTime = countTime + 1
& " /m""MAKE_STORE_ARCHIVE""" _
& " /s""" & sourcePath & """" _
& " /d""" & destinationPath & """" _
& " /i""ARCH0041""")
APP.Time 1
Appendix
127