166
Function Library
_8168_get_latch_data
():
After the latch signal arrives, this function is used to read the
latched value of counters.
_8168_set_soft_limit
():
This function is used to set the value of soft limit.
_8168_enable_soft_limit
()
and
_8168_disable_soft_limit
():
These two functions are used to enable/disable the soft limit func-
tion. Once enabled, the action of soft limit will be exactly the same
as the physical limit.
_8168_set_error_counter_check
():
This function is used to enable the step losing checking facility. By
giving a tolerance value, the cPCI-8168 will generate an interrupt
(event_int_status , bit 10) when position error counter exceeds tol-
erance.
_8168_set_general_comparator
():
This function is used to set the source and comparing value for
general comparator. When the source counter value reaches the
comparing value, the cPCI-8168 will generate an interrupt
(event_int_status , bit 11).
_8168_set_trigger_comparator
():
This function is used to set the comparing method and value for
trigger comparator. When the feedback position counter value
reached the comparing value, the cPCI-8168 will generate a trig-
ger pulse via CMP pin and an interrupt (event_int_status , bit 12)
will also be sent to the host PC. If
_8168_set_auto_compare
()
is used, then comparing value set by this function will be ignored
automatically.
Because the value will be replaced by the first value of the source
assigned by
_8168_set_auto_compare
() function.
Note: Trigger output is only applicable for axis 4,5 in every cPCI-
8168 card.
Summary of Contents for cPCI-8168
Page 4: ......
Page 10: ...vi List of Figures...
Page 29: ...Installation 19 2 9 Overview of CN3 CN6...
Page 31: ...Installation 21 2 11 Switch Setting...
Page 204: ...194 Function Library...