Delta Electronics DVPCOPM-SL manual Saving the Configuration Data, CANopen Network Control

Models: DVPCOPM-SL

1 32
Download 32 pages 6.11 Kb
Page 21
Image 21
4.4Saving the Configuration Data

CANopen Communication Module DVPCOPM-SL

4.4Saving the Configuration Data

Select “File” => "Save” to save the current configuration data.

4.5CANopen Network Control

In this section, we will introduce how to compile WPL program and control CANopen network.

zTarget:

1.When SW0 on Slave 3 is closed, the servo drive on Slave 2 will start to run.

2.When SW0 on Slave 3 is open, the servo drive on Slave 2 will stop.

3.When the status of SW1 and SW2 on Slave 3 is switched, the running speed of servo drive on Slave 2 can be modified.

4.When the servo drive is running, the signal LED on Slave 2 will be On.

5.When the servo drive stops, the signal LED on Slave 2 will be Off.

zThe program in DVP-SV MPU (master):

M1002

SET M0

M0

MOV D6032 D6286

MOV D6036 D6282

END

zProgram explanations:

1.The 2nd row of the program indicates sending the content of D256 in DVP-SA (mapped on D6032 of DVP-SV) to the control word (Multi-Function Digital Input, mapped on D6286 of DVP-SV) of the servo drive.

2.The 3rd row of the program indicates sending the output status of the servo drive (Multi-Function Digital Output, mapped on D6036 of DVP-SV) to D0 in DVP-SA (mapped on D6282 of DVP-SV).

zThe program in DVP-SA MPU (slave):

M1002

MOV HC6 D1120

SET M1120

RST M1143

SET M0

M0

MOV K2X20 D256

MOV D0 K2M10

M10

Y0

END

DVP-PLC Application Manual

19

Page 21
Image 21
Delta Electronics DVPCOPM-SL manual Saving the Configuration Data, CANopen Network Control, MOV D0 K2M10 M10 Y0 END