Interrupt Function - ICP DAS USA I-8092F User Manual

2-axis motion control module
Hide thumbs Also See for I-8092F:
Table of Contents

Advertisement

A.7.7 Interrupt Function
Table A-10 Synchronous Action functions
函式名稱
i8092_BPINT_ENABLE
i8092_BPINT_DISABLE
i8092_CIINT_ENABLE
i8092_CIINT_DISABLE
i8092_INTFACTOR_ENABLE
i8092_INTFACTOR_DISABLE
i8092_SYNC_MODE
Format:
void i8092_SYNC_MODE(unsigned char
Function:
Writes data to the WR6, WR7 registers and uses 64h command to set the conditions
for synchronous action mode.
Parameters:
cardNo is the board number.
axis is the motion axis code, as shows in Table 2-1.
sm6data is the data for the WR6 register.
sm7data is the data for the WR6 register.
Example:
//Set the X axis (0x1) as the Provocative axis, Y axis (0x2) as the Active
//axis. However the activation factor is the logic position counter value
//exceeded the value of COMP+ register (P
//fixed pulse driving.
i8092_SET_SYNCMODE(1, 0x1, 0x2001 , 0x0);
i8092_SET_SYNCMODE(1, 0x2, 0x0, 0x0010);
ICPDAS
致能位元補間中斷。
除能位元補間中斷。
致能連續補間中斷。
除能連續補間中斷。
致能各中斷條件因子。
除能各中斷條件因子。
cardNo,
WORD
sm6data,
WORD
170
敘述
WORD
axis,
sm7data)
C+), and the action is the positive
I-8092F Software User Manual

Advertisement

Table of Contents
loading

Table of Contents