APPENDIX

(2) Program example

<Receive clear command>

 

 

 

 

 

 

 

 

 

 

 

<Receive clear processing execution>

 

 

( 1)

 

<Read of receive clear status>

( 1)

MELSEC-Q

Changes the receive clear command into pulses.

Sets the receive clear acceptance flag.

Receive clear processing execution command

Sets the clear request.

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

( 1)

disable flag.

Receive clear processing execution status acquisition command

Timer start

 

 

 

 

 

 

 

 

 

 

Resets the communication

 

 

 

 

( 1)

 

 

 

 

 

 

 

 

 

 

 

 

 

disable flag.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outputs the communication enable flag.

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.)

App. - 42

App. - 42