Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
LD<>, AND<>, OR<>
- 156 -
{ LDD<, ANDD<, ORD<, LDD<=, ANDD<=, ORD<= ... Comparison of 32-bit data (<, <=)
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
{ {
3/4
S2
S1
D< S2
S1
D< S2S1
D<= S2S1
ANDD<=
D<=
S2
S1
D<=
S2
S1
ORD<=
D< S2S1
ORD<
LDD<=
LDD<
ANDD<
Setting data
Comparison data or
head No. of device
where comparison
data is stored.
Function
(1) 32-bit comparison operation is executed with "A" contact handling.
(2) The comparison operation results will be as follows.
Command Conditions Comparison operation results
S1<S2 Continuity state LDD<, ANDD<, ORD<
S1>=S2 Non-continuity state
S1<=S2 Continuity state LDD<=, ANDD<=, ORD<=
S1>S2 Non-continuity state
Execution conditions
The execution conditions for LDD<, ANDD<, ORD<, LDD<=, ANDD<= and ORD<= are as follows.
Command Execution conditions
LDD<, LDD<= Executed per scan
ANDD<, ANDD<= Executed only when previous contact command is ON
ORD<, ORD<= Executed per scan