Mitsubishi MELSEC QCPU Programming Manual page 221

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
[Operation Errors]
(1) In the following cases an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored at SD0.
• Data at
• Data at
[Program Example]
(1) The following program converts the Gray code data at D100 when X10 is ON to BIN data, and
stores the result at D200.
[Ladder Mode]
(2) The following program converts the Gray code data at D10 and D11 to BIN data when X1C is
ON, and stores the result at D0 and D1.
[Ladder Mode]
6 - 70
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
when GBIN instruction was issued is outside the 0 to 32767 range.
S
when DGBIN instruction was issued is outside the 0 to 2147483647 range.
S
[List Mode]
Steps
Instruction
[List Mode]
Steps
Instruction
MELSEC-Q/QnA
Device
Device
6 - 70

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents