6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MELSEC-Q

2)Reception by received data count

When the received data count is set larger than the receive data storage area, the receive buffer memory length (default: 512 words) -1 set in buffer memory addresses A7H/147H is processed as the received data count.

(Receive data storage area) > (Data length received from external device)

(Example) When 550 words of data is received through the CH1 interface in three parts when the CH1 interface receive area consists of addresses 600H to 7FFH (default value)

 

1st data

 

 

 

2nd data

 

 

3rd data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

External device

 

511 words

 

39 words

 

 

472 words

 

78 words

 

 

433 words

117 words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q series C24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reception data read

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

request signal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sequence program

 

 

 

INPUT

 

 

 

INPUT

 

 

 

INPUT

 

 

 

 

 

 

 

 

 

Read data....

Read data....

1st 39 words and

1st 511 words

2nd 472 words

 

6 - 10

6 - 10