Offset/Gain Initialization Function; Common Function - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Programmable controllers
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Offset/gain Initialization Function

This function initializes the offset value and gain value saved in the built-in memory of the FX5-4AD-ADP.
Setting procedure
1.
Set "E20FH" to the "offset/gain writing enable code".
Setting value
Other than E20FH
E20FH
2.
Set the "offset/gain initialization" from OFF to ON.
Setting value
0: OFF
1: ON
Corresponding devices
The devices which are used by the offset/gain initialization function are listed below.
Name
Offset/gain initialization
Offset/gain writing enable code
Operation
Set "E20FH" to the "offset/gain writing enable code" and set the "offset/gain initialization" from OFF to ON to initialize the
offset value and gain value saved in the built-in memory of the FX5-4AD-ADP. When initialization is completed, the "offset/
gain initialization" automatically turns OFF. Also, the "offset/gain writing enable code" is cleared to 0.
• Offset/gain initialization is executed when the "offset/gain writing enable code" is set to "E20FH".
• Offset/gain initialization is enabled only while A/D conversion is disabled.
• The "A/D conversion enable/disable setting" cannot be changed to "enable" while offset/gain initialization is
being executed.

Common Function

Changing the setting value while the CPU module is operating
This paragraph shows the procedure to adopt values (of special relays and special registers) other than the values set by the
parameters of GX Works3.
1.
Disable A/D conversion.
Set "A/D conversion enable/disable setting" to ON. (Page 67 A/D conversion enable/disable setting)
2.
Change the value of a target special relay/device.
Change the value of a target device.
3.
Enable A/D conversion.
Set "A/D conversion enable/disable setting" to OFF. (Page 67 A/D conversion enable/disable setting)
Precautions
• An alarm occurs when the value of a special relay/device is changed while A/D conversion is enabled (Alarm code:
0F0H).
• When the value of a special relay/device related to the scaling, shift, average counts or averaging processing specification
was changed in A/D conversion and "count average" or "moving average" was specified as the averaging processing, clear
the number of times of sampling and execute sampling again from "0 time".
2 FX5-4AD-ADP
50
2.3 Functions
Description
Offset/gain writing disable
Offset/gain writing enable
Description
Offset/gain initialization is not performed.
Offset/gain initialization is performed.
CH1
CH2
SM6334
SM6374
SD6334
SD6374
Default value
0
Default value
0: OFF
CH3
CH4
SM6414
SM6454
SD6414
SD6454
Reference
Page 75
Page 92

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents