FLTE Conversion
FLTE, FLTEP
FLTE instruction converts 64bit float value to 32bit float value and save the result in Destination.
(It supports only in XP and PLC-S CPU series)
| |
S | Source (64bit Float value |
D | Destination (32bit Float value) |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. |
| Error | Zero | Carry | ||
FLTE FLTEP | S | o | o | o | o | o | o | o | o | - | o | o | o | o | 4 | o | - | - |
D | o | - | o | o | o | - | - | - | - | o | o | o | - |
Convert S(64bit float value) to 32bit float value and save the result in the Destination (2 word).
Example)
If X00 is ON, convert D1 (64bit float data) to 32 bit float value and then save the result in D100 (2 word).