Mitsubishi Electronics C64 Home Safety Product User Manual


 
8. Function Commands
LDBIT, ANDBIT, ORBIT
- 294 -
{ LDBIT, ANDBIT, ORBIT ... Bit test of "A" contact handling
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
S
{ { { { { { { {
{
n
{
(Note)
{
(Note)
2
ORBIT
ANDBIT
LDBIT
< =
n
S1
< = nS1
< =
n
S1
(Note)
(Note)
(Note)
Setting data
n
No. of device to
execute bit test.
S1
Bit to execute bit
test.
(Note) In programming with the MELSEC PLC development tool (GPPQ or GX Developer),
the comparison operation command mentioned above is subsutituted and used.
Function
(1) A bit test of the 16-bit device is executed with "A" contact handling.
(2) The bit test results are as shown below.
Condition Bit test results
When test bit is 1 Continuity
When test bit is 0 Non-continuity
Execution conditions
The execution conditions for LDBIT, ANDBIT and ORBIT are as shown below.
Condition Execution conditions
LDBIT Executed per scan
ANDBIT Executed only when previous
contact command is ON
ORBIT Executed per scan
Cautions
Other than a constant cannot use for n. When other than a constant is used for n, it operates as LD<=,
AND<=, and an OR<= command.