Table of Contents

Spindle Control via Modbus

This is the high-level access described in the Modbus Setup manual. To learn more about low-level access (direct control via PLC procedures), please consult the PLC/Modbus API manual.

Please note that additional settings needed for proper machine operations (those that are not directly related to Modbus communication) are not covered in this manual and may have to be adjusted in addition to the steps demonstrated below.

Connecting a Delta VFD-EL to myCNC

In this example, we will be showing the setup process for a Delta VDF-EL to myCNC. The Modbus communication will be using three wires - on the controller side, you will need to connect the RS485A, RS485B and GND contacts:

et6-rs485-connection-001.jpg

On the VFD side, you will need to connect SG+, SG- и GND, which can be found in the RG45 block. Counting from the right, pin #3 is GND, pin #4 is SG-, and pin #5 is SG+.

Connect GND to GND, RS485A to SG+, and RS485B to SG-.

Next, we need to alter some settings within the VFD. For the Delta EL, this will be:

Open up the Technology > Mill/Lathe > Spindle tab in myCNC Settings.

After this, the correct register addresses should be displayed in the registers above.

After this, the Messages animation should begin to run, and the Modbus Diagnostics window should display confirmation messages (in red and blue) indicating that some sort of a connection ahs already been established. At this point, it is the matter of fine-tuning our configuration.

Press the “Save PLC” button in the bottom right corner and confirm the replacement of the existing procedures with the new altered ones.

After this is done, press the “Build All”, “SEND” and “Save ALL” buttons at the top right side of your screen, and confirm that the PLC procedures have been successfully saved.

Now, when the М03 from the main screen is pressed, the spindle will start rotating clockwise, and when the M04 button is pressed, the spindle will start rotating counter-clockwise. It should also respond to changing the rotation speed. If the observed rotation speed is not equal to the theoretical (expected) rotation, this can be adjusted by using the coefficient in the Speed ratio (modbus) field in your Settings.

At this point, the setup should be complete.

Other systems

WK600

NOTE: This information has been compiled by myCNC users, and may be inaccurate. It is provided solely to aid clients in their setup for purposes of demonstration.

Specifying the parameters:

Registers: