
SB
set / get DIO port A, B bit status
IMM PGM MIP
USAGE
♦
♦
♦
SYNTAX
SB
nn or
SB
?
PARAMETERS
Description
nn
[ int ]
-
hardware limit configuration
Range
nn
-
0
to
0FFFFFFH
(hexadecimal with leading zero(0) )
or
?
to read current setting
Units
nn
-
None
Defaults nn
missing:
error 38, COMMAND PARAMETER MISSING
out of range:
error 7, PARAMETER OUT OF RANGE
DESCRIPTION
This command is used to either set all digital I/O (DIO) port A, B, and C logic
level or read its present status. Bits 0-7 correspond to port A, bits 8-15 to port B,
and bits 16-23 to port C. Each 8-bit port can be set as either input or output with
the
BO
command.
A DIO within a port configured as an input can only report its present HIGH or
LOW logic level. Whereas a DIO bit within a port configured as an output can
set(1) or clear(0) the corresponding DIO hardware to HIGH or LOW logic level.
Reading the status of a port configured as output returns its present output status.
Note:
All direction bits are automatically zeroed, or cleared, after a system reset.
Therefore all DIO ports default to input by default.
Note:
Each DIO bit has a pulled-up resistor to +5V. Therefore, all bits will be at HIGH
logic level if not connected to external circuit and configured as input.
BIT
#
VALUE DEFINITION
0
0
port A bit-0 at logic level 0 (LOW)
*0
1
port A bit-0 at logic level 1 (HIGH)
1
0
port A bit-1 at logic level 0 (LOW)
*1
1
port A bit-1 at logic level 1 (HIGH)
2
0
port A bit-2 at logic level 0 (LOW)
*2
1
port A bit-2 at logic level 1 (HIGH)
3
0
port A bit-3 at logic level 0 (LOW)
*3
1
port A bit-3 at logic level 1 (HIGH)
4
0
port A bit-4 at logic level 0 (LOW)
continued
*4
1
port A bit-4 at logic level 1 (HIGH)
3-126
Section
3
–
Remote
Mode
Содержание ESP300 Series
Страница 1: ...ESP300 Motion Controller Driver User s Manual...
Страница 4: ...ESP300 1999 EU Declaration of Conformity iv Preface...
Страница 29: ...This page is intentionally left blank Section 2 Modes of Operation 1 15...
Страница 30: ......
Страница 230: ...4 16 Section 4 Advanced Capabilities...
Страница 274: ...This page is intentionally left blank 6 6 Section 6 Servo Tuning...
Страница 290: ...This page is intentionally left blank B 6 Appendix B Trouble Shooting and Maintenance...