Delta Electronics AH500 Manual page 227

Motion control module
Hide thumbs Also See for AH500:
Table of Contents

Advertisement

A H 5 00 M o ti on C on tr ol M od ul e Ma nua l
API
Instruction code
240~246
D
OR※
Device
X
Y
M
S
1
S
2
 S
 The instructions are used to compare the value in S
E xp la nat io n
 The instruction OR※ is connected to a contact in parallel.
 If a 32-bit counter is used, the 32-bit insturciton DOR※ must be used. If
 When X0.1 is ON, or when the present value in C10 is equal to K200,
E xa mple
 When X0.2 and M30 are ON, or when the value in (D101, D100) is
Operand
S
S
K
16#
F
Pulse instruction 16-bit instruction (5 steps) 32-bit instruction (7 steps)
: Source device 1; S
: Source device 2
1
2
the instruction OR= for instance. If the comparison result is that the value
in S
is equal to that in S
1
comparison result is that the value in S
condition of the instruction is not met.
16-bit
API No.
instruction
240
OR=
241
OR>
242
OR<
244
OR<>
245
OR<=
246
OR>=
a 32-bit counter and the 16-bit instruction OR※ are used, ,a program
error will occur, and the ERROR LED indicator on the motion control
module will blink. (C200~C255 are 32-bit counters.)
Y0.0 is ON.
greater than or equal to K100,000, M60 is ON.
X0.1
K200
OR=
X0.2
M30
D100
DO R>
=
, S
1
2
KnM KnS
D
W
, the condition of the instruction is met. If the
2
is not equal to that in S
1
32-bit
ON
instruction
=S
DOR=
S
1
2
>S
DOR>
S
1
2
<S
DOR<
S
1
2
≠S
S
DOR<>
1
2
≦S
DOR<=
S
1
2
≧S
DOR>=
S
1
2
C10
K100000
Function
Comparing values
T
C
V
Z
with that in S
. Take
1
2
, the
2
OFF
≠S
S
1
2
≦S
S
1
2
≧S
S
1
2
=S
S
1
2
>S
S
1
2
<S
S
1
2
Y0.0
M60
5 - 11 2

Advertisement

Table of Contents
loading

Table of Contents