Basic Program Example - Mitsubishi Electric FX3G User Manual

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-4AD-TC-ADP (4-channel Thermocouple Data Input)
3U
• For FX
/FX
3U
3UC
The following program will select thermocouple type K and will store the temperature measurement data
° C
(
) of channels 1 and 2 of the 1st adapter in the D100 and the D101, respectively. The averaging time will
be set to "32" for channel 1, and "128" for channel 2.
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 D8260 or D8261
can be directly used in the arithmetic operation instruction or a PID instruction.
PLC User's Manual - Analog Control Edition
Series PLC
RST
D8268.6
RST
D8268.7
M8260
M8261
FNC 12
K32
D8264
MOV
FNC 12
K128
D8265
MOV
FNC 12
D8260
D100
MOV
FNC 12
D8261
D101
MOV
Error status of 1st analog special
adapter
b6 = OFF (TC-ADP hardware error)
Error status of 1st analog special
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.
4 Programming

4.9 Basic Program Example

L-29
K
L
M

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents