EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 430

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
428
7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
If (D) is a bit device, indicates the head number of the devices storing the 7-segment display data; if it is a word device,
indicates the number of the device storing the data.
Operation error
There is no operation error in the SEG(P) instruction.
Program example
The following program converts the data from XC to XF to 7-segment display data and outputs it to Y38 to Y3F when X0 is
turned ON.
[Ladder Mode] [List Mode]
[Timing Chart]
Y4F
00100111
8 points
Y48
SEG K7 K2Y48
After execution
Before execution
b15
0000000
0
b8
SEG K7 D8
Bit device
Word device
00
1
00
11
1
b7
b0
D8
7-segment display data is
stored in lower 8 bits.
Upper 8 bits are
always filled with 0s.
Step
Instruction
Device
X0
Y38 to Y3F
*1: The data Y38 to Y3F will not change until the next data is output.
* 1

Table of Contents

Related product manuals