TMCM-1310 TMCL Firmware V1.11 Manual (Rev. 1.16 / 2014-MAR-19)
37
www.trinamic.com
Pin IN/OUT 0
IN/OUT 1
Direction
Description
1
GND
GND
Power (GND)
GND
2
VCC
VCC
Power
(supply output)
Connected to V
DIGITAL
of Power connector
3
AIN0
AIN4
Input
Dedicated analog input,
input voltage range: 0… +10V,
resolution: 12bit (0… 4095)
4
IN1
IN5
Input
Digital input (+24V compatible)
5
IN2
IN6
Input
Digital input (+24V compatible)
6
IN3
IN7
Input
Digital input (+24V compatible)
7
OUT0
OUT4
Output
Open-drain output (max. 100mA)
Integrated freewheeling diode
8
OUT1
OUT5
Output
Open-drain output (max. 100mA)
Integrated freewheeling diode
9
OUT2
OUT6
Output
Open-drain output (max. 100mA)
Integrated freewheeling diode
10
OUT3
OUT7
Output
Open-drain output (max. 1A)
Integrated freewheeling diode
I/O
PORTS USED FOR
SIO
AND COMMAND
I/O Connector
Pin
I/O port
Command
Range
0
7
OUT_0
SIO 0, 2, <n>
1/0
0
8
OUT_1
SIO 1, 2, <n>
1/0
0
9
OUT_2
SIO 2, 2, <n>
1/0
0
10
OUT_3
SIO 3, 2, <n>
1/0
1
7
OUT_4
SIO 4, 2, <n>
1/0
1
8
OUT_5
SIO 5, 2, <n>
1/0
1
9
OUT_6
SIO 6, 2, <n>
1/0
1
10
OUT_7
SIO 7, 2, <n>
1/0
A
DDRESSING ALL OUTPUT LINES WITH ONE
SIO
COMMAND
:
-
Set the type parameter to 255 and the bank parameter to 2.
-
The value parameter must then be set to a value between 0… 255, where every bit represents one
output line.
-
Furthermore, the value can also be set to -1. In this special case, the contents of the lower 8 bits of
the accumulator are copied to the output pins.
Example:
Set all output pins high.
Mnemonic:
SIO 255, 2, 3
T
HE FOLLOWING PROGRAM WILL SHOW THE STATES OF THE INPUT LINES ON THE OUTPUT LINES
:
Loop: GIO 255, 0
SIO 255, 2,-1
JA Loop