Modbus installation, setup and testing procedures

User avatar
om_tech_support_JT
Posts: 1058
Joined: Fri Mar 12, 2010 2:59 pm
Location: Torrance, CA
Contact:

Modbus installation, setup and testing procedures

Postby om_tech_support_JT » Fri May 29, 2015 5:14 pm

Q: I have a FLEX, stored data type driver and I am trying to set up the communication via modbus, but I cannot communicate via modbus. Do you offer a step by step process to set this up?

A: First, you need to make sure that all of the connections are properly made to the FLEX, stored data type driver. Each product will have a manual that has step by step directions on what to connect to the driver. For an example, I chose the AZ46AAD-TS10-3, AlphaStep Battery-Free, Absolute Sensor Stepper Motor and Driver Package with Built-in Controller. Setup instructions can be found in the modbus section of the manual. Manuals can be easily found by performing a model number search on our website. The AZ46AAD-TS10-3 setup instructions from the manual are listed below:

PLEASE CLICK TO EXPAND!
Modbus installation, setup and testing procedures - AZ step by step instructions.jpg
Modbus installation, setup and testing procedures - AZ step by step instructions.jpg (155.62 KiB) Viewed 2323 times

PLEASE CLICK TO EXPAND!
Modbus installation, setup and testing procedures - AZ step by step instructions1.jpg
Modbus installation, setup and testing procedures - AZ step by step instructions1.jpg (246.85 KiB) Viewed 2323 times

PLEASE CLICK TO EXPAND!
Modbus installation, setup and testing procedures - AZ step by step instructions2.jpg
Modbus installation, setup and testing procedures - AZ step by step instructions2.jpg (206.72 KiB) Viewed 2323 times

Checking Installation and Connection:
The first step is making sure that everything is properly connected. This means that the main power supply and 24 VDC control power supply (when applicable) will need to be connected. The motor cables will also need to be connected. The motor cables may include the motor, encoder, and electromagnetic brake cables. Lastly, the master controller needs to be connected to our RJ 45 port (CN6 or CN7 connector). If your master controller does not communicate via an RJ 45 port, then a RS-485 converter will be needed. You will need to make a converter cable to convert between the protocol or connection type of your master controller.

NOTE: There have been issues in the past where customers have tried to use two converter cables when communicating via modbus. To eliminate an potential communication error, please only use one converter cable. [An example of using two communication cables that resulted in an error was: USB to RS-232 converter connected to an RS-232 to RS-485 converter].

A typical converter cable that is used is a USB to RS-485 converter. There are many converter cables on the market, but we have tested the one linked below for our FLEX, stored data type products:
http://www.orientalmotor.com/products/p ... B_v1_0.pdf

Setting the Switches:
Once all the connections are made, the switches need to be set. Some key tips when walking through the steps on setting the switches: 1.) The protocol switch (in this case No. 2) needs to be turned on. The factory setting is off. 2.) The Baud rate dial setting needs to match the Baud rate of your master controller. 3.) When connecting multiple drivers together, the last driver needs to have the termination resistor switched to ON.

Then you need to check the communication parameters and cycle the power to the driver.

Testing Motor Operation:
Now that all of the setup is complete, try moving the motor. In order to test the motor operation, you can either send a query, or use our MEXE02 software.

In order to test to see if the motor will rotate, you can use our MEXE02 software and a communication cable (CC05IF-USB for most of our FLEX products or a USB to mini USB for the AZ series). Using the teaching, remote operation on the MEXE02 software, you can hold down the >> button to see if the motor moves.

NOTE: When communicating via modbus, make sure to remove the communication cable used for connection to the MEXE02 software as there have been instances in the past where having both the communication cable for MEXE02 software and the RJ 45 cable trying to communicate via RS-485 have caused a communication problem.

Return to “Stepping Motors & Controls”

Who is online

Users browsing this forum: No registered users and 3 guests