Mitsubishi Electric FX3G User Manual page 145

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-4AD/FX
-4AD (4-channel Analog Input)
3U
3UC
2. Example of sequence program
• For FX
/FX
3U
3UC
Initial pulse
M8002
RUN monitor
M8000
T0
Clearance of upper/lower
limit error data
X000
Clearance of over-scale
data
X001
RUN monitor
M8000
Error detection
D102.0
Setting error detection
D102.8
*1.
After setting the input mode, set the data writing time (waiting time) to 5 seconds or more for each
setting.
After this, if the same input mode is used, it is not necessary to set the input mode and waiting time
(T0 K50) again.
*2.
The set input mode, convenient functions, upper/lower limit error status data automatic transfer-to
data register number, over-scale status data automatic transfer-to data register number, and error
status data automatic transfer-to data register number are retained in the 4AD EEPROM. For this
reason, even if the sequence program is deleted, the previously set functions will still be valid.
PLC User's Manual - Analog Control Edition
Series PLCs
FNC 12
H3300
MOV
P
K50
T0
FNC 12
H01A2
MOV
P
FNC 12
K100
MOV
P
FNC 12
K101
MOV
P
FNC 12
K102
MOV
P
FNC 15
U0\G10
D0
BMOV
FNC 12
H0003
MOV
P
FNC 12
K0
MOV
P
FNC 12
D100
MOV
FNC 12
D101
MOV
Y020
Y021
Input modes of channels 1 to 4 will be
U0\G0
specified.
*2
*1
U0\G22
The convenient functions will be set.
The upper/lower limit error status data automatic
U0\G126
transfer-to data register will be set to D100.
The over-scale status data automatic transfer-to data
U0\G128
register will be set to D101.
The error status data automatic transfer-to data register
U0\G129
will be set to D102.
Reads the digital values of channels 1 to 4 from BFM#10
K4
to #13 into D0 to D3.
U0\G99
Clearance of upper/lower limit error data
Clearance of over-scale data
U0\G28
The upper/lower limit error status data of each channel
K2Y000
will be output to Y000 to Y007.
The over-scale status data of each channel will be output
K2Y010
to Y010 to Y017.
The error detection signal will be output to Y020.
The setting error detection signal will be output to Y021.
7 Examples of Practical Programs
7.2 Program That Uses Convenient Functions
*2
*2
*2
*2
A
B
C
D
E
F
G
H
I
J
B-55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents