User Manual
TMCC160 TMCL Firmware Version 2.11 • 2018-FEB-08 | Document Revision 1.01 • 2018-FEB-08
20/57
© 2015 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany — Terms of delivery and rights
to technical change reserved. Download newest version at: www.trinamic.com .
Read entire documentation; especially the 6 “Supplemental Directives” (page 51).
1.2.13 SIO (Set Output) and GIO (Get Input / Output)
The TMCC160-EVAL provides two commands for dealing with inputs and outputs:
SIO:
Sets the status of the general digital output either to low (0) or to high (1).
GIO
:
Reads out the status of the two available general purpose inputs of the module.
NOTE:
The command reads out a digital or analogue input port.
Digital lines read 0 and 1. ADC channel that delivers 12 bit (value of 0… 4095).
Correlation between I/Os and Banks
Inputs/ Outputs
Bank
Description
Digital inputs
Bank 0
Digital inputs are accessed in bank 0.
Analogue inputs
Bank 1
Analog inputs are accessed in bank 1.
Digital outputs
Bank 2
The states of the OUT lines (that have been set by SIO commands)
can be read back using bank 2.
Table 44: Correlation between I/Os and Banks
SIO und GIO
Command
Settings