Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
DOR, DORP
- 240 -
{ DOR, DORP ... Logical OR 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
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3/4
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
4/5
Setting data
Setting data
S
Data to be logical ORed
or head No. of device
where data is stored.
The logical OR results
are stored in D device.
D
D
DORP
S1 DDOR
S2
S1
S2
Operation command
DOR
S
D
DORP
S D
Operation command
DOR
DORP
DOR
DORP
Head No. of device to
store logical OR results.
S2
Data to be logical ORed
or head No. of device
where data is stored.
D
S1
Function
DOR S D
,
DORP
S
D
Logical OR is executed for each bit of the 32-bit data in the device designated with D and the device
designated with S, and the results are stored in the device designated with D.
Before execution
D
10 010
1101010100
DOR,DORP
00 1000101011011
32-bit
10 110
1101011111
D
S
After execution
DOR
S2
S1
D
,
DORP S2S1
D
Logical OR is executed for each bit of the 32-bit data in the device designated with S1 and the device
designated with S2, and the results are stored in the device designated with D.
Before execution
S1
10 0101101010100
DOR,DORP
00 10001 01011011
32-bit
10 11011 01011111
D
S2
After execution