![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030997.webp)
957
Basic I/O Unit Instructions
Section 3-23
Timing Chart
Flags
Precautions
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)
Example
In this example, MTR(213) reads the 64 bits of data from the 8
×
8 matrix and
stores the data in W000 to W003. The 8
×
8 matrix is connected through
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.
3-23-9 7-SEGMENT DISPLAY OUTPUT – 7SEG(214)
Purpose
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.
00
01
02
03
04
05
06
07
00
32
64
00
32
64
08
:
:
:
:
One round completed in 24 cycles
Selection signals
Matrix status
One Round Flag
Bits indicating status of inputs
(Bit ON when input is ON)
Name
Label
Operation
Error Flag
ER
OFF
I
O
D
C
MTR(213)
0100
0200
W000
D32000
P_On
Always ON Flag
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...