User`s guide

88 Motion Library
5.12 Motion Status
@Name
_8136_M_ORG_Status Check origin point’s high/low
_8136_M_PEL_Status Check positive point’s high/low
_8136_M_MEL_Status Check minus point’s high/low
_8136_M_ALM_Status Check alarm point’s high/low
_8136_Motion_Status Check current axis’ motion status
_8136_M_Get_Speed Get one axis' current speed
@Description
_8136_M_ORG_Status:
There are 6 ORG digital input pins in PCI-8136M. Every axis has
one ORG pin for homing. This function is for checking the ORG
pin's status.
_8136_M_PEL_Status:
There are 6 PEL( positive limit switch) digital input pins in
PCI-8136M. Every axis has one PEL pin for protection. This
function is for checking the PEL pin's status.
_8136_M_MEL_Status:
There are 6 MEL( minus limit switch) digital input pins in
PCI-8136M. Every axis has one MEL pin for protection. This
function is for checking the MEL pin's status.
_8136_M_ALM_Status:
There is one ALM( alarm switch) digital input pins in PCI-8136M.
Every PCI-8136M has one ALM pin for protection. This function is
for checking the ALM pin's status.
_8136_Motion_Status:
This function is for checking one axis' motion status. There are two
states for one axis. One is busy and the other is not busy.
_8136_M_Get_Speed:
This function is for getting one axis' current moving speed. Its unit
is pulse/second. This speed information is from pulse output side,
not encoder feedback side.
@ Syntax
C/C++ (DOS, Windows 95/98/NT/2000)
I16 _8136_M_ORG_Status(I16 CardNo,I16 Channel)
I16 _8136_M_PEL_Status(I16 CardNo,I16 Channel)