Position control, 16 position control – ADLINK PCI-8134A User Manual
Page 108
98
• Function Library
Bit
Name
Description
0
+EL
Positive Limit Switch
1
-EL
Negative Limit Switch
2
+SD
Positive Slow Down Point
3
-SD
Negative Slow Down Point
4
ORG
Origin Switch
5
EZ
Index signal
6
ALM
Alarm Signal
7
SVON
SVON of PCL5023 pin output
8
RDY
RDY pin input
9
INT
Interrupt status
10
ERC
ERC pin output
11
INP
In-Position signal input
@ Syntax
C/C++ (DOS)
U16 _8134_Set_SVON(I16 axis, I16 on_off)
U16 get_io_status(I16 axis, U16 *io_status)
C/C++ (Windows)
U16 W_8134_Set_SVON(I16 axis, I16 on_off)
U16 get_io_status(I16 axis, U16 *io_status)
Visual Basic (Windows)
W_8134_Set_SVON (ByVal axis As Long, ByVal on_off As
Long) As Integer
get_io_status (ByVal axis As Integer, io_sts As
Integer) As Integer
@ Argument
axis: axis number for I/O control and monitoring
on_off: setting for SVON pin digital output
on_off=0, SVON is LOW.
on_off=1, SVON is HIGH.
*io_status: I/O status word. Where “1’ is ON and
“0” is OFF. ON/OFF state is read based
on the corresponding set logic.
@ Return Code
ERR_NoError
6.16
Position Control
@ Name
set_position – Set the actual position.
get_position – Get the actual position.