6.3.1 Bin Data To 4-/8-Digit Bcd Data Conversion - Mitsubishi MELSEC-Q Series Programming Manual

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

Advertisement

(2) In the following program, 32-bit data from D0 to D1 are output to devices from Y40 to Y67.
Y67 to Y64
Y63 to Y60
Output
power supply
[Structured ladder]
[ST]
IF SM400 THEN
Var_D2:=Var_D0/10000;
DBCDP(TRUE,Var_D2[1],K8Y40);
DBCD(TRUE,Var_D2[0],K6Y50);
END_IF;
Programmable controller output module
Y5F to Y5C
Y5B to Y58
Y57 to Y54
7-segment display unit

6.3.1 BIN data to 4-/8-digit BCD data conversion

Y53 to Y50
Y4F to Y4C
Y4B to Y48
6.3 Data Conversion Instructions
BCD, DBCD
Y47 to Y44
Y43 to Y40
6
6-67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents