Contents i – Lenze ETC Motion Control User Manual

Page 4

Advertising
background image

Contents

i

l

4

EDSTCXN EN 2.0

2.11

ETC PLC programming with CoDeSys

51

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.11.1

Installing CoDeSys

51

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.11.2

Configuring the control system in the ETC−CoDeSys

51

. . . . . . . . .

2.12

Creating a PLC sample program

60

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.12.1

Required hardware

60

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.12.2

Starting and configuring the PLC sample program

61

. . . . . . . . . .

2.12.3

Loading the PLC sample program into the control system

68

. . . .

2.13

Testing CNC and PLC program

72

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.14

PLC keys in the ETC−MMI

75

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.14.1

Labelling of the PLC keys in the ETC−MMI

75

. . . . . . . . . . . . . . . . . .

2.14.2

Calling the signals in the PLC

76

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.14.3

Function of the keys

76

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.15

Operation via a Lenze−HMI

77

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.15.1

Settings for the connection of a Lenze−HMI H505

77

. . . . . . . . . . .

2.15.2

Functional description HMI505 operation

81

. . . . . . . . . . . . . . . . .

2.16

Updating the firmware of the ETCHx in the "Standalone"
operating mode

83

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2.16.1

Calling the boot monitor in the control system

83

. . . . . . . . . . . . .

2.16.2

Querying the version of the firmware

84

. . . . . . . . . . . . . . . . . . . . .

2.16.3

Updating the firmware

84

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3

CNC programming

87

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.1

Basics

87

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2

G functions

91

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2.1

Overview of G functions

91

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2.2

G functions individual descriptions

94

. . . . . . . . . . . . . . . . . . . . . .

3.3

Formula processor

172

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.1

Arithmetic operations

172

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4

Block extensions

174

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.1

Parameter assignment P

174

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.2

H functions

175

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.3

M functions

175

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.4

Q functions

177

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.5

S functions

178

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.6

T functions

179

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5

Data fields

180

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5.1

P field

180

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5.2

Q field

189

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Advertising