APPENDIX

(2) Program example

<Registration command>

<Setting of user frame>

<Registration command 2>

<Flash ROM write request>

<Read of registration result>

MELSEC-Q

Changes the registration command into pulses.

Sets the registration instruction.

Sets the frame No.

Sets the number of data bytes registered.

Sets the user frame.

Transfers the setting values to the flash ROM access area of the buffer memory(registration instruction and frame No.).

Registration instruction 2

Abnormal completion of REMTO instruction

Transfers the setting values to the flash ROM access area of the buffer memory(number of registered data bytes and later).

Sets the registration flag.

Abnormal completion of REMTO instruction

Turns ON the flash ROM write request signal.

Registration result acquisition command

Reads the registration result from the flash ROM access area of the buffer memory to D2.

Normal completion of REMFR instruction

Abnormal completion of REMFR instruction

Turns OFF the flash ROM write request signal.

Resets the registration flag.

App. - 49

App. - 49