Mitsubishi Melsec A User Manual page 18

Table of Contents

Advertisement

3. SPEclFlcATloNs
/MELSEC
Command
I
Function
ZODV
B
Changes output console
G
Program
ommand
Z R D l
Reads 1-byte data from specified channel
Reads 2-byte data from specified channel
Z T l M E
Stops execution f o r specified interval o f time
I
Z W R l
I
Writes 1-bvte data t o specified channel
ZWR2
Wrltee 2-byte oata to specified channel
I
ABF
I
Absolute vs ue of real number in mathematleal expression
ABS
Absolute value o f integer i n mathematical expression
ACOS
I
Arccosine ( c o i l
I
of mathematical ex~ression
I
ASlN
I
Arcsine (sin-'
I
o f mathematical expression
I
A T A N
I
Arctsnaent (tan-'
I
o f mathematical ex~rersion
I
COS
I
Cosine ( c o d o f mathematical expression
Intrinsic
I
EXp
I
Value o f Exponential t o base "e"
Function
(e = 2.718281)
LN
Value o f natural logarithm (loge1
LOG
1
Value o f common logarithm (log,.l
Generates "1" when value o f mathematical expression is
" 0
I
I
and generates
"0"
when the value is not
"0".
R N D
Assigns random number t o variable
SIN
I
Sine (sin1 o f mathematical expression
SQRT
Value o f square root
o f
mathematical expression
I
T A N
I
Tangent (tan1 o f mathematical expression
1
+
1
Addition
-
Subtraction
irithmetic
X
M u l t i p l i c a t i ~ n
Operator
I
I
Division
p J J
A
Exponent
1
-
1
sian reversion
/
%
I
Remainder calculation
Table
3.2
BASIC Command List (Continue)
Where commands have several options (indicated a s
m,
@,
etc.) only
those shaded(
[7
) may be used on the
AD51.

Advertisement

Table of Contents
loading

Table of Contents