Mitsubishi MELSEC Q Series Programming Manual page 770

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

KEY
(2) Numerical input to input (X) designated by
+7 and is input as the ASCII code corresponding to the numbers.
S
ASCII code which can be input is from 30
(3) After ASCII code is input to
designated numbers internally.
The strobe signal should be held at its ON or OFF status for more than one scan of the
sequence program.
If this time is less than 1 scan, there will be cases when the data is correctly incorporated.
Execution command
Condition contact for
the execution of KEY
instruction
Strobe signal (
ASCII code input
S
(
to
(4) Be sure to keep the execution command (condition contact for the KEY instruction) ON until
the specified number of digits has been input.
The KEY instruction cannot be executed if the execution command turns OFF.
(5) The digits for the numbers actually fetched to
, and these will be converted to the ASCII codes input at
D1
hexadecimal BIN values, and stored.
Execution command
Condition contact for the
execution of KEY instruction
Strobe signal (
ASCII code input
S
(
to
(6) The number of digits that can be designated by n is from 1 to 8.
7-396
Input module
S
+1
S
+2
S
+3
S
+4
S
+5
S
+6
S
+7
S
to
S
ON for 1 scan
OFF for 1 scan
or longer
or longer
S
+8)
31
H
S
+7)
Fetches "1"
S
8)
31
H
S
7)
D1
1
D1
1
0 0 0 1
D1
2
0 0 0 0
undergoes bit development at
S
(0) to 39
(9), and from 41
H
H
(3
)
(1
H
H
b7
b4
b3
)= 0
0 1 1 0 0 0 1
"1"(31
H
+7, the strobe signal at
S
32
33
H
H
Fetches "3"
Fetches "2"
Fetches "4"
will be stored at the device designated by
D1
33
35
H
H
2
3
0 0 1 3
0 1 3 5
1 3 5 7
0 0 0 0
0 0 0 0
0 0 0 0
through
S
(A) to 46
(F).
H
H
)
b0
+8 goes ON to incorporate the
S
34
H
+1 and
+2, converted to
D1
D1
37
39
H
H
4
5
3 5 7 9
0 0 0 1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents