High
−
level Instructions
3
−
646
If S2 specifies a higher word of double word data, processing will take place over the same area as if the lower
word had been specified.
S1:
S1+1:
0
1
Double word data table
n
S2
−
1:
S1+2:
S1+3:
S2:
Lower word
Higher word
Specified areas
Lower word
Higher word
Decimals of the average value are rounded off so that the average value is an integer.
Precaution during programming
Even if D + 5 overflows the selected area, it will still be stored, and this may corrupt the data in the leading part
of the other area. (An area overflow check is not performed.)
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The area specified using the index modifier exceeds the limit.
−
S1 > S2.
−
The areas of S1 and S2 are different.
・
Carry flag (R9009): Turns on for an instant when overflows/underflows while calculating.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...