Mitsubishi Electronics C6 Home Safety Product User Manual


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