6 - 4 6 - 4
MELSEC-Q
6 PROGRAMMING
6.2 Programs Used on Remote I/O Network
System configuration used to describe programs
(1) System configuration
Po
we
r supply
mo
d
ul
e
QnCP
U
QJ7
1LP
21-25
QX
10
QY
10
Po
we
r supply
mo
d
ul
e
QJ7
2LP
25-25
QX
10
QY
10
X/Y100
to
X/Y10F
Q64RD
X/Y110
to
X/Y11F
X/Y120
to
X/Y12F
Remote master station (Network No. 1)
Remote I/O station (Station No. 1)
(2) Program conditions
This program is written for the CPU on the remote master station to read the
digital values of temperature conversions made on CH1 to CH3 of the Q64RD.
Sampling processing is performed on CH1, and Averaging processing is
executed every 500 counts on CH2 and in a cycle of 1000ms on CH3. If a write
error occurs, the corresponding error is displayed in BCD.
(3) Initial settings
• Temperature conversion enabled channel ..................................CH1 to CH3
• Sampling channel .........................................................................CH1
• Count-specified averaging channel..............................................CH2
• Time-specified averaging channel ...............................................CH3
• CH2 averaging count....................................................................500 times
• CH3 averaging time......................................................................1000ms (1s)
(4) Devices used by user
• Initial setting request signal ..........................................................X20
• Measured temperature value read command signal
(Turned on when user wants to read measured value) ..............X21
• Disconnection detection reset signal ...........................................X22
• Error reset signal
(Turned on when user wants to make error reset) ...................... X23
• Error code display (3-digits BCD) ................................................Y30 to Y3B
• Conversion completion flag.......................................................... D10
• CH1 to 3 temperature value (16-bit) ............................................D1 to D3
(W1 to W3)
• Disconnection detection flag ........................................................W4, M20
• Error code storage........................................................................W5
POINT
(1) Refer to Section 3.3 for the I/O signals (X120 to X12F, Y120 to Y12F).
(2) For details on the MELSECNET/H remote I/O network, refer to the Q
Corresponding MELSECNET/H Network System Reference Manual (Remote
I/O Network).
Содержание q64rd
Страница 1: ......
Страница 2: ......
Страница 62: ...3 39 3 39 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 92: ...5 17 5 17 MELSEC Q 5 UTILITY PACKAGE GX Configurator TI X Y Monitor Test 1 OMC refresh ...
Страница 98: ...5 23 5 23 MELSEC Q 5 UTILITY PACKAGE GX Configurator TI MEMO ...
Страница 175: ......
Страница 176: ......