Matrix Input: Mtr(213) - 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
Flags
Precautions
Example

3-23-8 MATRIX INPUT: MTR(213)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Name
Label
Error Flag
ER
Do not read or write the system word (C) from any other instruction. HKY(212)
will not operate correctly if the system word is accessed by another instruc-
tion. The system word is not initialized by HKY(212) in the first cycle when
program execution starts. If HKY(212) is being used from the first cycle, clear
the system word from the program.
HKY(212) will not operate correctly if I/O refreshing is not performed with the
Input Unit and Output Unit connected to the hexadecimal keypad after
HKY(212) 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 hexadecimal keypad 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, HKY(212) reads up to 8 digits of hexadecimal data from a
hexadecimal keypad and stores the data in D00000 and D00001. The hexa-
decimal keypad 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.
Always ON Flag
Inputs up to 64 signals from an 8
Output Unit (using 8 input points and 8 output points) and stores that 64-bit
data in the 4 destination words.
This instruction is supported only by CS/CJ-series CPU Unit Ver. 2.0 or later.
MTR(213)
I
I: Input word
O
O: Output word
D
D: First destination word
C: System word
C
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
Not allowed
OK
Operation
OFF
P_On
HKY(212)
I
O
D
C
8 matrix connected to an Input Unit and an
Step program areas
Subroutines
OK
Section 3-23
0100
0200
D00000
D32000
MTR(213)
Not supported.
Not supported.
Interrupt tasks
Not allowed
953

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents