AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks
Filter Results Clear All
You've selected:
> Programmable Controllers > Do-more H2 & T1H PLCs (Micro Modular & Stackable)
  •   Shop  
  •   Overview  
  •   In Depth  
Do-more Home Download Free Software
 
Features
Top 11 Ways You Can Do More with this PLC Serial Communications Ethernet Communications High Speed Modules Hign Speed Inputs Motion Control Remote I/O Free Online Training
Free Software
Simulator Auto-Discover I/O Communications Powerful Math Monitoring & Troubleshooting Memory Management Program Management Project Management Security Download the FREE software
Hardware
H2 CPUs T1H CPUs Bases AC I/O Modules DC I/O Modules AC & DC I/O Modules Analog I/O Modules Specialty Modules Go to ZIPLink Selector Tool
Videos


Do-more H2 (Micro Modular PLC) Videos

View Do-more Designer Videos


Detailed Product
Overview



To learn more: https://www.automationdirect.com/do-more?utm_source=_NoMHDMfZ7Q&utm_medium=VideoTeamDescription - (VID-DM-0029)

Learn how to use a BRX or Do-more to communicate with an AMCI absolute rotary encoder in this brief video tutorial.
**Software Version used in this video: Do-more Designer 1.4.3

Online Support Page: https://community.automationdirect.com/s/?utm_source=_NoMHDMfZ7Q&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript
Using the Do-more to talk to an EtherNet/IP

encoder like this one is easy. It really only has one class, one object in

that class and the usual services. There is a table of class attributes, but

it only support attribute #1 – the rev number. How do I know all of that? It’s in this manual I found on-line. Looks like Appendix B has the Common Industrial

Protocol Object definitions – which is what EtherNet/IP uses - so we scroll down to that

and here is everything we need. Here are the services that are supported – all

the usual suspects. Here is where it tells me the only Class Attribute

supported is #1. They define all of their units here – that

will be handy in a minute. And here is the one EtherNet/IP position sensor

object and all of its attributes. Looks like we can ask it for the total number

of attributes, a list of which attributes are supported – notice they go from 1 to

2 then to 10, 11, 12 etc. so not all attributes are used here. We can get the current position and the type

of device; specify the counting direction, etc. There are lots of things we can do via EtherNet/IP

with an encoder. And remember – ALL Ethernet/IP encoders

use this same table of attributes, so code you write for this encoder will work on any

vendors EtherNet/IP encoder that supports these same attributes. And that’s one of the main advantages of

using EtherNet/IP – code portability and vendor independence. So let’s do an example or two. We have a Do-more at this IP Address going

into a Stride Ethernet switch, which goes to the EtherNet/IP encoder at this IP address. As always, we start with the configuration. EtherNet/IP doesn’t affect the CPU, the

I/O or the Module configuration. It does create a new device. And while we could use this built in EtherNet/IP

device, it is much better to create a separate new device for each piece of EtherNet/IP hardware. Otherwise one device will have to manage multiple

TCP/IP connections which can slow things down. Fortunately, it’s easy to create a new device. Click on NEW, select the EtherNet/IP Explicit

Client, Give it a name – we’ll call it “AMCI_Encoder.” And we’re done. That’s all there is to creating an EtherNet/IP

device. Now we just drag an EtherNet/IP explicit message

instruction into our code and fill in the blanks. Select our new AMCI_Encoder Device. Enter the encoder’s IP Address. The default port is fine. This device only has one class and Appendix

B tells us its Class 23 hex, so that goes here. There’s only one table so that’s going

ot be instance number one. And now we just pick which parameter – or

‘attribute’ – we want – how about the current position, which is attribute 0A

hex or 10 decimal. And that goes here. We’ll use these for our status bits and

D1 for the result and D2 for the number of bytes received. The value is a DINT which the appendix tells

us is 32 bits or 4-bytes of memory, so we put that here. That’s it. Let’s add a contact so we can activate this

instruction. Accept everything; write it out to the do-more. Add the contact and the result memory locations

to the Data View. Make sure the PLC is running, and toggle the

contact. Sure enough, the instruction was successful,

we got all 4 of the expected bytes and this is the value we got. I’ll rotate the encoder shaft and toggle

another read. And it changes. Perfect. Let’s add the ability to preset the encoder

value so we can set the encoders initial output to whatever we want. It’s very similar to what we just did, so

we’ll copy that and paste it here. Looks like the preset is attribute 19 – that

goes here - and we wat to set the attribute this time. We’ll use these for our status bits and

we’ll retrieve the present value from D0, which is 4 bytes long, so that’s fine. Perfect. Let’s toggle that on C101. Accept all; write it out to the Do-more. Let’s add our preset to the Dataview, along

with its control bit. Make sure we are running, rotate the encoder

a little and read the current value of the encoder. Now let’s set our preset at 100 and toggle

its control bit to write it to the encoder. Now toggle the current value bit and its right

where we expect it to be. And that’s all there is to talking to an

encoder – any EtherNet/IP enabled encoder – from the Do-more. Just pick the attribute you want from the

table in the manual, and the service you want and your in business. If you have any questions, please contact

AutomationDirect’s FREE award winning tech support during regular business hours – they

will be happy to help you with any AutomationDirect parts. The AMCI encoder isn’t an AutomationDirect

part so please don’t and ask them about that, but you can ask folks on the forums

– they love to share their years of experience! Just don’t post any questions directed at

AutomationDirect’s support staff there, they don’t monitor the forums on a regular

basis. Spend Less, Do More. With AutomationDrect.


Playlist Not Found Could not find playlist PLPdypWXY_ROoEcDCcD10Qdb3S9tOmfEn5

Playlist Not Found Could not find playlist PLPdypWXY_ROoJx-HnK9gj2Z5a-i7th-UK

Playlist Not Found Could not find playlist PLPdypWXY_ROqvbaYVBWc3kH-pP01fI4-E

Playlist Not Found Could not find playlist PLPdypWXY_ROr5OPw3e0o8rLC0JQijmCNY

Playlist Not Found Could not find playlist PLPdypWXY_ROrtSkGYNq8Xc52QWTCWf2Ci

Playlist Not Found Could not find playlist PLPdypWXY_ROrRJ5YuFYxs3mSXr9250AN7

Playlist Not Found Could not find playlist PLPdypWXY_ROqJO86ikigKmjnSkbguBKBw

Playlist Not Found Could not find playlist PLPdypWXY_ROqWWy8OnWGt3YD4Dald6uf-

Playlist Not Found Could not find playlist PLPdypWXY_ROrmjIdXLaeovoTLZP65hdac

Playlist Not Found Could not find playlist PLPdypWXY_ROoqTZihvX8c8UUj5GzVCuKH

Playlist Not Found Could not find playlist PLPdypWXY_ROr0ZfCV-fAgau5yDemA19CV

BRX Do-more PLCs - Motion Control & High Speed Inputs
  • Video
    BRX Do-more CTRIO2 Motion Demo Hardware from AutomationDirect
  • Video
    BRX Do-more CTRIO2 Motion Config & JOG from AutomationDirect
  • Video
    BRX Do-more CTRIO2 Motion Dynamic Motion from AutomationDirect
  • Video
    BRX Do-more CTRIO2 Motion Using Limits from AutomationDirect
  • Video
    BRX Do-more CTRIO2 Motion Trapezoid Moves from AutomationDirect
  • Video
    BRX Do-more CTRIO2 Motion Using Encoders from AutomationDirect
BRX Do-more PLCs - Hardware
  • Video
    How To Sense Temperature with a Do-more PLC from AutomationDirect
  • Video
    How To Detect Objects with an AutomationDirect Do-more PLC
  • Video
    AC Motor On/Off with Do-more PLC Part 1 from AutomationDirect
  • Video
    AC Motor On/Off with Do-more PLC Part 2 from AutomationDirect
  • Video
    How to Sense Distance with an AutomationDirect Do-more PLC
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„