Argument Specification - Mitsubishi Electric MELSEC iQ-R C Programming Manual

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

Argument specification

This section shows the argument specifications of the C Controller module dedicated functions.
Device type
The following tables show the device types specified to the C Controller module dedicated functions.
Devices are defined in the header file "CCPUFunc.h".
Either a code or a device name can be specified as a device type.
■Device types for accessing CC-Link IE Controller Network modules
Device type can be specified to the argument sDevType of the CCPU_WriteLinkDevice/CCPU_ReadLinkDevice functions.
Device (Device name)
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)
■Device types for accessing CC-Link IE Field Network modules
Device type can be specified to the argument sDevType of the CCPU_WriteLinkDevice/CCPU_ReadLinkDevice functions.
Device (Device name)
Direct link input (RX)
Direct link output (RY)
*1
Direct link register (RWr, RWw)
Direct link special relay (SB)
Direct link special register (SW)
*1 Using the following device range enables direct link registers (RWw, RWr) to be accessed.
RWw: LW0 to LW1FFF
RWr: LW2000 to LW3FFF
■Device types for accessing internal user devices and internal system devices
Device type can be specified to the argument sDevType of the CCPU_WriteDevice/CCPU_ReadDevice/CCPU_SetDevice/
CCPU_ResetDevice/CCPU_WriteDevice_ISR/CCPU_ReadDevice_ISR/CCPU_SetDevice_ISR/CCPU_ResetDevice_ISR
functions.
Device (Device name)
Internal relay (M)
Special relay (SM)
Data register (D)
Special register (SD)
Link relay (B)
Link register (W)
File register (ZR)
Device type
Code
Decimal
Hexadecimal
1000
3E8H
2000
7D0H
23000
59D8H
24000
5DC0H
25000
61A8H
28000
6D60H
Device type
Code
Decimal
Hexadecimal
1000
3E8H
2000
7D0H
24000
5DC0H
25000
61A8H
28000
6D60H
Device type
Code
Decimal
Hexadecimal
4
4H
5
5H
13
DH
14
EH
23
17H
24
18H
220
DCH
1 COMMON ITEMS
1.2 C Controller Module Dedicated Functions
1
Device name
Dev_LX
Dev_LY
Dev_LB
Dev_LW
Dev_LSB
Dev_LSW
Device name
Dev_LX
Dev_LY
Dev_LW
Dev_LSB
Dev_LSW
Device name
Dev_CCPU_M
Dev_CCPU_SM
Dev_CCPU_D
Dev_CCPU_SD
Dev_CCPU_B
Dev_CCPU_W
Dev_CCPU_ZR
9

Advertisement

Table of Contents
loading

Table of Contents