Mitsubishi Electric MELSEC-Q/L Programming Manual page 765

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

• Numerical input to input (X) designated by (S) undergoes bit development at (S) through (S)+7 and is input as the ASCII
code corresponding to the numbers. ASCII code which can be input is from 30H (0) to 39H (9), and from 41H (A) to 46H
(F).
Input module
)= 0
"1"(31
H
S
+1
S
+2
S
+3
S
+4
S
+5
S
+6
S
+7
S
• After ASCII code is input to (S) to (S)+7, the strobe signal at (S)+8 goes ON to incorporate the 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
ON for 1 scan
the execution of KEY
or longer
instruction
Strobe signal (
S
+8)
ASCII code input
31
S
S
(
to
+7)
Fetches "1"
• 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.
• The digits for the numbers actually fetched to (D1) will be stored at the device designated by (D1), and these will be
converted to the ASCII codes input at (D1)+1 and (D1)+2, converted to hexadecimal BIN values, and stored.
Execution command
Condition contact for the
execution of KEY instruction
Strobe signal (
S
8)
ASCII code input
31
(
S
to
S
7)
D1
D1
1
0 0 0 1
D1
2
0 0 0 0
(3
)
(1
)
H
H
b7
b4
b3
b0
0 1 1 0 0 0 1
OFF for 1 scan
or longer
32
33
H
H
H
Fetches "3"
Fetches "2"
33
35
H
H
H
1
2
3
0 0 1 3
0 1 3 5
0 0 0 0
0 0 0 0
34
H
Fetches "4"
37
39
H
H
4
5
1 3 5 7
3 5 7 9
0 0 0 0
0 0 0 1
7 APPLICATION INSTRUCTIONS
763
7.19 Other Instructions
7

Advertisement

Table of Contents
loading

Table of Contents