![VELMEX VXM-1 Скачать руководство пользователя страница 22](http://html.mh-extra.com/html/velmex/vxm-1/vxm-1_user-manual_863414022.webp)
Pausing
and
Input/Output
Commands
P-
PA
PA-
U0
U1
P
x
x
x
x
.
Examples:
This
example
pauses
for
1
second:
3
<cr>
This
example
pauses
for
15
seconds:
3
<cr>
This
example
pauses
for
1
hour:
3
<cr
!
Example:
This
example
pauses
for
50
milliseconds
(0.050
seconds):
3
<cr>
Example:
This
example
pauses
for
15
seconds
holding
output
1
high:
3$
<cr>
user
output
1
(I/O,14)
will
go
to
+5V
for
the
duration
of
the
pause.
Memory
usage
=
3
bytes
.
Example:
This
example
pauses
for
15
milliseconds
(0.015
seconds)
holding
output
1
high:
PA-150
<cr>
Wait
for
a
"low"
on
the
user
input1holding
user
output
1
"high"
(+5V)
while
waiting.
A
"low"
is
a
voltage
less
than
0.8
VDC
(not
to
be
less
than
0V)
applied
to
I/O,5.
User
output
1
(I/O,14)
will
go
to
+5V
for
the
duration
of
the
wait.
A
simple
push-button
or
toggle
switch
can
be
used
between
Gnd
(I/O,1)
and
input
1
(I/O,5)
to
satisfy
this
input.
The
input
level
must
be
high
for
at
least
1
ms
to
be
a
valid
input.
This
command
is
best
used
when
interfacing
to
other
solid-state
logic
devices,
refer
to
the
"
U50
"
command
(Appendix
B)
for
push-button
switch
input.
Memory
usage
=
2 bytes
.
22
3
DXVHWHQWKVRIDVHFRQG
$
OWHULQJWKHVWDWHRIRXWSXW[[ WRVHF
SDXVHZKHQ[ 7KHXVHURXWSXW,2ZLOOJRWR9IRUWKHGXUDWLRQRIWKH
SDXVH
0HPRU\XVDJH
E\WHV
:DLWIRUD
ORZ
RQWKHXVHULQSXW$
ORZ
LVDYROWDJHOHVVWKDQ9'&QRW
WREHOHVVWKDQ9DSSOLHGWR,2$VLPSOHSXVKEXWWRQRUWRJJOHVZLWFKFDQEH
XVHGEHWZHHQ*QG,2DQGLQSXW,2WRVDWLVI\WKLVLQSXW7KHLQSXWOHYHO
PXVWEHKLJKIRUDWOHDVWPVWREHDYDOLGLQSXW7KLVFRPPDQGLVEHVWXVHG
ZKHQLQWHUIDFLQJWRRWKHUVROLGVWDWHORJLFGHYLFHVUHIHUWRWKH
8
FRPPDQG
$SSHQGL[%IRUSXVKEXWWRQVZLWFKLQSXW
0HPRU\XVDJH
E\WHV
3
DXVHWHQWKVRIDVHFRQG[[ WR
0HPRU\XVDJH E\WHV
3DXVH
[
WHQWKVRIDPLOOLVHFRQG[ WR
0HPRU\XVDJH
E\WHV
3
DXVHWHQWKVRIDPLOOLVHFRQGOWHULQJWKHVWDWHRIRXWSXW WR7KH