![ADLINK Technology PCI-8366+ Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/adlink-technology/pci-8366/pci-8366_user-manual_2852815084.webp)
70
Operation
Theory
feedback…etc. This section will concentrate on the motion related
I/O and their function calls.
4.5.1
Position control and feedback
In this section, the following functions are discussed.
get_position(Axis,*Pos_F, *Pos_C)
set_position(Axis,Pos)
get_target_pos(Axis,*TargetPos)
get_move_ratio(Axis, *PulsePerMM)
set_move_ratio(Axis, PulsePerMM)
Get position information
The SSCNET board controls servo drivers & motors via an SSC-
Net protocol. For each SSCNet cycle (0.888ms), the SSCNET
board sends a command to and receives a response from the
servo driver. Through command and response, an abundant
amount of information is carried in and out, including position com-
mand and position feedback. The function call get_position() will
retrieve such information.
The parameter ‘*Pos_F’ retrieves the current position feedback,
which is reported from the servo driver through SSCNet communi-
cation.
The parameter ‘*Pos_C’ retrieves the current position command,
which is calculated on each SSCNet cycle (0.888 ms) by the DSP.
The command position is sent to the servo driver on each SSCNet
cycle, and the servo drivers will guild its motor to this position.
Set position
The set_position() function allows users to set a current position
counter value for the servo driver.
Get target position information
The target position is a software maintained variable, which is
updated each time a new motion command is executed. This
recorder value is the position where the servomotor will stop at
when the motion completed.
Содержание 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 ...