Command Sections - Jetter JC-120MC User Manual

Table of Contents

Advertisement

JC-120MC

Command sections

Introduction
Example
Section names
Processing commands
Troubleshooting
Jetter AG
In these sections you can specify commands which are then executed by the
AutoCopy function.
[COMMAND_1]
Command
= DirCreate
Path
= /Homepage
ErrorAsWarning = 1
[COMMAND_2]
Command
= FileCopy
Source
= /SD/Index.htm
Destination
= /Homepage/index.htm
[COMMAND_3]
Command
= FtpConnect
ServerAddr
= 192.168.123.45
UserName
= admin
Password
= admin
The names of the sections consist of the COMMAND_ string followed by a
value. The value is between one and the value of the CommandCount entry
from section [OPTIONS].
The AutoCopy function processes the commands in order of their section
names:
Starting with the command under section [COMMAND_1]
Ending with the command under the section with the value of entry
CommandCount from section [OPTIONS]
Each command section may only contain one command. Thus, you have to
create an individual section for each command.
When an error occurs while a command is being processed, the controller
makes a corresponding entry in the log file. For each command the user can
set, whether the controller is to enter the error into the log file as Error or as
Warning. Make this setting by the optional parameter ErrorAsWarning.
ErrorAsWarning
Parameter does not exist
ErrorAsWarning = 0
ErrorAsWarning = 1
Automatic copying of controller data
Entry into the log file
Error
Error
Warning
571

Advertisement

Table of Contents
loading

Table of Contents