Mitsubishi Electric MELSEC iQ-F FX5 User Manual page 74

Analog control - intelligent function module
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Logging read function
After logging starts, an interrupt request is sent to the CPU module and an interrupt program is executed every time the preset
number of data to be read is logged.
An analog input module has 16 points of the interrupt factor to correspond to the logging reading of each channel.
For the setting of interrupt pointers, refer to the following.
Page 72 Setting interrupt pointers
More than 10000 points of logging data can be stored by transferring the device data to the data register of the
CPU module without stopping logging.
■Setting interrupt pointers
Assign the interrupt factors of an analog input module and interrupt pointers of the CPU module using the GX Works3
interrupt pointer setting.
The interrupt function must be set when the logging read function is used.
■Starting the logging read function
To use the logging read function, set 'CH1 Logging loading enable/disable setting' (Un\G544) to Enable (0) and set a number
of logging points to generate an interrupt in 'CH1 Logging load points setting value' (Un\G545). This function starts when
'Operating condition setting request' (Un\G70, b9) is turned offonoff.
• The number of logging read points
Set a value whose integral multiple is 10000 in 'CH1 Logging load points setting value' (Un\G545). The setting range is from
10 to 10000.
When a value whose integral multiple is not 10000 is set, the number of the actual logging read points is forced to become a
maximum value whose integral multiple is 10000 within the set value. The value of the number of logging read points is stored
in 'CH1 Logging read points monitor value' (Un\G440).
The number of logging read points
100
90
110
650
4000
■Data checking method
[Current logging read pointer]
• The head pointer read from CH1 Logging data (Un\G10000 to Un\G19999) with the interrupt processing is stored in 'CH1
Current logging read pointer' (Un\G438).
• The default value of 'CH1 Current logging read pointer' (Un\G438) is -1.
• Every time the same number of data as the value stored in CH1 Logging read points monitor value (Un\G440) is logged, a
value calculated by the following formula is stored in 'CH1 Current logging read pointer' (Un\G438).
CH1 Current logging read pointer = CH1 Latest pointer - CH1 Logging read points monitor value + 1
[Previous logging read pointer]
• 'CH1 Current logging read pointer' (Un\G438) at the timing when the previous read pointer detection interrupt occurs is
stored in 'CH1 Previous logging read pointer' (Un\G439).
• The default value of 'CH1 Previous logging read pointer' (Un\G439) is -1.
• 'CH1 Previous logging read pointer' (Un\G439) is used to detect the overlap of the logging read pointer detection interrupt
processing.
1 FX5-4AD
72
1.4 Functions
Logging read points monitor value
100
80
100
625
2500

Advertisement

Table of Contents
loading

Table of Contents