76
Operation
Theory
4.5.6
Motion Input as General Input
In this section, the following functions are discussed.
set_mio_mode(CardID,DI_Channel, Mode);
get_MDI_status(I16 CardID, I16 MDI_Channel);
MDI_Channel
The range is from 0 to 35 ( The corresponding pin on SP1 is MDI#
minus one )
Mode
Mode=0 makes the motion input function(EL/ORG) active,
Mode=1 makes motion input function inactive.
For example:
If users want to make Axis3's PEL/MEL no effect in motion, they
can use
set_mio_mode(CARD0, 9, 1); // PEL
set_mio_mode(CARD0, 10, 1); // MEL
and the ORG remains its function in motion.
3
In_V_Change
After lauching velocity change command, this bit will be
ON till the change is done
4
In_P_Change
After lauching position change command, this bit will be
ON till the change is done
5
MEL_ON
Axis touches the positive limit switch
6
PEL_ON
Axis touches the negative limit switch
7
ORG_ON
Axis touched the origin switch
8
EMG_ON
Emergency input pin is ON
9
P_Soft_ON
Axis is reached the positive software limit
10
M_Soft_ON
Axis is reached the negative software limit
11
EZ_ON
Axis touched the external Index switch
12
Stop_cmd_end
After v_stop() command ends, this bit will be ON
13 Stop_cmd_running This bit will be ON if users lauched a v_stop() command
14
Interlock_Pause
Once the axis is paused be interlock procedure, this bit
will be ON
Bit
Name
Description
Table 4-4: Motion Status
Содержание PCI-8366+
Страница 4: ......
Страница 14: ...x List of Figures ...
Страница 17: ...Introduction 3 Figure 1 3 Flowchart for Building an Application ...
Страница 26: ...12 Installation 2 2 PCI 8372 8366 Outline Drawing Figure 2 1 PCI 8372 8366 Mechanical Drawing ...
Страница 31: ...Installation 17 2 Press HPI boot ...
Страница 32: ...18 Installation 3 Press Flash DL button and select a kernel4 hex ...
Страница 34: ...20 Installation Figure 2 3 SSCNET Communication Test Utility ...
Страница 49: ...Signal Connections 35 Figure 3 9 Skin Type ...
Страница 144: ...130 Operation Theory ...
Страница 149: ...Motion Creator 135 Figure 5 6 Software Version Information ...
Страница 158: ...144 Motion Creator Figure 5 10 Tuning Window 5 5 1 Component Description Figure 5 11 Trigger Setting Frame ...
Страница 160: ...146 Motion Creator Figure 5 13 Channel Selection Frame Figure 5 14 Motion Frame ...