7-Segment Display Output - 7Seg(214) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Basic I/O Unit Instructions
Timing Chart
00
01
02
03
04
05
06
07
00
:
32
:
64
00
:
32
:
64
08
One round completed in 24 cycles
Flags
Precautions
Example
3-23-9 7-SEGMENT DISPLAY OUTPUT – 7SEG(214)
Purpose
Name
Label
Error Flag
ER
Do not read or write the system word (C) from any other instruction.
MTR(213) will not operate correctly if the system word is accessed by another
instruction. The system word is not initialized by MTR(213) in the first cycle
when program execution starts. If MTR(213) is being used from the first cycle,
clear the system word from the program.
MTR(213) will not operate correctly if I/O refreshing is not performed with the
Input Unit and Output Unit connected to the external matrix after MTR(213) is
executed. Consequently, set the input time constant for the Input Units used
for the data line input word to a value that is shorter than the cycle time, or do
not connect the external matrix to the following Units.
• Basic I/O Units or High-density I/O Units mounted in a SYSMAC BUS
Remote I/O Slave Rack
• Communications Slaves (DeviceNet or CompoBus/S Slaves)
In this example, MTR(213) reads the 64 bits of data from the 8
stores the data in W000 to W003. The 8
CIO 0100 (allocated to a CS1W-ID211 16-point DC Input Unit) and CIO 0200
(allocated to a CS1W-OD211 16-point Transistor Output Unit). D32000 is
used as the system word.
Always ON Flag
Converts the source data (either 4-digit or 8-digit BCD) to 7-segment display
data, and outputs that data to the specified output word.
This instruction is supported only by CS/CJ-series CPU Unit Ver. 2.0 or later.
Selection signals
Matrix status
Bits indicating status of inputs
(Bit ON when input is ON)
One Round Flag
Operation
OFF
8 matrix is connected through
P_On
MTR(213)
I
O
D
C
Section 3-23
8 matrix and
0100
0200
W000
D32000
957

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents