Version 1.0 06/2001 |
3.1.5 Others
(27)unsigned char i8091_LIMIT_X(unsigned char cardNo) to request the condition of
cardNo : board number 0~19.
MSB 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 LSB |
/EMG | /FFFF | /FFEF | /LS14 | xx | xx | /LS11 | /ORG1 |
/ORG1 : original point switch of
/LS11, /LS14 : limit switches of
/EMG : emergency switch, low active.
/FFEF : active low, FIFO is empty
/FFFF : active low, FIFO is full
Example:
unsigned char limit1; limit1 = i8091_LIMIT_X(1);
(28)unsigned char i8091_LIMIT_Y(unsigned char cardNo) to request the condition of
cardNo : board number 0~19.
MSB 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 LSB |
ystop | xstop | xx | /LS24 | xx | xx | /LS21 | /ORG2 |
/ORG2 : original point switch of
/LS21, /LS24 : limit switches of
xstop: 1:indicate
ystop: 1:indicate
unsigned char limit2; limit2 = i8091_LIMIT_Y(1);
(29)i8091_WAIT_X(unsigned char cardNo) to wait
http://www.icpdas.com | ICPDAS |