A-23
Appendices
Interfacing Outputs as a Group Example
The MDrivePlus inputs may be written to as a group using the OL, OH and OT keywords. This will set the out-
puts as a binary number representing the decimal between 0 to 15 representing the 4 bit binary number (OL, OH)
or as an 8 bit binary number representing the decimal 0 to 255 on the MDrivePlus
2
models. The OT keyword will
function on the Standard MDrivePlus but will only set inputs 1 - 4. Outputs will be configured as user outputs
(S<point>=16).
Standard MDrivePlus Motion Control
OL=3
‘set the binary state of the standard I/O to 0011
OT=13
‘set the binary state of the standard I/O to 1101
Enhanced MDrivePlus2
OL=5
‘set the binary state of the standard I/O to 0101
OH=9
‘set the binary state of the expanded I/O to 1001
OT=223
‘set the binary state of the combined I/O to 1101 1111
Output Bit Weight Examples
I/O Set
Enhanced (Plus
2
)
Standard
IO12
(MSB)
IO11
IO10
IO9
IO4
IO3
IO2
IO1
(LSB)
OL=13
OT=13
NOT AVAILABLE
1
1
0
1
OH=9
NOT ADDRESSED BY OH
1
0
0
1
OT=223
1
1
0
1
1
1
1
1
Table D.1: Output Bit Weight Examples - Outputs set as a group
Figure D.10: Outputs Interfaced to LED’s as a Group
MDrivePlus Motion Control
IO1
IO2
IO3
IO4
IO9
IO10
IO11
IO12
ST
ANDARD
ENHANCE
D
LSB
LSB
MSB
OL
OT
LSB
MSB
MSB
OH
+5 to +24 VDC
Содержание MDrive 34 Plus Series
Страница 12: ...1 6 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Страница 24: ...1 18 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Страница 26: ...2 2 MDrive34Plus Motion Control Hardware Revision R080106 ...
Страница 50: ...2 26 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Страница 52: ...A 2 MDrive34Plus Motion Control Hardware Manual Revision R080106 Page Intentionally Left Blank ...
Страница 66: ...A 16 MDrive34Plus Motion Control Hardware Manual Revision R080106 Page Intentionally Left Blank ...
Страница 82: ...A 32 MDrive34Plus Motion Control Hardware Manual Revision R080106 Page Intentionally Left Blank ...