7.4
In this section is shown some examples of controlling the motor by Modbus TCP. As master is
used the shareware program Modbus poll which can be obtained from the website:
www.modbustools.com/
These examples assume you are already connected to the motor.
For connecting to the motor, please follow the Quick start guide, page 167.
7.4.1
Running Velocity control
To use the JVL motor in velocity mode the following motor registers is of interest.
1. "Mode" – mode, register 2
2. "V_SOLL" – velocity, register 5
3. "A_SOLL" – acceleration, register 6
4. "Error/Status" – register 35
So to control these registers setup polling of motor register 12 – actual velocity (modbus
address 24), and motor register 35 (modbus address 70).
This could look like shown below.
Now we can monitor the motor errors and the motor velocity.
JVL Industri Elektronik A/S - User Manual - Ethernet for MAC and MIS motors
Examples
http://
TT3064-01GB
171