MC-Basic:axis.IN2MODE
Specifies the functionality of the drive digital input 2.
0 – no special function
1 – CW limit switch
2 – CCW limit switch
3 – reserved
4 – reserved
5 – reserved
6 – reserved
7 – reserved
8 – second bipolar torque limit
9 – reserved
10 – home switch
11 – reserved
12 – reserved
13 – reserved
14 – reserved
15 – reserved
16 – probe input (capture)
17 – reserved
18 – open fault relay
Two keyword values are defined:
- "capturing” (=16)
- “homing” (=10)
Specifying an invalid value displays the message “Incorrect parameter value”.
Replacing a previous functionality displays the message “Input switch might have been dedicated to another function.”
Syntax
<axis>.In2Mode = <value>
Availability
All versions
Type
Long
Range
0 to 18
Default
Dependent on the drive
Scope
Task or Terminal
Limitations
- Each function input may be assigned only one digital value
- Valid in communications phase 2 or higher
- Not supported in EtherCAT system
Examples
?a1.In2Mode
a1.In2Mode = homing