Mitsubishi Q2ACPU User Manual page 511

Qna series melsec
Table of Contents

Advertisement

APPENDICES
An
CPU Instruction
DSUM instruction
Program example:
DSUM D10
DSET instruction
Program example:
LEDA DSET
LEDC Y10
LEDR
FLOAT instruction
Program example:
LEDA FLOAT
LEDC D10
LEDC D100
LEDR
OUT instruction
Program example:
Set head numbers with parameters.
Low speed : 0
High speed: 200
Retentive : 224
Extension timer
Low speed : 256
High speed: 512
Retentive : 768
Setting val. stored dev. start: D5000
OUT T0
K10
OUT T200 K10
OUT T225 K10
OUT T256 D5000
OUT T512 D5256
OUT T768 D5512
RCL instruction
Program example:
RCL K8
RCR instruction
Program example:
RCR K8
ROL instruction
Program example:
ROL K8
Instruction after A
DSUM D10 SD718
SD718 is the device resulting from converting
accumulator A0.
SET DY10
FLT D10 D100
OUT T0 K10
OUTH T200 K10
OUT ST225 K10
OUT T256 D5000
OUTH T512 D5256
OUT ST768 D5512
RCL SD718 K8
SD718 is the device resulting from converting
accumulator A0.
RCR SD718 K8
SD718 is the device resulting from converting
accumulator A0.
ROL SD718 K8
SD718 is the device resulting from converting
accumulator A0.
App - 114
QnA Conversion

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents