3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
85
3
CCPU_GetUnitInfo
This function acquires the module configuration information.
■
Format
short CCPU_GetUnitInfo (unsigned short* pusUnitInfo1, unsigned short* pusUnitInfo2, unsigned short* pusUnitInfo3)
■
Argument
■
Description
This function reads module configuration information (65 slots) and stores to the module configuration information 1
(pusUnitInfo1), module configuration information 2 (pusUnitInfo2), and module configuration information 3 (pusUnitInfo3).
Module configuration information to be stored differs depending on the series information.
■
Series information is MELSEC iQ-R series
The series can be checked in the 14th bit of pusUnitInfo1[0-64].
Argument
Name
Description
IN/OUT
pusUnitInfo1
Module configuration information
1
Specify the storage destination of module configuration information 1.
OUT
pusUnitInfo2
Module configuration information
2
Specify the storage destination of module configuration information 2.
OUT
pusUnitInfo3
Module configuration information
3
Specify the storage destination of module configuration information 3.
OUT
pusUnitInfo1[0]
pusUnitInfo1[1]
pusUnitInfo1[63]
pusUnitInfo1[64]
pusUnitInfo2[0]
pusUnitInfo2[1]
pusUnitInfo2[63]
pusUnitInfo2[64]
pusUnitInfo3[0]
pusUnitInfo3[1]
pusUnitInfo3[63]
pusUnitInfo3[64]
15 14 13 12 11 10 9
8
7 6
5
4
3
2
1
0
15 14 13 12 11 10 9
8
7 6
5
4
3
2
1
0
15 14 13 12 11 10 9
8
7 6
5
4
3
2
1
0
CPU slot information
Information on slot 0
Series information
Information on slot 62
Module mounting status
Information on slot 63
CPU slot information
Information on slot 0
Information on slot 62
Input/output point information
Information on slot 63
Module type information
CPU slot information
Information on slot 0
Presence/absence of fuse blown
Information on slot 62
Information on slot 63
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......