Register Management Functions - 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.1 Register management functions
The definition of the WRn, RRn registers are detail shown in appendix B.
Table A-3 Register management functions
Function Name
i8092_SET_COMMAND
i8092_SET_WR1
i8092_SET_WR2
i8092_SET_WR3
i8092_GET_WR4
i8092_SET_WR5
i8092_GET_RR0
i8092_GET_RR1
i8092_GET_RR2
i8092_GET_RR3
i8092_GET_RR4
i8092_GET_RR5
i8092_COMMAND
Format:
void i8092_COMMAND(unsigned char
Function:
Setting the command register (WR0) for 2-axes.
Parameters:
cardNo is the board number.
axis is the motion axes, as shown in Table2-1.
cmd is the command code setting in the WR0 register. Available command codes
are shown in section A.8.
Example:
//Set all axes for axis switching.
i8092_COMMAND(1, 0x3, 0xf);
ICPDAS
The command register (WR0) for 2-axes setting
The mode register (WR1) for 2-axes setting
The mode register (WR2) for 2-axes setting
The mode register (WR3) for 2-axes setting
The output register (WR4) setting
The interpolation register (WR5) setting
The main status register (RR0) getting
The status register 1 (RR1) getting
The status register 2 (RR2) getting
The status register 3 (RR3) getting
The input register (RR4) getting
The input register (RR5) getting
cardNo,
114
Description
WORD
axis,
WORD
I-8092F Software User Manual
cmd)

Advertisement

Table of Contents
loading

Table of Contents