![Trinamic PD57-1060 Firmware Manual Download Page 58](http://html1.mh-extra.com/html/trinamic/pd57-1060/pd57-1060_firmware-manual_1163104058.webp)
PD57/60-1060 / TMCM-1060 TMCL™ Firmware Manual (V1.04 / 2011-AUG-29)
58
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG
Available I/O ports of TMCM-1060:
Addressing both 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 both output pins high.
Mnemonic:
SIO 255, 2, 3
The following program will show the states of the input lines on the output lines:
Loop: GIO 255, 0
SIO 255, 2,-1
JA Loop
1
8
Pin
I/O port
Command
Range
1
OUT_0
SIO 0, <bank number>, 1/0
1/0
2
OUT_1
SIO 1, <bank number>, 1/0
1/0