Mitsubishi Electric MELSEC iQ-R Series User Manual page 268

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Registration data byte count designation (Un\G5, 6912, 6953, ..., 8142)
• The total number of bytes of registration data of user frame to be registered (written)/read is indicated.
• Accessing to the flash ROM
At the time of registration, the user writes the total number of bytes of registration data.
At the time of reading, the total number of bytes of registration data is stored.
• Accessing to the buffer memory
At the time of registration, the user writes the total number of bytes of registration data.
■User frame (Un\G6 to 45, 6913 to 6952, 6954 to 6993, ..., 8143 to 8182)
• During the registration, the user sequentially stores the registration data of the user frame to be registered in the order of
(L) and (H), beginning from the head area of the given area range.
• During the reading, the registration data of the registered user frame is stored with the same contents and arrangement as
when registering.
Ex.
Contents stored in the user frame storage area when a user frame to transmit and receive ETX, sum check code, CR, and LF
(registered codes: 03H, FFH, F1H, 0DH, 0AH) is registered to the flash ROM.
Address
Un\G6
Un\G7
Un\G8
(Data contents transmitted and received)
User frame register
02H
code
Transmission/reception
data corresponding to
register code
Transmission/recep
02H
tion data code
■User frame registration status (For registration number check) (Un\G517 to 541)
• The registration status of user frames to the flash ROM is stored with the values shown below.
• The contents of each area that indicates the registration status are shown below. The contents of the area are indicated in
one user frame number/1 bit form.
Ex.
User frame No. 1015 (3F9H)
registration status
Address
0: Not registered
Un\G517
1: Registered
Un\G518
Un\G529
13 CONTENTS AND REGISTRATION OF USER FRAMES FOR DATA COMMUNICATION
266
13.4 Registering/Reading/Deleting User Frames
Buffer memory
(H) (L)
FFH, 03H
0DH, F1H
00H, 0AH
(Part corresponding to
registered frame above)
User frame
Arbitrary
(First frame)
data
FFH,01H 3BH
03H FFH,F1H 0DH 0AH
S
E
;
T
T
A
1
(12ABH)
X
X
00H
3BH
41H
31H
ABH
12H 03H
Sum check code
calculation range
User frame No. 1000 (3E8H)
registration status
(H) Buffer memory (L)
b15
to
b8 b7
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
User frame No. 1199 (4AFH) registration
status (Subsequent bits are spares)
Head data
Last data
User frame
(Last frame)
C
L
R
F
32H 01H
0DH
0AH
The C24 calculates the
CPU module checksum.
to
b0
1
1
1
1
to 030FH
0
0
1
1
to 0303H
0
0
0
0
to 0000H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents