Download Print this page

Mitsubishi MELSEC-A A64RD3C User Manual page 51

Pt100 input module

Advertisement

3.
LINKING TO THE A2CCPU
MELSEC-A
3.5.4
Sample program
The following is a programming example when the detected temperature
values of channels 1 and 2 of the A64RDC are read in the QUIT system
whose configuration is shown below.
A66PC
- l
A2CCPU
-
-
A64RD3C
-
AY51 C
-
,
Station 1
Station 5
Station 9
X0 to X1 F
W f 2 0 to XP3F
Y40 to Y5F
(1)
Channels to be used
CH1 : Time averaging
(1000
msec)
CH2 : Sampling
(2) I/O numbers
A64RDC 1/0 numbers
I/O numbers on CPU side
X(n+O) to X(n+l F)
X20
to
X3F
Y(n+O) to Y(n+l F)
+
Y20 to Y3F
(3)
CPU initial setting
Total number of stations : 12 stations
Head station number
: Remote terminal module : Station
5
Protocol
: MINI standard protocol
Mode
: Automatic online return enable
(4)
Program contents
Storage register memory map
Write data error code and
I
Address
I
Address
Buffer
Area
Contents
I
error reset : X0
DO
- +
Conversion- enabled/
disabled sDecification
temperature values to
register D : X1
D2
-+
2
l C H l Average
timelcount
I
1
Stops storing detected
temperature values to
register
D
: X2
value
16
bits
1 1
value
16
bits
1
CH1 Detected temperature
~
D4
CH2 Detected temperature
--*
D5
/
Outputs error occurrence
/
-
/
externally
: Y40
D6 to
CH1 Detected temperature
,
l o
1 1
+
D7
value 32 bits
Outputs disconnection
detection
externally
e )
0 9
Channel
1 :
Y41
Channel 2 : Y42
CH2 Detected temperature
+
~8 to
/
1
18
+
D l 1
Conve
+
D l 0
Write data error code
0 3
+
measuring resistor type
20
Platinum temperature-
specification
3 -
25

Advertisement

loading

This manual is also suitable for:

Melsec-a a64rd4c