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

Page 336

Advertising
background image

App. - 42 App. - 42

MELSEC-Q

APPENDIX

(2) Program example

<Receive clear command>

<Receive clear processing execution>

<Read of receive clear status>

Changes the receive clear
command into pulses.

Sets the receive clear acceptance
flag.

Receive clear processing execution
command

Transfers the setting value to the
receive data clear request area
of the buffer memory.

Sets the receive clearing flag.

Sets the completion check flag.

Receive clear processing execution
status acquisition command

Abnormal completion of REMTO
instruction

Reads data of the receive data clear
request area of the buffer memory
to D0.

Receive clear processing execution
status judgment command

Abnormal completion of REMFR
instruction

Resets the receive clear acceptance
flag.

Resets the receive clearing flag.

Resets the completion check flag.

Sets the communication
disable flag.

Receive clear processing execution
status acquisition command

Timer start

Resets the communication
disable flag.

Outputs the communication enable
flag.

Sets the clear request.

( 1)

( 1)

( 1)

( 1)

1 When using the Q series C24 of function version A, add the areas enclosed

by the dotted lines to the sequence program. (Make communication when

M19 is ON.)

Advertising
This manual is related to the following products: