10
FUNCTIONS AND PROGRAMMING
10.3 Programming Using MELSEC Data Link Functions
10.3.11 Device types for MELSEC data link functions
10 - 44
9
UTILITY OPERATION
10
FUNCTIONS AND
PROGRAMMING
11
OVERVIEW OF
MULTIPLE CPU
SYSTEM
12
MULTIPLE CPU
SYSTEM
CONFIGURATION
13
MULTIPLE CPU
SYSTEM
CONCEPT
14
COMMUNICATIONS
BETWEEN CPU
MODULES
15
PARAMETERS
ADDED FOR
MULTIPLE CPU
16
PRECAUTIONS FOR
USE OF AnS SERIES
MODULE
* 1 Device name specification (macro) is defined in the included file "MdFunc.h" of the MELSEC data
link functions. ( Section 10.2.3 (1) )
* 2 The mdRandR function is normally terminated even if the device specified does not exist actually.
(Read data is -1.)
* 3 A device used only to access the CC-Link module (own station) buffer memory
* 4 Access is allowed only to a remote station's PC (only when the target is running MX Links
(SW2D5F-CSKP-E or later) on Windows
NT Workstation 4.0).
(2) Q series bus interface specific device types
* 1 Device name specification (macro) is defined in the included file "MdFunc.h" of the MELSEC data
link functions. ( Section 10.2.3 (1) )
Table10.14 Common device types of MELSEC data link functions(Continued)
Device type
Device
Code specification Device name
specification
*1
DEC. HEX.
36 24
H DevWw
Own station link register (for sending)
*3
37 25H DevWr
Own station link register (for receiving)
*3
50 32H DevSPB
Own station buffer memory
*3
101 65H DevMAIL Q/QnA SEND function (with arrival confirmation) and RECV function
102 66
H DevMAILNC Q/QnA SEND function (no arrival confirmation)
1001 to 1255 3E9
H to 4E7H
DevLX(1) to
DevLX(255)
Direct link input (other station side)
An argument value of the device name specification (1-255
*2
) is Network No.
2001 to 2255 7D1
H to 8CFH
DevLY(1) to
DevLY(255)
Direct link output (other station side)
An argument value of the device name specification (1-255
*2
) is Network No.
23001 to 23255 59D9
H to 5AD7H
DevLB(1) to
DevLB(255)
Direct link relay (other station side)
An argument value of the device name specification (1-255
*2
) is Network No.
24001 to 24255 5DC1
H to 5EBFH
DevLW(1) to
DevLW(255)
Direct link register (other station side)
An argument value of the device name specification (1-255
*2
) is Network No.
25001 to 25255 61A9
H to 62A7H
DevLSB(1) to
DevLSB(255)
Direct link special relay (other station side)
An argument value of the device name specification (1-255
*2
) is Network No.
28001 to 28255 6D61
H to 6E5FH
DevLSW(1) to
DevLSW(255)
Direct link special register (other station side)
An argument value of the device name specification (1-255
*2
) is Network No.
29000 to 29255 7148
H to 7247H
DevSPG(0) to
DevSPG(255)
Special direct buffer register
An argument value of the device name specification (0-255
*2
) is Start I/O no./16.
31000 to 31255 7918
H to 7A17H
DevEM(0) to
DevEM(255)
EM (shared device)
*4
An argument value of the device name specification (0-255) is Block No.
32000 to 32255 7D00
H to 7DFFH
DevED(0) to
DevED(255)
ED (shared device)
*4
An argument value of the device name specification (0-255) is Block No.
Table10.15 Q series bus interface specific device types
Device type
Device
Code specification Device name
specification
*1
DEC. HEX.
501 1F5
H DevSPB1 CPU shared memory (CPU No.1)
502 1F6H DevSPB2 CPU shared memory (CPU No.2)
503 1F7H DevSPB3 CPU shared memory (CPU No.3)
504 1F8H DevSPB4 CPU shared memory (CPU No.4)
R