4 - 12 4 - 12
MELSEC-Q
4 SETUP AND PROCEDURES BEFORE OPERATION
(2) Program
examples
The program in the dotted area of (a) is common to (a), (b) and (c).
In this example, the I/O numbers of the Q64RD/Q64RD-G are X/Y0 to X/YF.
•
Offset request ............................................................................. M0
•
Gain request ............................................................................... M1
•
Write request .............................................................................. M2
•
Mode switching ........................................................................... M3
•
Offset/gain temperature set value ........................................ D0, D1
•
Dedicated instruction (G.OFFGAN) setting storage device ..... D10
(a) When switching the mode using the dedicated instruction (G.OFFGAN)
The following program example switches to the offset/gain setting mode with
the dedicated instruction (G.OFFGAN) and writes the offset/gain values of
CH. 1 to the Q64RD/Q64RD-G.
Stores setting of dedicated
instruction (G.OFFGAN) into D10.
Dedicated instruction (G.OFFGAN)
Switches to
offset/gain
setting mode
Switches to
normal mode
The program in the dotted area is a common program.
Turns ON user range write request (YA)
Turns OFF user range write request (YA)
Turns OFF CH gain setting request (Y2)
Turns ON CH1 gain setting request (Y2)
Turns OFF CH offset setting request (Y1)
Turns ON CH1 offset setting request (Y1)
Stores setting of dedicated
instruction (G.OFFGAN) into D10.
Dedicated instruction (G.OFFGAN)
Processing in normal mode
Writes CH1 offset temperature set value.
Writes CH1 gain temperature set value.
K500000
Summary of Contents for q64rd
Page 1: ......
Page 2: ......
Page 62: ...3 39 3 39 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 92: ...5 17 5 17 MELSEC Q 5 UTILITY PACKAGE GX Configurator TI X Y Monitor Test 1 OMC refresh ...
Page 98: ...5 23 5 23 MELSEC Q 5 UTILITY PACKAGE GX Configurator TI MEMO ...
Page 175: ......
Page 176: ......