6 - 1 6 - 1
MELSEC-Q
6 PROGRAMMING
6 PROGRAMMING
This chapter describes Q64RD/Q64RD-G programs.
When applying any of the program examples introduced in this chapter to the actual
system, verify the applicability and confirm that no problems will occur in the system
control.
6.1 Programs Used in Normal System Configuration
System configuration used to describe programs
(1) System configuration
Po
we
r su
p
pl
y
mo
d
ul
e
QnCP
U
Q64
R
D
QX
41
QY
41
X/Y0
to
X/YF
X10
to
X2F
Y30
to
Y4F
(2) Program conditions
This program reads 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.
(a) Initial settings
• Temperature conversion enabled channel..........................CH1 to CH3
• Sampling channel.................................................................CH1
• Count-specified averaging channel .....................................CH2
• Time-specified averaging channel.......................................CH3
(b) Devices used by user
• Measured temperature value read command signal
(Turned on when user wants to read measured
temperature value) ..............................................................
X10
• Disconnection detection reset signal .................................. X11
• Error reset signal
(Turned on when user wants to make error reset) .............
X12
• Error code display(3-digits BCD)......................................... Y40 to Y4B
• Conversion flag .................................................................... M0 to M2
• Measured temperature value (16-bit) ................................. D1 to D3
(D11 to D13)
• Disconnection detection flag ............................................... D4, M10
• Error code storage .............................................................. D5
POINT
Refer to Section 3.3 for the I/O signals (X0 to XF, Y0 to YF).
6
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: ......