MM4006
CB C l e a r I/O outputs bits
Usage • IMM
•
PGM
•
MI13
Syntax x x C B n n
Parameters
Description x x [ i n t ]
—
I / O bit number.
nn [float]
—
I / O bit mask.
Range x x
—
0 to 8.
nn
—
0 to 255.
Units x x
—
None.
nn
—
None.
Defaults x x M i s s i n g : 0 .
Out of range: E r r o r E.
Floating point: E r r o r A.
nn
M i s s i n g : 255.
Out of range: E r r o r C.
Floating point: Decimal part truncated.
Description T h i s command clears one to all output bits of the I/O port. If xx is specified
between 1 and 8, the
nn
mask must be missing and then the selected bit
will be cleared.
If xx is missing or set to 0 and
nn
is between 1 and 255, the controller will
clear all bits corresponding to the mask. For example, if
nn
is 140, the
equivalent binary mask is 10001100 which means that I/O output bits num-
ber 3, 4 and 8 will be cleared (remember that I/O bits are numbered from 1
to 8).
If xx is missing or set to 0 and
nn
is not specified, the controller clears all 8
bits. This is equivalent to setting
xx to
0 and
nn
to 255.
NOTE
Remember that having an open collector configuration, a clear bit means
a non-conductive transistor. Using a pull-up resistor, a clear output bit
will measure a logic high, thus making the output port be the reverse
logic type.
NOTE
For the hardware definition o f the I / O port, please see Appendix B,
Connector Pinouts, GPIO Connector.
Returns N o n e .
Errors
A — U n k n o w n message code.
E — I n c o r r e c t I/O channel number.
Rel. Commands R O — R e a d I/O output.
SB
- S e t I/O output bits.
SO - S e t I/O output port byte.
TG — To g g l e I/O output bits.
Example CB224
I S e t I/O output port bits number 6, 7 and 8 low.
c v
N e w p o r t .
3
.
3
5
EDI10181En1020 — 03/03
Содержание MM4006
Страница 9: ...F D110181En1020 03 03 b J e w p o r t...
Страница 10: ...Section 1 Introduction 4 4 G G 4 4 4 4 M u d Com 4k 4 66i1W406 i i r i A 0 8 y 0 9 0 0 i 0 0 40 0 4 cv Newport...
Страница 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Страница 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Страница 42: ...Section 2 Local Mode C Newport...
Страница 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Страница 96: ...Section 3 Remote Mode C klevvport...
Страница 97: ...Newport...
Страница 310: ...Section 4 Motion Control Tutorial Ilevvport...
Страница 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Страница 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Страница 334: ...Section 5 Trajectory Functions Tutorial Newport...
Страница 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Страница 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Страница 346: ...Section 6 Feature Descriptions Tutorial Newport...
Страница 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Страница 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Страница 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Страница 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Страница 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Страница 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Страница 368: ...Section 8 Appendices INevvport...
Страница 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Страница 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Страница 410: ...A7 h7s z c 7...