Mitsubishi Electric MELSEC Q Series User Manual page 184

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

Advertisement

(2) Q12DCCPU-V
(a) Read-out method
Described below is the procedure to read the individual identification information.
1.
Read the individual identification information.
The value of the individual identification information is stored in the memory address (0xA00BFFF4 to
0xA00BFFFF) as follows.
Example) The individual identification information is '00:26:92:1E:8F:F0:00:26:92:1E:8F:F1'
Memory Address 0xA00BFFF0
(b) Sample program
Illustrated below is an example of the sequential processing program
/* Individual identification information read-out processing */
#include <vxWorks.h>
void readIdentify(void){
/* Variable declaration */
unsigned char Identify[12];
/* 1) Individual identification information read-out */
memcpy(Identify,0xA00BFFF4,12);
return;
}
182
+0
+4
-
-
-
-
00
26
/* Individual identification information storage area */
+8
92
1E
8F
F0
00
26
+C
92
1E
8F
F1

Advertisement

Table of Contents
loading

Table of Contents