9DEDICATED INSTRUCTIONS

Function

MELSEC-Q

(1)The function sends data stored in the device designated in (S2) and succeeding devices according to the control data of the device designated in (S1) and succeeding devices, via the bidirectional protocol of the module designated in Un.

(2)When a BIDOUT instruction is executed on a channel, other BIDOUT instructions cannot be executed on that channel at the same time.

If an attempt is made during execution of a BIDOUT instruction to execute another BIDOUT instruction, the second instruction will not be executed until the execution of the first instruction is completed.

(3)Whether a BIDOUT instruction was completed normally or abnormally can be checked by the completion device ((D)) or status display device at completion ((D)+1).

(a)Completion device: Turns on at the END processing of the scan where the BIDOUT instruction is completed, and turns off at the next END processing.

(b) Status display device

 

at completion

: Turns on and off depending on the completion status

of the BIDOUT instruction.

• Normal completion : Off with no change.

• Abnormal completion: Turns on at the END processing of the scan where the BIDOUT instruction is completed, and turns off at the next END processing.

[Operation during execution of a BIDOUT instruction]

 

 

 

 

 

 

 

 

Sequence

END

 

 

END

END

END

processing

 

 

processing

processing

processing

program

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Execution of BIDOUT

 

 

 

Completion of transmission by

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

instruction

 

 

 

a BIDOUT

 

 

 

 

BIDOUT instruction

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON

 

 

 

 

Completion device

OFF

 

 

 

 

 

 

Abnormal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON completion

Status display device

OFF

 

 

 

 

 

 

 

 

 

 

 

at completion

 

 

 

 

 

 

 

 

Normal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

completion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

One scan

 

 

 

 

Error

(1)When a dedicated instruction is completed abnormally, the abnormal completion signal (D)+1, turns on and the error code is stored in the transmission result (S1)+1. In case of operation errors, the error flag (SM0) turns on and the error code is stored in SD0.

See one of the following manuals according to the error code, and check and correct the error.

<Error code>

4FFFH or less : QCPU(Q Mode) User's Manual

(Hardware Design, Maintenance and Inspection) 7000H or more: Section 10.2 of the User's Manual (Basic)

9 - 12

9 - 12