Mitsubishi Electric MELDAS C6 Programming Manual page 310

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Program example
(1) Program to reset 8th bit (to 0) of D8 when XB turns OFF, and to set 3rd bit (to 1) of D8 when XB
turns ON.
X0B
10
X0B
19
Coding
No. of
steps
10
LDI
11
BRSTP
19
LD
20
BSETP
28
D8 before execution
D8 after execution
8. Function Commands
BRST, BRSTP
BRST D8
BSET D8
Com-
Device
mand
X0B
D8
K8
X0B
D8
K3
b15
b15
実行前
D8
0 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1
0 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1
When XB turns OFF
XBがOFFしたとき
b15
b15
実行後
D8
0 0 1 1 0 1 0 0 1 1 1 1 1 0 0 1
0 0 1 1 0 1 0 0 1 1 1 1 1 0 0 1
- 301 -
Get other manuals https://www.bkmanuals.com
P
Reset 8th bit of D8.
K8
P
Set 3rd bit of D8.
K3
b8
b3
b0
b8
b3
b0
When XB turns ON
XBがONしたとき
b8
b8
b3
b3
b0
b0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents