Considerations, Acrocomm programming manual – Acroprint AcroComm User Manual
Page 23

AcroComm Programming Manual
Ex.: Acrocomm @configfile.ini -S#ClockId
-S[ascii]
Select Clock with ascii identification ascii(character’s ascii
number). Ex.: Acrocomm @configfile.ini -S[91]
-M{T}or{P}number Dial a modem with telephone number given in number.
Select either {T} for Tone or {P} for Pulse dialing.
Ex.: Acrocomm @configfile.ini -M {T or P} number
-Adestination
Poll transactions from clock and add to destination file.
Ex.: Acrocomm @configfile.ini -Adestination
-Edestination
Poll transactions from clock and send them to destination
file, if destination is not specified, they will be displayed on
screen.
Ex.: Acrocomm @configfile.ini -Edestination
-Nsource
Send instruction file in source, if source is not specified,
the default file will be PROGRAM.CLK.
Ex.: Acrocomm @configfile.ini -Nsource
-R
Send initialization instruction to the clock’s memory.
Ex.: Acrocomm @configfile.ini -R
-Uoffset
Update Clock’s Time and Date. offset is the time
difference between the clock and the computer.
Ex.: Acrocomm @configfile.ini -U-1
-H
Obtain memory information from terminal.
Ex.: Acrocomm @configfile.ini -S#1 –Hheader.txt
(* See Appendix D Terminal Memory Information)
For Example:
1.
To update a clock’s Time and Date using the system defaults (See
Example 1) use the following command lines:
ACROCOMM -U
Since there was no configuration file specified, the system defaults will
be used.
2. To
update and program a network of 5 clocks connected through a
modem configuration file (See Example 2) use the following command
line:
Acrocomm @configfile.ini -U –Nprogram.clk
2.3.1. Considerations
When the program is executed in the form of command line, there are several
considerations that must be taken into account; when a chain of parameters is
formed, they must be in a logical sequence to correctly execute instructions. If a
modem configuration is used, the first command in the chain must be to dial a
number, then select a clock, followed by the additional functions desired for the
specified clock.
There is no limit to the number of instructions that can be put on the command
line; there is only the limit that DOS has on length of line.
The commands will be executed as they are received, with the following
consideration: If a command was not executed successfully the program will
abort the operation with the current clock, with the logical consequence that it
will not execute any of the tasks that follow the command that caused the error
23