[Instruction] Contents
[Instruction] Contents [Instruction] Contents
Advance Function InstructionFUN 208 PFSQRFLOATING POINT NUMBER SQUARE ROOTFUN 208 PFSQRS : Source register to be taken square rootD : Register for storing result(square root value)S, D may combine with V, Z, P0~P9 to serveindirect address applicationOperandRangeHR ROR DR K XRR0∣R3839R5000∣R8071D0∣D4095FloatingpointnumberV、ZP0~P9S ○ ○ ○ ○ ○D ○ ○* ○ ○Description• The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation ofthe format please refer to 5.3 (Numbering System) page 5-9.• When operation control "EN" = 1 or "EN↑" ( P instruction) from 0 to 1, take the square root of the dataspecified by the S value or S~S+1 register, and store the result into the register specified by D~D+1.• If the value of S is negative, then the error flag "ERR" will be set to 1, and do not execute the operation.X0EN208P.FSQRS : 2520.04ERRD :D07-135
Advanced Function InstructionFUN 209 PFSINSIN TRIGONOMETRIC INSTRUCTIONFUN 209 PFSINS : Source register to be taken SIND : Register for storing result(SIN value)S, D may combine with V, Z, P0~P9 to serveindirect address application.OperandRangeHR ROR DR K XRR0∣R3839R5000∣R8071D0∣D4095Integer16 BitnumberV、ZP0~P9S ○ ○ ○ ○ ○D ○ ○* ○ ○Description• The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation of theformat please refer to 5.3 (Numbering System) page 5-9.• When operation control "EN" = 1 or "EN↑" ( P instruction) from 0 to 1, take the SIN value of the angle dataspecified by the S register and store the result into the register D~D+1 in floating point number format. Thevalid range of the angle is from –18000 to +18000, unit in 0.01 degree.• If the S value is not within the valid range, then the S value error flag "ERR" will be set to 1, and do notexecute the operation.X0EN209P.FSINS : 3000D : R100ERR • At left, the example program gets the SIN value of 30,and stores the results the register DR100.7-136
- Page 192 and 193: Advanced Function InstructionFUN101
- Page 194 and 195: Advanced Function InstructionFUN103
- Page 196 and 197: Advanced Function InstructionFUN105
- Page 198 and 199: Advanced Function InstructionFUN107
- Page 200 and 201: Advanced Function InstructionFUN109
- Page 202 and 203: Advanced Function InstructionFUN110
- Page 204 and 205: Advanced Function InstructionFUN111
- Page 206 and 207: Advanced Function InstructionFUN112
- Page 208 and 209: Advanced Function InstructionFUN114
- Page 210 and 211: Advanced Function InstructionFUN120
- Page 212 and 213: Advanced Function InstructionFUN122
- Page 214 and 215: Advanced Function InstructionFUN124
- Page 216 and 217: Advanced Function InstructionFUN126
- Page 218 and 219: Advanced Function InstructionFUN128
- Page 220 and 221: Advanced Function InstructionFUN130
- Page 222 and 223: Advanced Function InstructionFUN 13
- Page 224 and 225: Advanced Function InstructionFUN141
- Page 226 and 227: Advanced Function InstructionFUN143
- Page 228 and 229: Advanced Function InstructionFUN146
- Page 230 and 231: Advanced Function InstructionFUN 15
- Page 232 and 233: Advanced Function InstructionFUN160
- Page 234 and 235: Advanced Function InstructionFUN201
- Page 236 and 237: Advanced Function InstructionFUN 20
- Page 238 and 239: Advanced Function InstructionFUN 20
- Page 240 and 241: Advanced Function InstructionFUN 20
- Page 244 and 245: Advanced Function InstructionFUN 21
- Page 246 and 247: Advanced Function InstructionFUN 21
- Page 248 and 249: MEMO
- Page 250 and 251: 8.2 Basic Formation of Step Ladder
- Page 252 and 253: . Single CycleM1924X0• When step
- Page 254 and 255: ●STP Sxxx : S20≦Sxxx≦S999(Dis
- Page 256 and 257: 【Description】: 1. When ON, the
- Page 258 and 259: ●STPEND :(Displayed in WinProladd
- Page 260 and 261: Example 1WinProladderFP-07M1924STP
- Page 262 and 263: Example 3WinProladderFP-07M1924STP
- Page 264 and 265: WinProladderFP-07M1924STP S0X1X2X0S
- Page 266 and 267: WinProladderM1924TO S0X1STP S0SET Y
- Page 268 and 269: ●Pedestrian Crossing Lights Contr
- Page 270 and 271: 8.6 Syntax Check Error Codes for St
- Page 272 and 273: 1.1 Profile112798716外 徑 4ψ×4
- Page 274 and 275: 〝H〞 indicates hexadecimal↓
- Page 276 and 277: 1.5.2 FUN function description• F
- Page 278 and 279: 【Example】Assume definition as R
- Page 280 and 281: • Locations and application of th
- Page 282 and 283: 1.7.2 The Information formats of me
Advance Function <strong>Instruction</strong>FUN 208 PFSQRFLOATING POINT NUMBER SQUARE ROOTFUN 208 PFSQRS : Source register to be taken square rootD : Register for storing result(square root value)S, D may combine with V, Z, P0~P9 to serveindirect address applicationOperandRangeHR ROR DR K XRR0∣R3839R5000∣R8071D0∣D4095FloatingpointnumberV、ZP0~P9S ○ ○ ○ ○ ○D ○ ○* ○ ○Description• The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation ofthe format please refer to 5.3 (Numbering System) page 5-9.• When operation control "EN" = 1 or "EN↑" ( P instruction) from 0 to 1, take the square root of the dataspecified by the S value or S~S+1 register, and store the result into the register specified by D~D+1.• If the value of S is negative, then the error flag "ERR" will be set to 1, and do not execute the operation.X0EN208P.FSQRS : 2520.04ERRD :D07-135