I/o control and monitoring, 15 i/o control and monitoring – ADLINK PCI-8134A User Manual

Page 107

Advertising
background image

Function Library

97

set_erc_enable(ByVal axis As Integer, ByVal erc_enable

As Long) As Integer

@ Argument

axis: axis number designated to configure
alm_logic: setting of active logic for ALARM signal

alm_logic=0, active LOW.

alm_logic=1, active HIGH.

inp_logic: setting of active logic for INP signal

inp_logic=0, active LOW.

inp_logic=1, active HIGH.

sd_logic: setting of active logic for SD signal

sd_logic=0, active LOW.

sd_logic=1, active HIGH.

sd_latch: setting of latch control for SD signal

sd_logic=0, do not latch.

sd_logic=1, latch.


alm_mode: reacting modes when receiving ALARM signal.

alm_mode=0, motor immediately stops.

alm_mode=1, motor decelerates then stops.

inp_enable: INP function enable/disable

inp_enable=0, Disabled

inp_enable=1, Enabled

sd_enable: Slow down point function enable/disable

sd_enable=0, Disabled

sd_enable=1, Enabled

erc_enable: ERC pin output enable/disable

erc_enable=0, Disabled

erc_enable=1, Enabled

@ Return Code

ERR_NoError

6.15

I/O Control and Monitoring

@ Name

W_8134_Set_SVON – Set state of general purpose output pin
get_io_status – Get all the I/O status of PCI-8134

@ Description

W_8134_Set_SVON:

Set the High/Low output state of general purpose output pin SVON.

get_io_status:

Get all the I/O status for each axis. The definition for each bit is as
following:

Advertising