3 syntax of the command line start, Global drive cam loader – Lenze Global Drive Cam Loader User Manual

Page 48

Advertising
background image

Global Drive Cam Loader

Control via script files

Syntax of the command line start

48

1.1 EN - 05/2005

L

7.3

Syntax of the command line start

Use the following syntax to start the Cam Loader in batch mode:

[ The /batch parameter ensures the script-controlled execution of the program

functions.

[ The script file parameter indicates the script file.

– It is possible to use absolute and relative path names. A relative path always refers

to the current directory.

[ The entry of the log file parameter is optional. It contains the name of the log file in

which all Cam Loader activities and error messages are recorded.
– If you do not enter a path for the log file the log file will be saved in the same

directory as the script file.

– If you do not enter the log file parameter Cam Loader does not create a log file.

Example:

LCDownload

LC download

0 = no

1 = yes (no compilation, only LC download)

DriveType

Target system

0 = 9300 servo PLC / ECS

1 = 9300 EK (9300 servo cam profiler)

DeviceName

Name of the target system in the name area of the DriveServer

ParameterSetFile

Parameter file

only with 9300 EK (9300 servo cam profiler)

LC-Path

Directory for the LCx file

PathCurveXXX

ASCII file containing the motion profiles for product XXX

PathPositionXXX

ASCII file containing the position markers for product XXX

PathContactorXXX

ASCII file containing the cam tracks for product XXX

SegmentedXXX

Segmentation

0 = no

1 = yes

PathCurve_B002

ASCII file with the motion profiles for product XXX (

SegmentedXXX=1

)

PathCurve_C002

ASCII file with the motion profiles for product XXX (

SegmentedXXX=1

)

PathCurve_D002

ASCII file with the motion profiles for product XXX (

SegmentedXXX=1

)

PathCurve_E002

ASCII file with the motion profiles for product XXX (

SegmentedXXX=1

)

Key

Parameter

CamLoader.exe /batch script file [log file]

CamLoader.exe /batch MyScript.cmd MyLogfile.txt

Advertising