User manual
TMCM-6110 TMCL Firmware V1.19 Manual (Rev. 1.03 / 2012-JUL-31) 40
www.trinamic.com
Set the type parameter to 255 and the bank parameter to 0.
In this case the status of all digital input lines will be read to the lower eight bits of the
accumulator.
Use following program to represent the states of the input lines on the output lines:
Loop: GIO 255, 0
SIO 255, 2,-1
JA Loop
5.6.15.2 I/O bank 1 – analogue inputs:
The ADIN lines can be read back as digital or analogue inputs at the same time. The digital states
can be accessed in bank 0.
5.6.15.3 I/O bank 2 – the states of digital outputs
The states of the OUT lines (that have been set by SIO commands) can be read back using bank 2.
I/O Connector
Pin
I/O port
Command
Range
0
3
AIN_0
GIO 0, 1
0… 4095
1
3
AIN_4
GIO 4, 1
0… 4095
I/O Connector
Pin
I/O port
Command
Range
0
7
OUT_0
GIO 0, 2, <n>
1/0
0
8
OUT_1
GIO 1, 2, <n>
1/0
0
9
OUT_2
GIO 2, 2, <n>
1/0
0
10
OUT_3
GIO 3, 2, <n>
1/0
1
7
OUT_4
GIO 4, 2, <n>
1/0
1
8
OUT_5
GIO 5, 2, <n>
1/0
1
9
OUT_6
GIO 6, 2, <n>
1/0
1
10
OUT_7
GIO 7, 2, <n>
1/0