Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
LD<>, AND<>, OR<>
- 158 -
{ 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
{
{ { { { { {
{ { { { { { { { { {
{
(Note)
{
(Note)
{ {
3/4
S2S1
Setting data
S2
S1
Comparison data or
head No. of device
where comparison
data is stored.
S2S1
S2S1<>
<>
<>
AND<>
OR<>
LD<>
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
Cautions
Each command of LD<>, AND<>, and OR<> cannot use a constant for S2. When S2 is a constant, it
operates as LDBII, ANDBII, and an ORBII command, respectively.