Mitsubishi Electronics C64 Home Safety Product User Manual


 
8. Function Commands
LD=, AND=, OR=
- 146 -
{ LD=, AND=, OR= .... Comparison of 16-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
= S2S1
Setting data
S2
Comparison data or
No. of device where
comparison data is
stored.
S1
= S2
S1
= S2
S1
LD=
AND=
OR=
Function
(1) 16-bit comparison operation is executed with "A" contact handling.
(2) The comparison operation results will be as follow.
Conditions Comparison operation results
S1=S2 Continuity state
S1=/S2
Non-continuity state
Execution conditions
The execution conditions for LD=, AND= and OR= are as follow.
Command Execution conditions
LD= Executed per scan
AND= Executed only when previous
contact command is ON
OR= Executed per scan