Mitsubishi Electric FX3G User Manual page 141

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
5
Create a sequence program.
To change the input characteristics, write the offset data (BFM#41 to #44) and the gain data
(BFM#51 to #54) in the sequence program, and then turn on the corresponding bit of BFM#21 for
the corresponding channel. The following example shows a program for the unit number 0.
Example: Program for changing the input characteristics of channels 1 and 2 (For FX
PLCs):
Command for writing input characteristics
X000
M0
T0
*1.
It takes approximately 5 seconds to change the input mode (BFM#0). This is because all the set
values should be changed.
After changing the input mode, be sure to wait for 5 seconds or more before setting other data.
The input characteristics of each channel can be written in BFM#21. It is also possible to perform
batch writing of input characteristics for two or more channels.
6
Transfer the sequence program to change the input characteristics.
Transfer the sequence program, and start the PLC.
Start the PLC, and turn on the command (X000) to write the input characteristics. In approx. 5 sec-
onds, the offset data and the gain data will be written.
Since the offset data and the gain data are stored in the 4AD EEPROM, it is possible to delete the
sequence program.
7
Read out the analog data to check the data.
Create the following program to check the stored data (For FX
RUN monitor
M8000
PLC User's Manual - Analog Control Edition
FNC 12
HFF00
MOV
P
SET
FNC 16
K1000
U0\G41
FMOV
P
FNC 16
K3000
U0\G51
FMOV
P
FNC 12
H0003
MOV
P
RST
FNC 15
U0\G10
D0
BMOV
→ If data is not stored properly, refer to Chapter 8 "Troubleshooting".
6.1 Procedure for Changing Input Characteristics
Input mode specification
U0\G0
for channels 1 to 4
M0
K50
*1
T0
Offset value of
K2
channels 1 and 2
Gain value of
K2
channels 1 and 2
Batch writing of offset and gain
U0\G21
values of channels 1 and 2
M0
/FX
3U
The digital values set for
channels 1 to 4 will be read
K4
out to D0 to D3.
6 Changing Input Characteristics
/FX
3U
3UC
Series PLCs):
3UC
A
B
Series
C
D
E
F
G
H
I
J
B-51

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents