hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 430

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 32-bit operation (DHKY)
Hexadecimal numerical value data input using keys 0 to F is shifted into [
byte.
1)
Input of a numeric value using keys 0 to F:
- When the input value is larger than "FFFFFFFF", it overflows from the most significant digit.
- Example:
When "9 → 2 → 3 → B → F → A → F" is input, numerical value "923BFAF" is stored in [
binary.
Command
input
Related devices
Device
M8167
Extension function flag
Instruction execution com-
M8029
Cautions
1. Limitation in the number of instructions
The HKY or DHKY instruction can only be used once in a program.
When the TKY and/or DTKY instruction should be used two or more times, use the indexing (V, Z) function.
2. When two or more keys are pressed at the same time
In such a case, the first key pressed is valid.
3. When the command contact turns OFF
Though the contents of
4. Number of devices occupied
1)
Four devices are occupied from the head X device
2)
Four devices are occupied from the head Y device
3)
Eight devices are occupied from the head device
Make sure that these devices are not used by other machine controls.
-
D
to
3
-
+6: Key sensing output for the keys A to F
D
3
-
+7: Key sensing output for the keys 0 to 9
D
3
5. Key input receiving timing
HKY and DHKY instructions are executed in synchronization with the operation cycle of the PLC.
8 scan cycles are required to finish reading the keys.
To prevent key input receiving errors caused by the filter delay, utilize the "constant scan mode" and "timer interrupt"
function.
6. Output format
Use a transistor output type PLC.
428
M8167
FNC 71
S
DHKY
→ For the instruction execution complete flag use method, refer to Subsection 6.5.2.
Name
Turns ON/OFF the hexadecimal data handling function of HKY (FNC 71) instruction.
OFF:
Ten-keys and function keys
ON:
Hexadecimal keys
OFF:
Data is being output to
ON:
A cycle operation of outputting data to
plete flag
completed.
do not change,
D
2
D
+5: Key pressing information for the keys A to F
3
15 External FX I/O Device – FNC 70 to FNC 79
D
D
D
1
2
3
Description
D
D
to
1
to
+7 turn OFF.
D
D
3
3
S
for connecting 16 keys.
D
for connecting 16 keys.
1
for outputting the key pressing information.
D
3
15.2 FNC 71 – HKY / Hexadecimal Input
D
+1,
D
] from the least significant
2
2
D
+1,
2
+3 or the instruction is not executed yet.
1
D
to
D
+3 (scan of the keys 0 to F) is
1
1
D
] in
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents