Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Scheda Tecnica
Codici prodotto
11-0011
TMCL Reference Manual
26
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D – 20357 Hamburg, Germany
http://www.trinamic.com
3.14 SIO – Set Output
Description: This command sets the status of a digital output either to low (0) or to high (1). Please see the list of
the outputs in this section.
Internal function: The passed value is transferred to the specified output line.
Related commands: GIO, WAIT
Mnemonic: SIO <port number>, <bank number>, <value>
Binary representation:
the outputs in this section.
Internal function: The passed value is transferred to the specified output line.
Related commands: GIO, WAIT
Mnemonic: SIO <port number>, <bank number>, <value>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
14
<port number>
<bank number>
<value>
Reply structure:
STATUS
VALUE
100 – OK
(don't care)
Example: turn the LED on the TMCM-300 base board off (bank 2, line 7)
Mnemonic: SIO 7, 2, 1
Binary:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Target-
address
address
Instruction
Number
Number
Type
Motor/
Bank
Bank
Operand
Byte3
Byte3
Operand
Byte2
Byte2
Operand
Byte1
Byte1
Operand
Byte0
Byte0
Checksum
Value (hex)
$01
$0e
$07
$02
$00
$00
$00
$01
$19
Overview of available output ports:
With the TMCM-100/301/302/303/310/610 and TMCM-300 modules, only bank 2 is available and contains 8 output
lines:
lines:
Type
I/O line Range
0
DOUT0
0/1
1
DOUT1
0/1
2
DOUT2
0/1
3
DOUT3
0/1
4
DOUT4
0/1
5
DOUT5
0/1
6
DOUT6
0/1
7
DOUT7
0/1
Please see the manuals of the individual modules for detailed electrical description of the output ports of a
module.
Extension in TMCL version 3.23:
On the TMCM-301/302/303/310 and 61x modules it is now also possible to switch the pull-up resistors on the
inputs on and off. When using the inputs as digital inputs it is often useful to have the pull-up resistors switched
on, but when using the inputs as analogue inputs the pull-up resistors must be switched of. For this purpose, set
the bank parameter to 0 and the type parameter to the number of the desired input (please see the GIO command
for a list of the input numbers). Set the value parameter to 0 to switch off and to 1 to switch on a pull-up resistor.
The pull-up resistors are switched off by default.