106
Operation
Theory
Each axis of the SSCNET board has 2-position compare chan-
nels. After setting the channels using set_compare(), the DSP of
the SSCNET board compares the feedback position on each SSC-
NET cycle with “CMP#Pos” for each channel. The comparison
includes the direction. The user can specify the compare succeed
condition to be any of the following:
Direction = 0, whenever feedback across
ComparePos
Direction = 1, feedback > ComparePos
Direction = 2, feedback >= ComparePos
Direction = 3, feedback < ComparePos
Direction = 4, feedback <= ComparePos
In order to understand the compared status of each specified axis,
a second function check_compare() is helpful. The compared sta-
tus will be reset to false each time set_compare() is executed. If
the comparison of channel1 comes into existence, bit0 of “*status”
will become ‘1’. If the comparison of channel1 comes into exist-
ence, bit1 of “*status” will become ‘1’.
Other method to obtain comparison result is through an interrupt.
When a comparison comes into existence, the SSCNET board will
generate an interrupt signal. Users need to set the interrupt to
enabled and correct the interrupt factor so that the program can
accept interrupt signals.
4.11 Interlock Function
In this section, the following function is discussed.
set_interlock(CardID, Flag, Axis_X, Axis_Y, X1,
X2, Y1, Y2, Time)
get_interlock(CardID, *Enable, *Axis_X, *Axis_Y,
*X1, *X2, *Y1, *Y2, *Time)
The SSCNET board provides one interlock function for each card.
This function is used for collision avoidance for 2-axis operation,
“Axis_X”, “Axis_Y”, and one specific area,”X1”,”X2”,”Y1”,”Y2”.
Once the axis' position is inside this section, it is said that it has
entered into the interlock area. The slow-down and speed-up algo-
rithm is done by the on-board DSP. The following graph explains
this action.
Summary of Contents for PCI-8366+
Page 4: ......
Page 14: ...x List of Figures ...
Page 17: ...Introduction 3 Figure 1 3 Flowchart for Building an Application ...
Page 26: ...12 Installation 2 2 PCI 8372 8366 Outline Drawing Figure 2 1 PCI 8372 8366 Mechanical Drawing ...
Page 31: ...Installation 17 2 Press HPI boot ...
Page 32: ...18 Installation 3 Press Flash DL button and select a kernel4 hex ...
Page 34: ...20 Installation Figure 2 3 SSCNET Communication Test Utility ...
Page 49: ...Signal Connections 35 Figure 3 9 Skin Type ...
Page 144: ...130 Operation Theory ...
Page 149: ...Motion Creator 135 Figure 5 6 Software Version Information ...
Page 160: ...146 Motion Creator Figure 5 13 Channel Selection Frame Figure 5 14 Motion Frame ...