Mitsubishi MELSEC-Q Series User Manual page 436

C controller module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

10
FUNCTIONS AND PROGRAMMING
(2) Device types for MELSECNET/H module access
Code specification
Decimal
1
2
23
24
Code specification
Decimal
1000
2000
23000
24000
25000
28000
Remark
10
- 35
10.2 Programming Using Bus Interface Functions
10.2.9 Device types for bus interface functions
Specify the device type for MELSECNET/H module access in the argument sDevType
of the QBF_WriteLinkDevice or QBF_ReadLinkDevice function.
In the user program, either of the following two link device accessing methods can be
selected by specifying the device.
(a) Internal buffer access
Table10.9 Device types for internal buffer access
Device type
Device name
Hexadecimal
specification
1
QBFDev_LXBuf
H
2
QBFDev_LYBuf
H
17
QBFDev_LBBuf
H
18
QBFDev_LWBuf
H
* 1 The device name specification (macro) is defined in the include file "QbfFunc.h" of the bus
interface function. (
(b) Direct access
Table10.10 Device types for direct access
Device type
Device name
Hexadecimal
specification
3E8
QBFDev_LX
H
7D0
QBFDev_LY
H
59D8
QBFDev_LB
H
5DC0
QBFDev_LW
H
61A8
QBFDev_LSB
H
6D60
QBFDev_LSW
H
* 1 The device name specification (macro) is defined in the include file "QbfFunc.h" of the bus
interface function. (
POINT
1. Use the internal link device buffers (LX buffer, LY buffer, LB buffer, LW buffer)
by setting the link device refresh cycle (
(
Section 9.4.6 (3) ) on the MELSECNET/H utility and making refresh
between the internal link device buffers and link devices (LX, LY, LB, LW).
2. The link devices (SB, SW) are accessible by direct access only.
The internal link device buffers cannot be used for access since refresh
cannot be made by the setting of the MELSECNET/H utility (setting of link
device refresh cycle and range).
Refer to Section 4.4.2 for the link device accessing method.
*1
Link input internal buffer (LX buffer)
Link output internal buffer (LY buffer)
Link relay internal buffer (LB buffer)
Link register internal buffer (LW buffer)
Section 10.2.3 (1) )
*1
Direct link input (LX)
Direct link output (LY)
Direct link relay (LB)
Direct link register (LW)
Direct link special relay (SB)
Direct link special register (SW)
Section 10.2.3 (1) )
Device
Device
Section 9.4.6 (1) ) and range

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q06ccpu-v-h01

Table of Contents