Mitsubishi Electric MELSEC-Q/L Programming Manual page 272

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
4100
The data of (S) is other than 0 to 9999 when the BCD instruction is executed.
The data of (S) or (S)+1 is other than 0 to 99999999 when the DBCD
instruction is executed.
Program example
• The following program outputs the present value of C4 from Y20 to Y2F to the BCD display device.
Output
power supply
0 1 0 1
[Ladder Mode]
• The following program outputs 32-bit data from D0 to D1 to Y40 to Y67.
Y67 to Y64
Output
power supply
[Ladder Mode]
6 BASIC INSTRUCTIONS
270
6.3 Data Conversion Instructions
Programmable Controller Output Module
0 1 1 0
0 1 1 1
7-segment display unit
Programmable Controller Output Module
Y63 to Y60
Y5F to Y5C
Q00J/
Q00/
Q01
1 0 0 0
[List Mode]
Step
Y5B to Y58
Y57 to Y54
Y53 to Y50
7-segment display unit
[List Mode]
Step
QnH
QnPH
QnPRH
Device
Instruction
Y4F to Y4C
Y4B to Y48
Instruction
Device
QnU
LCPU
Y47 to Y44
Y43 to Y40

Advertisement

Table of Contents
loading

Table of Contents