![Campbell CR23X Скачать руководство пользователя страница 146](http://html1.mh-extra.com/html/campbell/cr23x/cr23x_operators-manual_489029146.webp)
SECTION 9. INPUT/OUTPUT INSTRUCTIONS
9-12
*** 20 SET PORT ***
FUNCTION
This instruction sets or configures specified
control ports (C1-C8). On power-up, ports
default to input configuration (i.e., they are not
driven high or low by the CR23X, and can be
used to read the status of an external signal
using Instruction 25). When a port is set high,
low, pulsed, or toggled by this instruction or a
program control command, the port is
automatically configured as an output.
NOTE
: Do not apply voltages greater than
16 VDC to control ports. 5.0 VDC is
preferred.
Ports can also be set using the
6
Mode or
the J and K telecommunications commands.
However, the ports MUST be configured as
outputs before these means of setting them will
work. The option to configure the port as an
output is used when a port must be configured as
an output without changing the state of the port.
Pulse duration, initiated by a program control
instruction, can be set for each control port
(Table 12-2). Instruction 20 does not pulse the
port, it only sets the duration. If Instruction 20 is
not used to set the duration, the pulse
command will result in a 10 ms pulse.
Instruction 20 has two 4 digit parameters. Each
digit represents one control port. The code (0-
9) entered as the digit determines what effect
command 20 has on the corresponding port.
TABLE 9-6. Port Configuration Option Codes
Code
Function
0
Set port low
1
Set port high
2
Toggle port
3
Pulse duration 1 ms
4
Pulse duration 10 ms
5
Pulse duration 100 ms
6
Pulse duration 1 s
7
Configure as output
8
Configure as input
9
Leave unchanged
Duration of pulse on subsequent pulse port
command in Program Control Instruction.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
C8, C7, C6, C5 option
codes
02:
4
C4, C3, C2, C1 option
codes
Input locations altered: 0
*** 21 PULSE PORT WITH DURATION ***
FUNCTION
Instruction 21 pulses a control port for a
specified amount of time in hundredths of
seconds (0.01 seconds).
The pulse works as a toggle; if the port is high
before the instruction is executed, it will pulse
low and vice versa. Any value less than 1,
including 0, gives a pulse of 10 milliseconds.
The maximum input value is limited to 65,000,
which gives a pulse length of 650 sec.
Parameter 1 is the port number to be pulsed.
Parameter 2 is the input location containing the
pulse length.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Control port
02:
4
Input location of pulse
length in hundredths of
a second
Input location altered: 0
Input locations read: 1
*** 22 DELAY WITH OPTIONAL ***
EXCITATION
FUNCTION
This instruction is used to delay program
execution. The excitation on time (parameter 2)
should be set to zero and the off time delay
(parameter 3) set to the desired delay. This
instruction can also be used in conjunction with
others for measuring a response to a timed
excitation using the excitation outputs. It sets
the selected excitation output to a specific
value, waits for the specified time, then turns off
the excitation and waits an additional specified
time before continuing execution of the following
instruction. Analog power is turned off during
delay after excitation to drop power to 3 mA.
Содержание CR23X
Страница 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Страница 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Страница 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Страница 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Страница 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Страница 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Страница 103: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 15 CR23X AVW1 FIGURE 7 15 2 Well Monitoring Example ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Страница 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Страница 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Страница 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Страница 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Страница 239: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 13 S A N Y O FIGURE 14 11 6 Removal of band clamp and battery ...
Страница 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Страница 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Страница 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Страница 278: ...This is a blank page ...
Страница 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Страница 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 300: ...This is a blank page ...
Страница 302: ...This is a blank page ...
Страница 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 342: ...This is a blank page ...
Страница 373: ...This is a blank page ...