background image

AV6A 12

E

thernet Modbus TCP “M” 

Modbus TCP Ethernet is typically a master-slave network-the 

master/scanner device gathers data from each (slave) device on the 

bus.  Avtron encoders are Modbus TCP slave devices. 

Modbus TCP Ethernet may be wired in several different 

configurations, but the best known is a “star” configuration where 

each device has a “home-run” network cable that connects to a 

central switch or hub.  

Unlike other Avtron Ethernet encoders, Modbus TCP encoders do not 

support a daisy-chain configuration.  Each device must be direclty 

connected to the master/scanner device or to a switch or hub.

Preferred cable:  Nidec Avtron recommends structured Ethernet 

wiring systems, available from a broad range of vendors as well as 

Avtron.  

For more details on Modbus TCP, consult the Modbus Organization:

www.modbus.org

Number of 

Nodes

1

Units

Max. Overall 

Cable Length*

330 

[100]

ft 

[m]

*Using Ethernet standard cable, CAT6 or CAT5e required

Setting Station/Node, Baud Rate

The default hardware address is 10.10.10.10.  

NOTE:  Rotating switches have NO EFFECT on 

MODBUS/TCP address.

  Unlike other Avtron encoders, you 

cannot change this hardware address using the switches inside the 

cap.  

Instead, to assign any other address, you must use software.

To set the node number via software, remove the connection cap 

from the back of the encoder. Flip dip switch 2 to “Off”, reassemble 

the encoder.

Setting IP Address via utility software:

Begin with a factory-default encoder at 10.10.10.10 address with 

dip switch 2 set to “on” in the connection cap.

Make a physical Ethernet connection between a PC and the encoder.  

Run the utility Mon10.bat (available as zipped folder from www.

avtronencoders.com).  This will establish a connection to the 

encoder and allow assignment of the IP address through the hymon.

exe software, also included in the zipped folder.

Type the command (all lower case)

set ip xxx.xxx.xxx.xxx (where xxx is the desired IP address)

The encoder will respond “Flash memory update successful”

After assigning the IP address, remove power, then remove the 

connection cap.  Set dip switch 2 to “off”, which cycle power to 

the encoder.  The encoder will now respond to the new IP address.  

(Verify using ping xxx.xxx.xxx.xxx where xxx represents the new ip 

address from PC)  

Ethernet baud rate is auto-detected by the encoder, no settings are 

required. 100mBit and 10mBit are supported, Gigabit Ethernet is 

not supported at the encoder level but may be utilized at the switch 

backbone level.

Measuring Position, Speed, and Acceleration

To read position into your device (acceleration and speed 

measurement is not supported.):  

For multiturn & single turn encoders:  position data provided as 

4 bytes, 32 bits:  Format is little-endian (lowest bit = right-most 

bit).  Single-turn data/data within 1 turn is provided in the least-

significant bits.  Multiturn data is provided in adjacent 32-bit words.  

Example:  12 turns x 13 bits/turn encoder, lowest 13 bits = position 

within one turn, next 19 bits are unused.  Next 12 bits represent 

turns position data, next 24 bits are unused.

Note velocity output is not accurate during command execution such 

as setting (zero) position.

Start Address 0000

Register

Data Type

Position

0

Position

Bit 17-32

1

Position

Bit 1-16

2

Velocity

Bit 17-32

3

Velocity

Bit 1-16

4-7

Time Stamp

14

Preset

Bit 17-32

15

Preset

Bit 1-16

16

Offset

Bit 17-32

17

Offset

Bit 1-16

The position data is provided at parameter 0x6004.

Setting (Zero) Position for Multiturn Encoders and Single turn 

Encoders:

Start Address 0000, Register 14-15 Preset object which will load 

a preset value into the encoder.  However, if the machine is not at 

the home/preset position at set position command, the system will 

nonetheless load the Preset Value into the encoder.  This can cause 

a position error.  

Setting Direction of Rotation for Count Up/Down:

Start Address 0000, Register 18, least significant bit (0) can be set to 

change operation:  

bit 0 = 0, Counterclockwise rotation = count up

bit 0 = 1, Clockwise rotation = count up

(rotation as viewed from the back of the encoder)

Scaling Counts:

To use scaling, set bit 2 in object 0x6000 = 1, default value = 0

0x6001 supports scaling of user units per revolution,  

default value 0x2000

0x6002 enables setting of the total measuring range in user units 

default value 0x1000

Multiplexed Mode

Multiplexed mode is supported by Avtron encoders.  Multiplexing 

slows the data feed from each encoder to enable other data to pass 

more quickly to the master/scanner module.

For maximum encoder updates per second in mission critical 

applications, turn Multiplexed mode off using the master/scanner 

configuration software.

Other Parameters

Contact Nidec Avtron for additional parameters, diagnostic registers, 

cam and programmable limit switch functionality and other 

advanced features.

MODBUS TCP TROUBLESHOOTING

Viewing on oscilliscope:  for Modbus TCP/Ethernet, the transmit and 

receive signal pairs should change state rapidly as the controller 

transmits messages to the encoder and the encoder replies.  

Transmission rates vary, but these messages can be extremely short 

and typically require scope triggering to spot them.  

A simple one-to-one connection can be made to an ordinary PC.  Set 

Содержание AV6A Series

Страница 1: ...tion Supplied AV6A Encoder Optional none Not Supplied Open Wrenches Hex Wrenches Dial Indicator Gauge Caliper Gauge Coupling Foot Mount and Mounting Screws AV6A PART NUMBERS AND AVAILABLE OPTIONS Mode...

Страница 2: ...cceptable loosen the mounting screws to the flange and apply thin metal shims to the face of the encoder and retest the angular alignment until acceptable 5a Remove the AV6A Transfer punch or layout t...

Страница 3: ...e encoder replies Transmission rates vary but these messages can be extremely short and typically require scope triggering to spot them For CANOpen ensure termination resistors are in place or switche...

Страница 4: ...84 12 or 14 bits F Line Driver Specs See table G Connectors See connector options on page 1 H Accuracy 0 04 deg 2 6 arc min 12 bit units 0 02 deg 1 3 arc min 16 bit units MECHANICAL A Shaft Inertia 0...

Страница 5: ...encoder is reset typically power cycled Power Up Sequence The encoder will power up in the pre operational mode The message it will issue is ID 0x07nn 0x00 nn node number typically 0x01 for units wit...

Страница 6: ...SDO object 0x2300 Example encoder at node 20 store changes ID 0x620 0x22 0x00 0x23 0x00 0x55 0xAA 0xAA 0x55 No reset is triggered Cycle power after saving changes to parameters Other Parameters Contac...

Страница 7: ...cycled before the values are stored the encoder will default to the values previously stored in EEPROM Setting Node Number To set the node number on units with a connection cap Set the address using t...

Страница 8: ...cabling system and that no termination resistors are in placed or activated in the middle of the system Remove the connections to the master controller and all devices or power down all devices Measur...

Страница 9: ...an lowest bit right most bit Single turn data data within 1 turn is provided in the least significant bits Multiturn data is provided directly above the single turn data bitwise Example 12 turns x 13...

Страница 10: ...rs encoder operational LS DA 1 Status Flashing Green Active inbound communication LS DA 2 Status Green Output connected to next encoder LS DA 2 Flashing Green Active communication to next encoder Erro...

Страница 11: ...turns position data Zero Position for Multiturn Encoders Single turn Encoders NOTE Do not attempt to use zero preset function while the encoder is rotating Doing so will produce unpredictable results...

Страница 12: ...tion Speed and Acceleration To read position into your device acceleration and speed measurement is not supported For multiturn single turn encoders position data provided as 4 bytes 32 bits Format is...

Страница 13: ...ed to each cable Use hubs or switches to connect multiple Modbus TCP encoders to the master device A software snoop or sniffer program can also be used to packet analyze the communication If the posit...

Страница 14: ...ow operate at the assigned IP address which can be validated using the ping command from the PC The assigned name can be used throughout STEP7 software to address the encoder Note that if more than on...

Страница 15: ...coder use the parameters supplied in the GSDML file to set the appropriate mode Store the resulting configuration into the scanner module Storing Saving Encoder Parameters to EEPROM To store the curre...

Страница 16: ...laced in registers identified in the configuration package Profibus DP Diagnostic LEDs LED Status Meaning STATUS ERROR Green Off Power Ok Status OK STATUS ERROR Green Red No Configuration Data Receive...

Страница 17: ...s required Measuring Position Speed and Acceleration To read position and speed into your device acceleration measurement is not supported Following the instructions for your master scanner module for...

Страница 18: ...unication A software snoop or sniffer program can also be used to packet analyze the communication If the position is changing as the encoder moves but is reported incorrectly the Preset parameter may...

Страница 19: ...Upon the Set Zero signal returning to logic zero falling edge the encoder count value will be set to zero Set Direction input 10K resistance For input logic zero or no connection the encoder will cou...

Страница 20: ...st L GND 0V BROWN 3 NC PINK NC BLUE NC GRAY CAN_H Rightmost H CAN_L Rightmost L CAN_GND Rightmost G Double up Double up REF SIGNAL CAN_GND V CAN_H CAN_L GND 0V Optional Daisy Chain CAN_H CAN_L CAN_GND...

Страница 21: ...ftmost H CAN_L BLUE 3 Leftmost L NC NC NC CAN_H Rightmost H CAN_L Rightmost L Double up Double up REF SIGNAL V V GND CAN_H CAN_L Optional Daisy Chain CAN_H CAN_L GND V DeviceNet Bus D AV6A WIRING DIAG...

Страница 22: ...ey pairing as shown optional overall shield may be used for high noise environments NOTE For encoder switch connections use the crossover pinout shown for encoder PC or encoder PLC direct wiring use a...

Страница 23: ...W BROWN 16 BIT 15 WHITE YELLOW 15 BIT 14 BROWN GREEN 14 BIT 13 WHITE GREEN 13 BIT 12 BLUE RED 12 BIT 11 GREY PINK 11 BIT 10 VIOLET 10 BIT 9 BLACK 9 BIT 8 RED 8 BIT 7 BLUE 7 BIT 6 PINK 6 BIT 5 GREY 5 B...

Страница 24: ...OWN GREEN NC NC 14 BIT 13 WHITE GREEN NC 13 13 BIT 12 BLUE RED 12 12 12 BIT 11 GREY PINK 11 11 11 BIT 10 VIOLET 10 10 10 BIT 9 BLACK 9 9 9 BIT 8 RED 8 8 8 BIT 7 BLUE 7 7 7 BIT 6 PINK 6 6 6 BIT 5 GREY...

Страница 25: ...own optional overall shield may be used for high noise environments Communication Bus M Modbus TCP Pinout AV6A WIRING DIAGRAMS Master Scanner or Switch Power Supply NOTE For encoder switch connections...

Страница 26: ...B Bus A out 5 pin female 2 Rightmost A Bus B out 4 Rightmost B REF SIGNAL GND OV Vs Bus A out Bus B out Bus A in Bus B in NOTE Profibus cabling required Obey pairing as shown If termination resistor R...

Страница 27: ...NK 4 6 SET ZERO BLUE 9 7 SET DIRECTION RED 8 8 NC 5 NC 6 NC 7 NC 10 REF SIGNAL GND Vs CLK CLK DAT DAT SET ZERO SET DIRECTION NC NC NC NC NOTE Twisted pair cable required with overall shield individual...

Страница 28: ...or M12 K Radial exit A Multiturn IP65 Seals Aluminum Steel Enclosure A Shaft front flange dimensions are independent of body connector bus systems The drawings on all these pages can be superimposed t...

Страница 29: ...12 E Axial exit E Multiturn IP65 Seals and Aluminum Steel Enclosure A Shaft front flange dimensions are independent of body connector bus systems The drawings on all these pages can be superimposed to...

Страница 30: ...M27 G End Axial exit E Multiturn IP65 Seals Aluminum Steel Enclosure A Shaft front flange dimensions are independent of body connector bus systems The drawings on all these pages can be superimposed...

Страница 31: ...R Connector M12x3 Side Exit A Multiturn IP65 Seals Aluminum Steel Enclosure A Shaft front flange dimensions are independent of body connector bus systems The drawings on all these pages can be superi...

Страница 32: ...M12 8 E Side exit A Multiturn IP65 Seals Aluminum Steel Enclosure A Shaft front flange dimensions are independent of body connector bus systems The drawings on all these pages can be superimposed to c...

Страница 33: ...5 1 25 pilot Devicenet D Connector 2xM12 5 B Radial exit A Multiturn IP65 Seals Aluminum Steel Enclosure A DIMENSIONS IN INCHES MILLIMETERS ALL DIMENSIONS ARE APPROXIMATE Features and specifications...

Отзывы: