Write Bit Device To The Motion Cpu: M(P).Bitwr/D(P).Bitwr - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Write bit device to the Motion CPU: M(P).BITWR/D(P).BITWR

Instruction
Condition
MP.BITWR
DP.BITWR
M.BITWR
D.BITWR
*1 : Instruction (M(P).BITWR: M, D(P).BITWR: D)
Setting data
■Usable devices
: Usable, : Usable partly
Setting
Usable devices
*3
data
Internal devices
(System, User)
Bit
Word
(n1)
(D1)
(n2)
*1
*2
(D2)
*1
(D3)
*1 Omission possible with both of (D2) and (D3) omission.
*2 Local devices cannot be used.
*3 Setting data (n1) to (D3): Index qualification possible (except constant)
■Description, range, setting side, data type
Setting data
Description
(n1)
(First I/O No. of the target CPU)/16
Value to specify actually is the following.
CPU No.2: 3E1H, CPU No.3: 3E2H, CPU No.4: 3E3H
(D1)
Bit device of the target Motion CPU that conducts the bit operation (includes word device bit
specification)
(n2)
Bit operation
Value to specify actually is the following.
OFF: 0
ON: 1
*1
(D2)
Complete devices
• (D2+0): Device which make turn on for one scan at accept completion of instruction.
• (D2+1): Device which make turn on for one scan at accept abnormal completion of
instruction. ("D2+0" also turns on at the abnormal completion.)
*1
(D3)
Complete status storage device
*1 Omission possible with both of (D2) and (D3) omission.
*2 Motion CPU cannot be set as CPU No.1 in the Multiple CPU configuration.
2 MOTION DEDICATED PLC INSTRUCTION
76
2.2 Motion Dedicated PLC Instruction
Sequence program
Command
Command
Command
Command
File register
Link direct
device J□\□
Bit
Word
Bit
*2
*2
*2
*2
*1
P.BITWR
(n1)
P.BITWR
(n1)
(D1)
(n2)
.BITWR
(n1)
.BITWR
(n1)
(D1)
(n2)
Module access
device U□\G□
Word
Bit
Word
(D1)
(n2)
(D2)
(D3)
(D1)
(n2)
(D2)
(D3)
Index
Constant
register
Z□
Decimal K,
Hexadecimal
H
Setting range
3E1H to 3E3H
0 to 1
Others
Real
character
string
Set by
Data type
User
16-bit binary
User
Character
string
User
16-bit binary
System
Bit
System
Word

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents