6 plc program used for positioning control …melsec-q 6 plc program used for positioning control...

32
6 - 20 MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is given in this section. [No. 1] to [No. 3] parameter and data setting program When setting the parameters or data with the PLC program, set them in the QD75MH using the TO command from the PLC CPU. (Carry out the settings while the PLC READY signal [Y0] is OFF.) When setting the parameters or data with GX Configurator-QP, the [No. 1] to [No. 3] program is not necessary.

Upload: others

Post on 06-Mar-2021

34 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 20

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

6.4 Positioning program examples

An example of the "Axis 1" positioning program is given in this section.

[No. 1] to [No. 3] parameter and data setting program When setting the parameters or data with the PLC program, set them in the QD75MH using the TO command from the PLC CPU. (Carry out the settings while the PLC READY signal [Y0] is OFF.) When setting the parameters or data with GX Configurator-QP, the [No. 1] to [No. 3] program is not necessary.

Page 2: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 21

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 3: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 22

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 4: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 23

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 5: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 24

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 6: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 25

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 7: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 26

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 8: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 27

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 9: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 28

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 10: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 29

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 11: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 30

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 12: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 31

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 13: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 32

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 14: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 33

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 15: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 34

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 16: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 35

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 17: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 36

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 18: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 37

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 19: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 38

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 20: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 39

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 21: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 40

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 22: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 41

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 23: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 42

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 24: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 43

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 25: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 44

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 26: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 45

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 27: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 46

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 28: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 47

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 29: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 48

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 30: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 49

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 31: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 50

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL

Page 32: 6 PLC PROGRAM USED FOR POSITIONING CONTROL …MELSEC-Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL 6.4 Positioning program examples An example of the "Axis 1" positioning program is

6 - 51

MELSEC-Q6 PLC PROGRAM USED FOR POSITIONING CONTROL