App. - 53 App. - 53
MELSEC-Q
PPENDIXES
Appendix 9.9 When registering user frame
The following program example registers a user frame to the flash ROM of the Q
series C24 using the REMFR/REMTO instruction and I/O signals.
Refer to the User's Manual (Application) for the registration of the user frame.
POINT
It is recommended to use GX Configurator-SC when registering a user frame to the
flash ROM of the Q series C24. (Refer to Chapter 8.)
(1) Program conditions
The following program registers a user frame to the flash ROM of the QJ71C24N
when the registration command (X1028) turns ON.
(a) Devices used
:
• Registration command............................................................ X1028
• Registration command pulse signal........................................ M10
• Registration command 2......................................................... M11
• Registration flag ...................................................................... M12
• Registration result acquisition command................................ M13
• Completion device for REMFR/REMTO instruction ............... M100 to 105
• Normal/abnormal completion flag for REMFR/REMTO
instruction................................................................................ M200 to 203
• Registration instruction............................................................ D0
• Frame No. ............................................................................... D1
• Registration result ................................................................... D2
• Number of data bytes registered ............................................ D3
• User frame............................................................................... D4 to 8
(b) Buffer memory settings used in this example
Address Decimal (Hexadecimal)
CH1
Name
Setting
value
2 (2H) Register/read/delete instructions 1
3 (3H) Frame No. direction 03E8H
4 (4H) Registration/read/delete result storage —
5 (5H) Number of data bytes registered designation 10
6 (6H) 3946H
7 (7H) 3030H
8 (8H) 3030H
9 (9H) 4646H
10 (AH)
For flash ROM
access
User frame
3030H