DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-267
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Square Real (SQUARER) (IB-543)
Square Real squares the given REAL DWORD number and writes it to a REAL DWORD
result.
SQUARER Example
In the following example, the SQUARER instruction is used to square the 32-bit floating point
REAL value in V2000 and V2001 and store the REAL value result in V3000 and V3001 when
C100 turns on.
Parameter
DL06 Range
Value (REAL DWORD)
V,P,R
R ; See DL06 V-memory map - Data Words
Result (REAL DWORD)
V
See DL06 V-memory map - Data Words
DS
Used
HPP
N/A
SQUARER Parameters
• Value (REAL DWORD): specifies the Real
DWORD location or number that will be
squared
• Result (REAL DWORD): specifies the location
where the squared Real DWORD value will be
placed