![Trinamic TMCM-351 Firmware Manual Download Page 36](http://html1.mh-extra.com/html/trinamic/tmcm-351/tmcm-351_firmware-manual_1163054036.webp)
TMCM-351 TMCL Firmware V4.45 Manual (Rev. 1.06 / 2014-MAY-16)
36
www.trinamic.com
4.6.14
SIO (set output)
This command can be used as follows:
-
SIO sets the status of the general digital output either to low (0) or to high (1). Bank 2 is used for
this purpose.
-
SIO is also used to switch the pull-up resistors for all digital inputs on and off. Bank 0 is used for this
purpose.
Related commands:
GIO, WAIT
Mnemonic:
SIO <port number>, <bank number>, <value>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
14
<port number>
<bank number>
2
<value>
0/1
Reply structure:
STATUS
VALUE
100 – OK
don’t care
Example:
Set OUT_7 to high (bank 2, output 7)
Mnemonic:
SIO 7, 2, 1
Binary:
Byte Index
0
1
2
3
4
5
6
7
Function
Target-
address
Instruction
Number
Type
Motor/
Bank
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Value (hex)
$01
$0e
$07
$02
$00
$00
$00
$01
C
ONNECTORS
Connector 1
:
Connector 2
Connector 3
Figure 4.1 Connectors of TMCM-351