Mitsubishi Electric MELSEC Q Series User Manual page 217

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(6) Function to use
The dedicated function is used from the user program to access internal user device(s).
There are the following 2 ways to access internal user device(s):
• Directly accessing to internal device(s)
(Use the bus interface function and MELSEC data link function.)
• Accessing to data refresh memory and using data refresh
(Use the C Controller module dedicated function.)
User program
Bus interface functions
MELSEC data link functions
C Controller module
dedicated function
Functions used for access by link refresh are indicated below.
(a) Bus interface functions
Function name
QBF_WriteDevice
QBF_ReadDevice
(b) MELSEC data link functions
Function name
mdSendEx
mdRandWEx
mdDevSetEx
mdDevRstEx
mdReceiveEx
mdRandREx
(c) C Controller module dedicated function
When the data refresh function (Page 171, Section 11.7.1) is used and internal device(s) is set in the data
refresh memory, reading/writing of internal user device data is allowed by the following functions.
Function name
CCPU_WriteDataRefreshMemory
CCPU_ReadDataRefreshMemory
Note13.1
Q24DHCCPU-LS
Q26DHCCPU-LS
Q24DHCCPU-LS and Q26DHCCPU-LS cannot be accessed to the internal user devices. Access to them using the data
refresh function.
CHAPTER 13 FUNCTIONS ACCESSED VIA A NETWORK MODULE
Note13.1
Note13.1
C Controller module
Data refresh
memory
Data refresh
Writes data to the internal user device of the C Controller module.
Reads data from the internal user device of the C Controller module.
Writes data to the internal user device of the C Controller module.
Reads data from the internal user device of the C Controller module.
Writes data to the data refresh memory of the C controller module.
Reads data from the data refresh memory of the C controller module.
Network module
Internal user
device
Link device
Link refresh
Function
Function
Function
13
215

Advertisement

Table of Contents
loading

Table of Contents