User`s manual

240
9.4.1 Registering user frames
The following shows an example of a sequence program when registering user frames in the Q series C24 flash ROM.
For details on the PUTE instruction, see Page 398, Section 17.7.
(When the Q series C24 I/O signals are X/Y80 to X/Y9F)
Data set for the program example are as follows:
When registering a user frame in the flash ROM, to designate an user frame number that has already been registered,
delete the previously registered number and then reregister.
The user should manage the number of total bytes for registered data.
To check unregistered user frames, read the buffer memory (addresses: 205H to 21DH) indicated in Page 238, Section
9.4 (3).
The SPBUSY instruction can be used to read the communication status by the dedicated instruction.
Setting item Setting data
User frame No. 3E8H
Registration data (10 bytes)
Binary 46H,39H,30H,30H,30H,30H,46H,46H,30H,30H
ASCII F90000FF00
Registration request
Sets the registration request
Sets the frame number to be
registered
Sets the number of registration
data bytes
Sets the flash ROM write allow
Executes user frame registration
Normal completion
Abnormal completion
Sets the registration data
for the frame to be registered
in D4 to D8