Xinje XD Series User Manual page 100

Hide thumbs Also See for XD Series:
Table of Contents

Advertisement

3. Suitable soft components
Operand
Word
S1
S2
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
Description
16 bits instruction
OR=
OR>
OR<
OR<>
OR<=
OR>=
X0
OR=
K100
X2
M4
DOR>
D10
Note Items
When the source data's highest bit (16 bits: b15, 32 bits: b31) is 1, it is seemed to negative
number.
The comparison of 32 bits counter should use 32 bits instruction. If using 16 bits instruction,
the program or operation will be error.
Example: forbid the outputs when it reaches the certain time. In the below program, when the
th
date is June 30
, 2012, all the outputs will be disabled. The password 1234 is stored in
(D4000, D4001). When the password is correct, all the outputs are enabled.
System
*
*
*
D
FD
TD
CD
DX
32 bits instruction
DOR=
DOR>
DOR<
DOR<>
DOR<=
DOR>=
S1·
S2·
C0
K68899
Constant
*
*
DY
DM
DS
K /H
Activate Condition
(S1)= (S2)
(S1) > (S2)
(S1) < (S2)
(S1) ≠ (S2)
(S1) ≤ (S2)
(S1) ≥ (S2)
Y0
M50
99
Module
ID
QD
Not Activate Condition
(S1) ≠ (S2)
(S1) ≤ (S2)
(S1) ≥ (S2)
(S1) = (S2)
(S1) > (S2)
(S1) < (S2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xl seriesXd3Xd5

Table of Contents