Configfile.ini, Onfigfile, Acrocomm programming manual – Acroprint AcroComm User Manual
Page 21
AcroComm Programming Manual
2.2. Configfile.ini
ACROCOMM can only work with one type of configuration at a time. The instructions
that make up the configuration file (configfile.ini) are the following:
Instruction Description
MODEM
It indicates the connection will be made through a modem.
BAUDS number
It indicates the speed of transmission of data that it will
use, where numbers must be one of the following: 1200,
2400, 9600.
PORT number
It indicates which port it will use. It can be any of the
following:
1 for
COM1
2 for
COM2
3 for
COM3
4 for
COM4
CONNECTION mode
It indicates the connection type with the CLOCK. mode
may be SERIAL for serial connection (which is the
default) or TCP for a connection using TCP/IP
TCPADDRESS n.n.n.n
This is the TCP/IP address of the clock the ACROCOMM
will initially connect with. (Default address of the clock is
192.168.0.254)
TCPPORT number
Indicates the TCP/IP port of the clock the
ACCROCOMM will initially connect with. This must be a
number greater than 10000 and MUST coincide with the
number set in the CLOCK. Default for this value in the
clock is 10001.
WAIT number
It indicates how long (in seconds) it should wait for a
response from the CLOCK after sending an order.
R
It indicates that a network of clocks will be connected.
S
It indicates that only one clock will be connected.
IDs
A list of the clocks’ IDs; it indicates which clocks are
connected. An ID is made up by the character’s ASCII
number, between ‘[ ]’, i.e.: [number]. See Appendix F for
ASCII Code List.
The default values for these variables are the following: (Example 1)
BAUDS 9600
PORT 1
WAIT 4
S
[49]
For example, if our system is composed by a network of 5 clocks connected through a
Modem on the COM2 port, the configuration file will be: (Example 2)
21