6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL

MELSEC-Q

Device

 

Device

Application

Details when ON

name

Axis 1

Axis 2

Axis 3

Axis 4

 

 

 

 

 

 

 

 

 

 

M34

 

 

 

TEACH1 instruction complete device

TEACH1 instruction completed

 

 

 

 

 

 

 

 

M35

 

 

 

TEACH1 instruction error complete

TEACH1 instruction error completed

 

 

 

 

device

 

 

 

 

 

 

 

M36

 

 

 

PINIT instruction complete device

PINIT instruction completed

 

M37

 

 

 

PINIT instruction error complete device

PINIT instruction error completed

 

 

 

 

 

 

 

 

M38

 

 

 

PFWRT instruction complete device

PFWRT instruction completed

 

 

 

 

 

 

 

 

M39

 

 

 

PFWRT instruction error complete

PFWRT instruction error completed

 

 

 

 

device

Internal relay

 

 

 

M40

 

Absolute position restoration instruction

Absolute position restoration

 

 

 

 

 

 

 

 

pulse

commanded

 

 

 

 

 

 

 

 

 

 

 

 

 

M41

 

 

 

Absolute position restoration instruction

Absolute position restoration

 

 

 

 

storage

instruction held

 

 

 

 

 

 

M42

 

 

 

ABRST instruction complete device

ABRST instruction completed

 

M43

 

 

 

ABRST instruction error complete device

ABRST instruction error completed

 

M50

 

 

 

Basic parameter 1 setting complete

Basic parameter 1 setting completed

 

 

 

 

device

 

 

 

 

 

 

(2) Data resisters and timers

Device

 

Device

Application

 

 

 

Details of storage

name

Axis 1

Axis 2

Axis 3

Axis 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(

 

 

 

 

D0

 

 

 

OPR request flag

Md.31

Status (bit 3))

 

 

 

 

 

 

 

 

 

 

 

D1

 

 

 

Speed (low-order 16 bits)

 

 

 

 

 

 

 

 

(

Cd.25

 

Position-speed switching

 

D2

 

 

 

Speed (high-order 16 bits)

 

 

 

 

 

 

 

 

control speed change resister)

 

D3

 

 

 

Movement amount (low-order 16 bits)

 

 

 

 

 

 

 

 

(

Cd.23

 

Speed-position switching

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D4

 

 

 

Movement amount (high-order 16 bits)

control movement amount change

 

 

 

 

resister)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(

 

 

 

 

D5

 

 

 

Inching movement amount

Cd.16

Inching movement amount)

 

 

 

 

 

 

 

 

 

 

 

D6

 

 

 

JOG operation speed (low-order 16 bits)

 

 

 

 

 

D7

 

 

 

JOG operation speed (high-order 16

(

Cd.17

 

JOG operation speed)

 

 

 

 

bits)

 

 

 

 

 

 

 

 

 

 

 

 

 

Data register

 

 

 

 

 

 

 

D8

 

Manual pulse generator 1 pulse input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

magnification (low-order)

 

 

 

 

 

 

 

 

 

(

Cd.20

 

Manual pulse generator 1

 

D9

 

 

 

Manual pulse generator 1 pulse input

pulse input magnification)

 

 

 

 

magnification (high-order)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(

 

 

 

 

D10

 

 

 

Manual pulse generator operation

Cd.21

Manual pulse generator

 

 

 

 

enable

enable flag)

 

 

 

 

 

 

 

 

 

 

 

 

D11

 

 

 

Speed change value (low-order 16 bits)

(

 

 

 

 

 

 

 

Cd.14

New speed value)

 

D12

 

 

 

Speed change value (high-order 16 bits)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(

 

 

 

 

D13

 

 

 

Speed change request

Cd.15

Speed change request)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(

 

 

 

 

D14

 

 

 

Override value

Cd.13

Positioning operation speed

 

 

 

 

override value)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6 - 8

Page 228
Image 228
Mitsubishi Electronics QD75P, QD75D user manual Data resisters and timers