Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-162
FROM(P),DFRO(P)
Program Example
(1) The following program reads the digital value of CH1 of the A68AD mounted at I/O numbers
040 to 05F into D0 when X0 is turned ON. (Reads 1 word of data from address 10 of the
buffer memory.)
[Ladder Mode] [List Mode]
(2) The following program reads the X-axis present value of the AD71 mounted at the I/O
numbers 040 to 05F into D0 and D1, when X0 is turned ON. (Reads data in 2 words from
the address 602 and 603 of the buffer memory.)
[Ladder Mode] [List Mode]
Remark
1. The value of n1 is specified by the upper 3 digits of hexadecimal 4-digit
representation of the head I/O number of the slot in which an intelligent
function module is mounted.
2. QCPU establishes the automatic interlock of the FROM/DFRO instructions.
Step
Instruction
Device
Step
Instruction
Device
Q
X
10
Head I/O number
of the reading
K4 or H4
Q
X
10
Q
X
10
Q
X
10
Q
68
A
D
V
Q
Y
41
P
Q
Y
10
Q
Y
10
X0000
X000
F
X0010
X001F
X0020
X002F
X0030
X003F
0040
004F
Y0050
Y006F
Y0070 Y0080
Y008FY007F
Power supply module
CPU module