EasyManua.ls Logo

Panasonic FP-E - Page 990

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 726
Description
Converts real number data (range: +32767.49 to −32768.49) specified by S to signed 16-bit integer data
(rounding the first decimal point off to integer) when the trigger turns on. The converted data is stored in D.
15 0
D:
15 0
S:
S+1:
Signed 16-bit
integer data
Real number
data
Lower word
Higher word
Precaution during programming
For FP0, this instruction F331 (ROFF) cannot be programmed in the interrupt program.
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.
− If data other than real number data is specified in S+1 and S.
− The converted data exceeds the range of 16-bit integer data.
・= flag (R900B): Turns on for an instant when the converted data is recognized as “0”.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com