10
FUNCTIONS AND PROGRAMMING
10.2.9 Device types for bus interface functions
The device types used for the bus interface functions may be either the code numbers or
device names indicated in this section.
(1) Motion CPU dedicated device types
Code specification
Decimal
1
2
3
4
5
6
13
14
23
24
61
10
- 35
10.2 Programming Using Bus Interface Functions
10.2.9 Device types for bus interface functions
The motion CPU dedicated device types can be specified in the argument sDevType
of the QBF_MotionDDWR or QBF_MotionDDRD function.
Table10.10 Motion CPU dedicated device types
Device type
Device name
Hexadecimal
specification
1
QBFDev_MCPU_X
H
2
QBFDev_MCPU_Y
H
3
QBFDev_MCPU_L
H
4
QBFDev_MCPU_M
H
5
QBFDev_MCPU_SM
H
6
QBFDev_MCPU_F
H
D
QBFDev_MCPU_D
H
E
QBFDev_MCPU_SD
H
17
QBFDev_MCPU_B
H
18
QBFDev_MCPU_W
H
3D
QBFDev_MCPU_MR
H
* 1 The device name specification (macro) is defined in this function's include file "QbfFunc.h".
(
Section 10.2.3 (1) )
* 2 When Special relay (SM) is specified in "sDevType", "ulDevNo" must be 0 or more (corresponding
to Motion CPU's M9000 or more).
* 3 When Special register (SD) is specified in "sDevType", "ulDevNo" must be 0 or more
(corresponding to Motion CPU's D9000 or more).
*1
Input (X)
Output (Y)
Latch relay (L)
Internal relay (M)
*2
Special relay (SM)
Annunciator (F)
Data register (D)
Special register (SD)
Link relay (B)
Link register (W)
Motion register (#)
Device
*3