Mitsubishi Electric MELSEC iQ-R Series Manual page 86

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

mdrDevRst
This function resets bit devices.
■ Format
short mdrDevRst(long lPath, short sRoute, long lNetNo, long lIoNo, long lStNo, short sCPU, long lDevType, long lDevNo)
■ Argument
Argument
lPath
sRoute
lNetNo
lIoNo
lStNo
sCPU
lDevType
lDevNo
■ Description
• This function resets (turns OFF) the bit device of the module specified to the network number (lNetNo),the start I/O number
(lIoNo),the station number (lStNo), the CPU number (sCPU),the device type (lDevType),and the device number (lDevNo).
• The mdrDevRst function is dedicated function for bit devices such as link relay (B) and internal relay (M).
■ Return value
Return value
0 (0000H)
Other than 0 (0000H)
■ Relevant function
Page 82 mdrClose
Page 85 mdrDevSet
Page 90 mdrOpen
3 DETAILS OF FUNCTION
84
3.2 MELSEC iQ-R Series Data Link Functions
Name
Path of channel
Access route
Network number
Start I/O number
Station number
CPU number
Device type
Device number
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
Description
Specify the path of the opened channel.
Specify the access route to target module.
• 0: CC-Link IE Controller Network
• 1: CC-Link IE Field Network
• 2: MELSECNET/H
• 3: CC-Link
• 4: Bus interface
Specify the network number of target module.
Page 14 Argument specification
Specify the start I/O number divided by 16 of the target module.
Page 14 Argument specification
Specify the station number of target module.
Page 14 Argument specification
Specify the CPU number of the target CPU module.
• 0: Control CPU specification
• 1 to 4: Multiple CPU specification
Specify the device type of bit device.
Page 14 Argument specification
Specify the device number of bit device.
IN/OUT
IN
IN
IN
IN
IN
IN
IN
IN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents