Mitsubishi Electric FX3G User Manual page 494

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
FX
-4AD-TC-ADP (4-channel Thermocouple Data Input)
3U
4.9
Basic Program Example
Create the following basic program to read out the temperature measurement data.
• For FX
/FX
3S
The following program will select thermocouple type K and will store the temperature measurement data
° C
(
) of channels 1 and 2 of the 3rd
will be set to "32" for channel 1, and "128" for channel 2.
M8000
Normally
ON
M8002
Initial
pulse
M8001
Normally
OFF
M8002
Initial
pulse
M8000
Normally
ON
Even if the temperature measurement data is not stored to D100 or D101, data registers D8280 or D8281
can be directly used in the arithmetic operation instruction or a PID instruction.
*1.
"1st" for the FX
L-28
PLC User's Manual - Analog Control Edition
3UC
/FX
/FX
/FX
Series PLCs
3G
3GC
3U
3UC
*1
adapter in the D100 and the D101, respectively. The averaging time
FNC 12
D8288
K4M0
MOV
RST
M6
RST
M7
FNC 12
K4M0
D8288
MOV
M8280
M8281
FNC 12
K32
D8284
MOV
FNC 12
K128
D8285
MOV
FNC 12
D8280
D100
MOV
FNC 12
D8281
D101
MOV
/FX
/FX
3S
3G
3GC
*1
Error status of 3rd
adapter
b6 = OFF (TC-ADP hardware error)
*1
Error status of 3rd
adapter
b7 = OFF (TC-ADP communication data error)
Sets the temperature unit to
centigrade (C)
Selects thermocouple type K
Sets the averaging time to "32" for
channel-1 data.
Sets the averaging time to "128" for
channel-2 data.
Stores the current value of the
channel-1 measurement
temperature data to D100.
Stores the current value of the
channel-2 measurement
temperature data to D101.
PLC.
4.9 Basic Program Example
analog special
analog special
4 Programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents