Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 561

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Processing details
• These instructions control the output value to be stored in the device specified by (d) by checking the input value (32-bit
binary data) in the device specified by (s3) with the upper and lower limit values of the dead band specified by (s1) and (s2).
The output value is controlled as follows.
Condition
Lower limit value of the dead band ((s1), (s1)+1) > Input value ((s3), (s3)+1)
Upper limit value of the dead band ((s2), (s2)+1) < Input value ((s3), (s3)+1)
Lower limit value of the dead band ((s1), (s1)+1)  Input value ((s3), (s3)+1)  Upper limit value of
the dead band ((s2), (s2)+1)
(d+1, d)
(s1+1, s1)
0
(s2+1, s2)
• When the output value to be stored in the device specified by (d) is a 32-bit signed binary value and the operation result
exceeds the range of -2147483648 to 2147483647, the output value is calculated as follows.
Ex.
When (s1) and (s1)+1 are 1000, and (s3) and (s3)+1 are -2147483648: Output value = -2147483648-1000 = 80000000H-
000003E8H = 7FFFFC18H = 2147482648
• When the output values to be stored in the devices specified by (d) and (d)+1 are 32-bit unsigned binary values and the
operation result exceeds the range of 0 to 4294967295, the output value is calculated as follows.
Ex.
When (s1) and (s1)+1 are 100, and (s3) and (s3)+1 are 50: Output value = 50-100 = 00000032H-00000064H = FFFFFFCEH
= 4294967246
Operation error
Error code
Description
(SD0/SD8067)
3405H
The lower limit value specified by (s1) is greater than the upper limit value specified by (s2).
(s3+1, s3)
Output value
Input value ((s3), (s3)+1) - Lower limit value of the dead
band ((s1), (s1)+1)
Input value ((s3), (s3)+1) - Upper limit value of the dead
band ((s2), (s2)+1)
0
8 APPLICATION INSTRUCTION
8.12 Data Control Instruction
8
559

Hide quick links:

Advertisement

loading