7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL

MELSEC-Q

 

 

 

 

 

 

 

 

 

 

 

Q series C24

 

 

 

 

 

 

 

 

 

Address

 

Buffer memory

 

 

 

 

 

For normal completion

 

 

 

 

 

 

257H

 

Data transmission result storage area

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D 0

 

 

 

 

 

 

 

 

 

 

 

 

 

Interface number

(0001H)

 

 

 

 

 

 

400H

 

 

 

 

D 1

 

 

 

 

 

 

 

 

 

Transmission data count designation area

Transmission result

(0000H)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

401H

 

 

 

 

D 2

Transmission data count

(0005H)

 

 

 

 

 

 

 

 

 

 

to

 

Transmission data designation area

 

 

 

 

 

 

 

 

 

 

D11

 

(4241H)

 

 

 

 

 

 

5FFH

 

 

 

 

 

 

 

 

 

 

 

 

to

Transmission data

to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D15

 

(0A0DH)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For abnormal completion

 

 

 

 

 

 

 

 

 

 

 

D 0

 

 

 

 

 

 

 

 

 

 

 

 

 

Interface number

(0001H)

 

 

 

 

 

 

 

 

 

 

 

D 1

Transmission result (other than 0000H)

 

 

 

From buffer memory (address 257H)

 

 

 

D 2

Transmission data count

(0005H)

 

 

 

 

 

 

 

 

 

 

 

D11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(4241H)

 

 

 

 

 

 

 

 

 

 

 

to

Transmission data

to

 

 

 

 

 

 

 

 

 

 

 

D15

 

(0A0DH)

 

 

 

 

 

 

 

 

 

 

 

POINT

(1)The SPBUSY instruction is used to read the execution status when using a dedicated instruction. (See Chapter 9.)

(2)More than one BIDOUT instruction cannot be executed simultaneously. Execute the next BIDOUT instruction only after the execution of the first BIDOUT instruction is completed.

7 - 21

7 - 21