Campbell 21X Operator's Manual page 101

Micrologger
Table of Contents

Advertisement

01:
SECTION
9.
INPUT/OUTPUT INSTRUCTIONS
**"
17
TEMPERATURE OF INPUT
PANEL
***
FUNCTION
This instruction measures the temperature
in
degrees Celsius
of
the input panel.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
4
Input location number
for
temperature
Input locations altered:
*** 18
MOVE TIME
TO INPUT
LOCATION
***
FUNCTION
This instruction takes the current time
in
tenths
of seconds into
the minute, minutes into the day,
or hours into the year and does
a modulo divide
(see Instruction 46) on the time value with
the
number specified
in
the second parameter. The
result is stored
in
the specified input location.
Entering
0
or
a number which
is
greater than
the
maximum value of the time for
the modulo divide
will result
in
the actualtime value being stored.
PARAMETER
1
CODES
Code
Time Units
0
Tenths of seconds into minute
(maximum 600)
1
Minutes into current day
(maximum
1440)
2
Hours into current
year
(maximum 8784)
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Time Code
02:
4
Number
to modulo divide by
03:
4
Input location number
Input locations
altered:
1
*** 19
MOVE
SIGNATURE
INTO
***
INPUT LOCATION
FUNCTION
This instruction stores the signature
of
the Read
Only Memory (ROM) and user program memory
(RAM) into
an input location. This signature
is
not
the same as the signatures given
in
the
Mode.
Recording the signature allows
of any program change
or ROM failure.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
lnput location number
lnput locations
altered:
1
*** 20
PORT
SET
***
FUNCTION
This instruction sets a specified Digital Control
output port either as specified by
a
flag
or
unconditionally.
PARAMETER
1
CODE OPTIONS
Code
Function
sET
LOW (0V)
sET
HrGH (5V)
SET PORT ACCORDING TO FLAG
SET OPPOSITE
TO FLAG X
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
Option code
Control Port number
(1
Input locations
altered:
0
*** 21
ANALOG OUTPUT
FUNCTION
This instruction sets a Continuous Analog
Output to
a
voltage level specified in an input
location. The analog output degrades
approximately
0.17mV every 7 seconds
requiring
the instruction to be periodically
repeated
to maintain a given output accuracy.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
CAO
channel number
lnput location no. of
analog output magnitude
in millivolts
0
00
01
1X
2X
01:
02;
01:
02:
2
2
2
4
9-8
lnput locations altered:

Advertisement

Table of Contents
loading

Table of Contents