6
PROGRAMMING
6.2 Using Programs in Normal System Configuration
6.2.3 Program example when GX Configurator-TI is not used
6 - 12
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
SETUP AND
PROCEDURES BEFORE
OPERATION
5
UTILITY PACKAGE (GX
CONFIGURATOR-TI)
6
PROGRAMMING
7
ONLINE MODULE
CHANGE
8
TROUBLESHOOTING
6.2.3 Program example when GX Configurator-TI is not used
(1) List of devices
(2) List of buffer memory addresses to be used
Table 6.4 List of devices
Device Function
D11 CH1 Measured temperature value
D12 CH2 Measured temperature value
D13 CH3 Measured temperature value
M0 Module ready check flag
X0 Module ready
Q68TD-G-H02(X/Y0 to X/YF)
X9 Operating condition setting completion flag
XC Disconnection detection signal
XF Error flag
Y9 Operating condition setting request
YF Error clear request
X10
Device that user turns on to start reading
measured temperature values
QX10(X10 to X1F)
X11
Device that user turns on to reset a
disconnection detection state
X12 Device that user turns on to reset an error
Y20 to Y2B Error code display (BCD 3 digits) QY10(Y20 to Y2F)
Table 6.5 List of buffer memory addresses to be used
Address Description
Setting
value
Remarks
Un\G0
*1
Conversion enable/disable setting 00F8H
"Enable” is set to CH1 to
CH3.
Un\G2
CH2 Time/Count/Moving average/Time constant
setting
5
Count (times) is set when
Count average is set.
Un\G3
CH3 Time/Count/Moving average/Time constant
setting
960
Time constant (ms) is set
Primary delay filter is set.
Un\G10 Conversion completion flag
-
Conversion state of a
channel is stored.
Un\G11 CH1Measured temperature value
Measured temperature value
is stored.
Un\G12 CH2Measured temperature value
Un\G13 CH3Measured temperature value
Un\G19 Error code
Corresponding error code is
stored.
Un\G24
*2
Averaging processing selection (CH1 to CH4) 0420H
The following conversion
system is set.
CH1: Sampling processing
CH2: Count average
CH3: Primary delay filter
Un\G46
*3
Warning output enable/disable setting FBFDH
"Enable” is set for the
following warning output.
CH2: Process alarm
CH3: Rate alarm
Un\G47 Warning output flag (Process alarm)
-
Warning output state is
stored.
Un\G48 Warning output flag (Rate alarm)
Un\G49 Disconnection detection flag
Disconnection state of a
channel is stored.