Programming the IP 265 with COM 265
Constants
The IP 265 user program may include:
•
Bit constants
•
Count constants
•
Time constants
Bit constants:
You may use the two bit constants "0" and "1". Bit constants are used, for example, to specify the
response of the COM 265 language element "Clockpulse generator".
Count constants:
Numeric constants can be used to set counters (count 0 to 999) and comparators, and may be
represented in
•
Hexadecimal:
•
Decimal:
Time constants:
Preset values for timers may be specified in the IP 265 user program as constants. Time constants
must begin with "KT".
KT 12.1
Key for the time base:
Time base
Time factor
Parameters
The use of input and output parameters in the IP 265 user program is described in detail in
Section 4.3 "Output and Input Data" and in Section 5 "Addressing".
9-10
e.g.: KH 0C or
e.g.: 12, KF+12, KC 12
Operand
Coded time base
Time (0 to 999)
No postfix
0.001 s
.0
.1
0.01 s
0.1 s
IP 265
.2
1 s
EWA 4NEB 812 6130-02a