23
Interfacing Inputs as a Group Example
PIN1
MDrive23 Motion Control
Sample Software Configuration
'set inputs to user inputs active low,
S1=0,0
S2=0,0
S3=0,0
S4=0,0
PR IN 'Read BCD State of Input Group
+5VDC
Figure 2.6: TTL Interface to Input Group
Truth Table - I/O Used as a Group
DEC IO4 IO3 IO2 IO1
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
101010
111011
121100
131101
141110
151111
Table 2.4: I/O Group Truth Table