Installation manual
Chapter 7 Library Reference
7-
14
PA library characteristic type definition (for Windows Visual C++)
・Direct control classification: (Optional function)
typedef unsigned long DIRECTMODE;
#define DM_STOP (DIRECTMODE)0 Direct control stop
#define DM_START (DIRECTMODE)1 Direct control start
#define ARM_STANDING 1 Floor mounted
#define ARM_HANGING -1 Suspending from ceiling
・DIO port numbers:
typedef unsigned long DIOPORT;
#define DP_PORT1 (DIOPORT)0 DIO 1 port selection
#define DP_PORT2 (DIOPORT)1 DIO 2 port selection
#define DP_PORT3 (DIOPORT)2 DIO 3 port selection
#define DP_PORT4 (DIOPORT)3 DIO 4 port selection
#define DPO_PORT1 (DIOPORT)4 DO 1 port selection
#define DPO_PORT2 (DIOPORT)5 DO 2 port selection
#define DPO_PORT3 (DIOPORT)6 DO 3 port selection
#define DPO_PORT4 (DIOPORT)7 DO 4 port selection
#define DPX_PORT1 (DIOPORT)8 DO 1 port selection
#define DPX_PORT2 (DIOPORT)9 DO 2 port selection
#define DPX_PORT3 (DIOPORT)10 DO 3 port selection
#define DPX_PORT4 (DIOPORT)11 DO 4 port selection
DPO_XXXXX is used when acquiring contents set to be outputted by PA library.
DPX_XXXXX is used when acquiring current output value (related to information in PA
library or playback data).
・DIO channel numbers:
typedef unsigned long DIOCH;
#define DC_CH1 (DIOCH)0 Channel 1 selection
#define DC_CH2 (DIOCH)1 Channel 2 selection
#define DC_CH3 (DIOCH)2 Channel 3 selection
#define DC_CH4 (DIOCH)3 Channel 4 selection
#define DC_CH5 (DIOCH)4 Channel 5 selection
#define DC_CH6 (DIOCH)5 Channel 6 selection
#define DC_CH7 (DIOCH)6 Channel 7 selection
#define DC_CH8 (DIOCH)7 Channel 8 selection
M
M
e
e
m
m
o
o