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

Page 21

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

Image 21
Contents DVPCOPM-SL Page Table of Contents LED Indicator & TROUBLE-SHOOTING Introduction FeaturesCan 500VDC FunctionsDimension Product Profile & OutlineProduct Profiles Address Switch Function SwitchCANopen Connection Port Connecting DVPCOPM-SL to DVP-SV MPU Digital IndicatorInstalling DVPCOPM-SL and DVP-SV MPU on DIN Rail Basic OperationConnecting to CANopen Connection Port How to Construct a CANopen NetworkConstructing CANopen Network CANopen Data Mapping in CANopen Network How to Configure Network by Delta CANopenBuilder Software DVP-SV CANopen Communication Module DVPCOPM-SL CANopen Communication Module DVPCOPM-SL CANopen Communication Module DVPCOPM-SL CANopen Communication Module DVPCOPM-SL CANopen Communication Module DVPCOPM-SL CANopen Communication Module DVPCOPM-SL CANopen Network Control Saving the Configuration DataSending SDO, NMT and Reading Emergency by Ladder Diagram PrincipleStructure of SDO Request Message MAC ID Structure of NMT Service MessageStructure of Emergency Request Message Application Examples Status = 01Hex MOV MAC ID = 02Hex LED Indicator & Trouble-shooting Codes in Digital Display Power LEDCANopen Communication Module DVPCOPM-SL Memo