EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 367

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.8 External FX I/O Device
365
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
2. 32-bit operation(DTKY)
By pressing key from the input for connecting the numeric keys (device designated in ), the entered
numerical value is stored in the device designated in , and the key pushing information and key sense
output are issued to the device designated in .
1) Entered numerical value
- If more than 99,999,999, the value overflows from the higher digits.
- The entered numerical value is stored in the BIN (binary) value.
2) Key pushing information
- Key pushing information of to +9 is turned ON/OFF depending on the pushed key.
- Key sense output of +10 is ON when either key is being pushed.
As for numeric key connection example and key pushing information, see the above explanation of 16-bit
operation (TKY).
Cautions
1. When keys are pressed simultaneously
When plural keys are pressed, only the first pressed key is valid.
2. When command contact is turned OFF
If turned OFF, the content of is not changed, but all of to +10 are turned OFF.
3. Number of bits occupied
1) When a numeric key is connected, 10 points are occupied from .
When numeric key is not connected (not used), the devices are occupied and cannot be used in other
applications.
2) A total of 11 points are occupied from the beginning device for output of key pushing information.
Be careful not to overlap with the device used in control of machine.
- to +9: Turned ON corresponding to the input of numeric keys 0 to 9.
- +10: Kept ON while any one of 0 to 9 is being pressed (key sense output).
4. Limit of number of times of use of command
Only one of TKY command and DTKY command can be used in the program.
If desired to use plural times, you can program by the index modifier (V, Z) function.
5. Designation of input and output variables
When handling 32-bit data in a structured program, you cannot designate 16-bit device directly unlike in
simple project. When handling 32-bit data, please use the label. However, the 32-bit counter is a device of 32
bits long, and the device can be designated directly. When designating the device, please use the global
label.
6. Object devices are limited.
S1: FX3U, FX3UC PLCs only are applicable.
However, index modifier (V, Z) is not applicable.
S2: FX
3U, FX3UC PLCs only are applicable.
Command input
DTKY
EN
s
ENO
d1
d2
Beginning bit device
for entering numeric
key
Label
*1
*1.To define the word device for storing data.
Beginning bit device
for turning ON key
pushing information

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals