PD42-1270 TMCL
™
Firmware Manual • Firmware Version V1.00 | Document Revision V1.0 • 2017-Mar-02
69 / 91
6
Module Specific Modes
This section explains how the three availabe inputs can be configured. The PD42-1270 implements
three different predefined modes, each one with a different set of functions for these three pins. Axis
Parameter number 254 “Module Specific Mode” (see Section
4
) contains the current mode. In Table
16
, the
functionalities for all three pins in each configuration are shown.
Pin Functionalities of PD42-1270 Specific Modes
Mode
Id
GPI1
GPI2
GPI3
Mode Reference
0
Home Switch
Left Endstop Switch
Right Endstop Switch
Mode Encoder
1
Home Switch
Encoder A
Encoder B
Mode GPI
2
Analog Input 1
Digital Input 2
Digital Input 3
Table 16: Pin Functionalities of PD42-1270 Specific Modes
In Mode Reference, the three digital inputs correspond to reference switches: Home, Left Endstop and
Rigth Endstop for GPI 1, 2 and 3 respectively. The Reference Search feature is only available in this mode.
See more information about Reference Seach in Section
7.1
.
In Mode Encoder, GPI2 and 3 correspond to the encoder pins A and B.
Finally, all three inputs are function free inputs available for the user in Mode GPI.
All these inputs are read with a Get Input TMCL Command with Bank 0 (Digital Inputs). The only exception
is GPI1 in Mode GPI (Analog Input 1), which is read with Bank 1 (analog inputs). See more information
about how to read the state of an input in Section
3.6.10
.
©2017 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.