Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 8

Advertising
background image

PLC Designer V2.x| Lenze Application Samples

Contents

8

L

1.3 EN - 07/2012

8.9 ECS/9400/8400 - "LAS_40_INTF_84SL_Speed_94HL_Speed_ECSPosShaft" sample project

212
8.9.1 Components used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
8.9.2 Short overview of the functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

8.9.2.1

Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

8.9.2.2

Program structure in the »PLC Designer« . . . . . . . . . . . . . . . . . . . . . . . . 214

8.9.2.3

Program organisation units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

8.9.3 Operation via the visualisations in the »PLC Designer«. . . . . . . . . . . . . . . . . . . . . 218

8.9.3.1

Information/home page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218

8.9.3.2

Automatic mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219

8.9.3.3

Manual mode ("Manual jog") . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

8.9.3.4

Service mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222

8.9.3.5

"Homing ECS" mode (homing) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223

8.9.3.6

Parameter transfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224

8.9.3.7

CAN diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

8.9.4 Interface assignment in the device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

9

Adding other components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
9.1 Copying and inserting nodes of the same series. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227

9.1.1 Establishing the connection between the visualisation and the FB. . . . . . . . . . 229

9.2 Inserting further subelements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
9.3 Copying and inserting different nodes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230

10

Diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
10.1 What to do if the PLC is not running? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

10.1.1 The PLC was exited on the target system. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
10.1.2 No download of the PLC program to the target system possible . . . . . . . . . . . . 232

10.2 What to do if the CAN bus is not running/CAN nodes do not respond? . . . . . . . . . . . . . 233
10.3 What to do if the motor does not rotate? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233

11

The L_S84_Drive8400.lib library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
11.1 L_S84_ActuatorSpeedBL - actuation of the 8400 BaseLine controller . . . . . . . . . . . . . . . 235

11.1.1 Structure of S84_DriveControl_8400BL - actuation to the controller . . . . . . . . 236
11.1.2 Structure of S84_DriveStatus_8400BL - status of the controller . . . . . . . . . . . . 237

11.2 L_S84_ActuatorSpeedSL - actuation of the 8400 StateLine controller. . . . . . . . . . . . . . . 238

11.2.1 Structure of S84_DriveControl_8400 - actuation to the controller . . . . . . . . . . 239
11.2.2 Structure of S84_DriveStatus_8400 - status of the controller. . . . . . . . . . . . . . . 240

11.3 L_S84_GetVersion - transfer of the version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
11.4 L_S84_ReadErrorCode - read out error status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
11.5 L_S84_SDOList84SL - parameter list for 8400 StateLine controller. . . . . . . . . . . . . . . . . . 242

Advertising