200
Function Descriptions Appendix C
For further information and precautions on related Auxiliary Area flags, refer to the section on RXDU Serial
Communications Instruction in the CS/CJ-series Instruction Reference Manual.
Angle Conversion Functions
DEG_TO_RAD: Convert Degrees to Radians
• Function
Converts an angle in degrees to radians.
• Application
Return_value := DEG_TO_RAD (argument)
• Arguments and Return Values
RAD_TO_DEG: Convert Radians to Degrees
• Function
Converts an angle in radians to degrees.
• Application
Return_value := RAD_TO_DEG (argument)
• Arguments and Return Values
Related Auxiliary Area Flag Address
Communications Instruction
Enable Flag
A202.00 to
A202.07
ON when network communications can be executed. The bit
numbers correspond directly to the internal logic port numbers
Bits 00 to 07: Internal logic ports 0 to 7
Related CPU Bus Unit Area bits Bit
n = CIO 150 + 25 x unit number
Port 1: n+9
Port 2: n+19
06 ON when reception has been completed in no-protocol mode.
n = CIO 150 + 25 x unit number
Port 1: n+9
Port 2: n+19
07 ON when a data overflow occurred during reception in no-pro-
tocol mode.
n = CIO 150 + 25 x unit number
Port 1: n+10
Port 2: n+20
--- Contains the number of characters received in no-protocol
mode.
Variable name Data type Description
Argument REAL, LREAL Specifies an angle in degrees.
Return_value REAL, LREAL Returns an angle in radians.
Variable name Data type Description
Argument REAL, LREAL Specifies an angle in radians.
Return_value REAL, LREAL Returns an angle in degrees.