Copy**To*** (Real Number to Bit
String)
The Copy**To*** instruction copies the content of a real number directly to a bit string.
Instruction
Copy**To***
Bit Pattern Copy
(Real Number to Bit
String) Group
Variables
Name
Meaning
In
Copy
source
Out
Copy
destination
Bit strings
In
Out
Must be DWORD if the data type of In is REAL and LWORD if the data type of In is LREAL.
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Input
Copy source
Output
Copy destination
Graphic expression
(@)CopyRealToDword
EN
ENO
In
(@)CopyLrealToLword
EN
ENO
In
Valid range
Depends on data type.
Depends on data type.
Integers
OK OK
2 Instruction Descriptions
ST expression
Out:=CopyRealToDword(In);
or
Out:=CopyLrealToLword(In);
Out
Out
Unit
Default
0.0
---
---
---
Times, durations,
dates, and text strings
2
2-383