Mitsubishi MELSEC Q Series Programming Manual page 296

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

GBIN(P),DGBIN(P)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into 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-94
when the GBIN instruction was issued is outside the 0 to 32767 range.
S
when the DGBIN instruction was issued is outside the 0 to 2147483647 range.
S
[List Mode]
Step
Instruction
[List Mode]
Instruction
Step
(Error code: 4100)
(Error code: 4100)
Device
Device

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents