Mitsubishi Electric melsec q00ujcpu User Manual page 581

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

(5)
Replacement example of the KEY instruction
(a)
Example of device assignment
Application
Numeric input execution
instruction
Input complete flag
Input data area
ASCII code input signal
Strobe signal
If the device numbers in the example above are used for other applications, assign unused device
numbers instead.
(b) Program before replacement
App - 37
TableApp.31 Example of device assignment
Before replacemen
Device
M0
M1
D200 to D203
X100 to X107
X108
Figure App.15 Sample program
After replacement
Application
Numeric input execution instruction
Input complete flag
Input data area
ASCII code input signal
Strobe signal
Input data area address (BIN32)
(Input data area + 0) address (BIN32)
(Input data area + 1) address (BIN32)
(Input data area + 2) address (BIN32)
For shifting input data
For converting input data
Device
M0
M1
D200 to D203
X100 to X107
X108
D210 to D211
D212 to D213
D214 to D215
D216 to D217
D218
D219 to D220

Advertisement

Table of Contents
loading

Table of Contents