EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 802

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
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...
800
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
Processing details
These instructions calculate the tangent of the angle specified by (s), and store the sign of the operation result in the device
specified by (d) and the operation result in the devices specified by (d)+1 and (d)+2.
For the value to be specified in (s), set a value from 0 to 360(in the DEG. unit) as a BCD value.
For the sign of the operation result to be stored in the device specified by (d), 0 is stored when the operation result is
positive and 1 is stored when the operation result is negative.
The operation result to be stored in the devices specified by (d)+1 and (d)+2 is a BCD value in the range from -57.2901 to
57.2903.
The operation result is a value whose 5th decimal place is rounded off.
Operation error
(d): Sign
(d)+1: Integral part
(d)+2: Decimal part
Error code
(SD0)
Description
3405H An out-of-range value is set to (s).
The specified data is not a BCD value.
The specified data is out of the range, 0 to 360.
The specified data is 90 or 270.
.
(d)+1(d) (d)+2
TAN (s) =

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals