Mitsubishi Electric MELSEC iQ-F FX5 User Manual page 70

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

Advertisement

Level trigger
When a value in the monitored buffer memory area of an analog input module satisfies a preset condition, a hold trigger is
generated.
A level trigger is monitored on the refreshing cycle of the digital output value or the digital operation value.
■Initial setting of a level trigger
[Setting a target to be monitored]
As a condition to generate a hold trigger, set the buffer memory address to be monitored to 'CH1 Trigger data' (Un\G541).
Item
CH1 Trigger data (Un\G541)
To monitor a device value of a module other than an analog input module such as a device of the CPU module, set as follows.
• Set a value between 90 and 99 (Level data (Un\G90 to Un\G99)) to 'CH1 Trigger data' (Un\G541).
• Write a value of the monitored device to Level data (Un\G90 to Un\G99) by using the MOV instruction.
Item
Level data (Un\G90 to Un\G99)
*1  represents a number from 0 to 9.
Ex.
Application example of Level data (Un\G90 to Un\G99)
To monitor the data register D100 in the CPU module and generate the level trigger in CH1, create a program as follows.
• Set 'CH1 Trigger data' (Un\G541) to 91 (buffer memory address of Level data 1) (when Level data 1 is used).
• Store the storage data of D100 in 'Level data 1' (Un\G91) by the program continuously.
SM400
• Specify an appropriate data such as 'CH1 Digital output value' (Un\G400), 'CH1 Digital operation value'
(Un\G402), or Level data (Un\G90 to Un\G99) to 'CH1 Trigger data' (Un\G541). When a setting area or a
system area is specified, the normal operation is not guaranteed.
• If other than 0 to 9999 is set for 'CH1 Trigger data' (Un\G541), an error occurs. A trigger data setting range
error (error code: 1D6H) is stored in 'Latest error code' (Un\G0), 'Error flag' (Un\G69, b15) and the
ERROR LED turns on.
[Setting the monitoring condition]
Set a condition to generate a hold trigger in 'CH1 Hold trigger condition setting' (Un\G540).
Setting value
Rise (1)
Fall (2)
Rise and fall (3)
1 FX5-4AD
68
1.4 Functions
*1
MOV
D100
Un\G91
Description
Stored value in buffer memory
area to be monitored
(a)
Trigger setting value
(a) A hold trigger is generated when the relation between the values
changes from "Stored value of a buffer memory area to be monitored 
Trigger setting value" to "Stored value of a buffer memory area to be
monitored > Trigger setting value".
(b) A hold trigger is generated when the relation between the values
changes from "Stored value of a buffer memory area to be monitored 
Trigger setting value" to "Stored value of a buffer memory area to be
monitored < Trigger setting value".
Setting range
0 to 9999
Setting range
-32768 to +32767
A hold trigger is generated under the condition
(a).
A hold trigger is generated under the condition
(b).
A hold trigger is generated under the condition
(b)
(a) or (b).
Time

Advertisement

Table of Contents
loading

Table of Contents