Ссылка на нас!

Link To Us




 

 

 

FFXI Haven - Ваш Источник #1.


 

 

 


These are meant to be used to compare to system time and date clocks.

description
date values DATE#1996-12-25, D#1996-12-25
time of day TIME_OF_DAY#12:42:50.92, TOD#12:42:50.92
date and time DATE_AND_TIME#1996-12-25-12:42:50.92, DT#1996-12-25-12:42:50.92

examples

Figure 19.9 Time and Date Examples

• Basic math functions include,

plc st -19.8
:= assigns a value to a variable
+ addition
- subtraction
/ division
* multiplication
MOD(A,B) modulo -this provides the remainder for an integer divide A/B
SQR(A) square root of A
FRD(A) from BCD to decimal
TOD(A) to BCD from decimal
NEG(A) reverse sign +/-
LN(A) natural logarithm
LOG(A) base 10 logarithm
DEG(A) from radians to degrees
RAD(A) to radians from degrees
SIN(A) sine
COS(A) cosine
TAN(A) tangent
ASN(A) arcsine, inverse sine
ACS(A) arccosine -inverse cosine
ATN(A) arctan -inverse tangent
XPY(A,B) A to the power of B
A**B A to the power of B

Figure 19.10 Math Functions

• Functions for logical comparison include,

> greater than >= greater than or equal = equal <= less than or equal < less than <> not equal

Figure 19.11 Comparisons

plc st -19.9

• Functions for Boolean algebra and logic include,

AND(A,B) logical and OR(A,B) logical or XOR(A,B) exclusive or NOT(A) logical not ! logical not

Figure 19.12 Boolean Functions

• The precedence of operations are listed below from highest to lowest.

BACK | NEXT

Easy Access To All Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119











 

 

 

 

Automation

 

Part I

Part II

Part III

Part IV

Part V

 

Foods Overview


Hunting

 

Symbols

 

Part I

Part II

Part III

Part IV

 

 

 
Copyright @ FFXI Haven, 2004-2005.