Melsec-q, Appendix (2) program example – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 343

Advertising
background image

App. - 49 App. - 49

MELSEC-Q

APPENDIX

(2) Program example

Resets the registration flag.

<Registration command>

<Setting of user frame>

<Registration command 2>

<Flash ROM write request>

<Read of registration result>

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.

Advertising
This manual is related to the following products: