AM3359 IndustrialCommunications Enginefor Industrial Automation

The Industrial Automation Quick Start Guide for the AM3359 Industrial Communications Engine (ICE) iscomprised of the following steps:
Hardware setup

Setup for EtherCAT Operation
Quick start instructions are provided below. For detailed instructions and troubleshooting, please referto www.ti.com/am335x_twincat.

• Choose “Yes” in response for “Scan forboxes”.

• Connect network cable between the PC andEtherCAT® port.

• Box n (TIESC-001) will be detected
automatically.

• Connect 24V to the board.

• Choose “Yes” in response for “ActivateFree Run”.

• Power up EVM (after the Software setup).
Software setup• Now select Device1 (EtherCAT) and go to
Actions > Select Set/Reset TwinCAT to Conﬁg Mode or use shortcut Shift-F4.

• Install TwinCAT (one-month evaluation isavailable for free download fromwww.beckhoff.de/tcatweb/twincat_download_e.aspx – select PLC mode for
installa-tion and check the I/O drivers box .

• A dialog will pop up asking Load I/O Devices.
Select Yes.

• Copy sdk\examples\ethercat\esi\TiEtherCATLib.xml to<Drive>:\TwinCAT\Io\EtherCAT folder.

• The next dialog asks for conﬁ rmation toActivate Free Run. Select Yes. This will put TI
ESC into OP mode.

• Start TwinCAT system manager.

• Now the user can control digital out LEDs
using TwinCAT. Select Box n (TIESC-001)>RxPDO > 32Bit Output. The LEDs arecontrolled by the least signiﬁ cant byte on the32-bit output. Open Online tab, and click theWrite button to control the LEDs.

• Go to Options > Show Real Time Ethernet
Compatible Devices and install the RT
Ethernet Adapter connected to the ICE.
• • Connect the CAT5 Ethernet cable from
TwinCAT PC to ECAT IN/Port0 (J2) of the ICE.
If you have multiple ICEs in a chain, pleaseconnect from ECAT OUT/Po

1

Connect the network cablebetween EtherCAT ports
and the PC with TwinCAT
installation.

2

Power ICE board with 24V
power supply. Once software
installation on the PC with
TwinCat has been completed,power up the board.

3

Observe the LEDs fora pattern to conﬁ rm
EtherCAT application
has started.

• Additional information is available atwww.ti.com/am335x_twincat.

• Go to I/O – Conﬁ guration > I/O Devices– right click and select Scan Device. You
will see a list of Ethernet adapters on yoursystem, with a tick next to the adapter connected to the ICE. Choose OK. Device n(EtherCAT) will be added to I/O devices.

4

Start TwinCat for the firsttime you need to deﬁ newhich Ethernet port will be
used as the EtherCAT port.

5

Select the ethernet port
from the list of compatible
devices, and press Install.
This will install a Beckhoff
EtherCAT driver. Once
installed, the Ethernet port
will show up as above.

23Texas Instruments

Texas Instruments

6

Right click on I/O devices
and select Scan Device;
Press OK in the next
dia-log to start scanningfor EtherCAT devices.

7

Once an EtherCat compatible device has been
detected on this Ethernet
port, the following dialog
shows up. Note that there
is a tick mark next to theadapter to which the ICE isconnected. Press OK, andconﬁ rm to start “Scan forboxes”.

10

Select 32-bit output
from RxPDO node.

Get Started

8

The TI device will be listed“Box n (TIESC-001)”. Press
Yes to activate Free Run.

11

Select online tab onthe right side panel andpress Write. Enter thevalue in hexadecimalformat, wher e each bit
in LSB represents an9Expand the box to see
Process Data Inputs (PDI)and Outputs (PDO).

12Changing the LED
value will set/clear
the appro-priate
LED.

Please visit www.ti.com/am3359ice2. Here you’ll ﬁ nd instructions to begin programming theAM3359 Industrial Communications Engine, detailed information and resources.
Important Notice: The products and services of Texas Instruments Incorporated and its subsidiaries described herein are sold subject to TI’s standard terms and conditions of sale. Customers are advised toobtain the most current and complete information about TI products and services before placing orders. TI assumes no liability for applications assistance, customer’s applications or product designs, software
performance, or infringement of patents. The publication of information regarding any other company’s products or services does not constitute TI’s approval, warranty or endorsement thereof.
Trademarks in this issue: The platform bar and Sitara are trademarks of Texas Instruments. All other trademarks are the property of their respective owners.
© 2018 Texas Instruments Incorporated
Printed in U.S.A.

4
Texas Instruments

SPRW231

IMPORTANT NOTICE FOR TI DESIGN INFORMATION AND RESOURCES
Texas Instruments Incorporated (‘TI”) technical, application or other design advice, services or information, including, but not limited to,reference designs and materials relating to evaluation modules, (collectively, “TI Resources”) are intended to assist designers who aredeveloping applications that incorporate TI products; by downloading, accessing or using any particular TI Resource in any way, you(individually or, if you are acting on behalf of a company, your company) agree to use it solely for this purpose and subject to the terms ofthis Notice.
TI’s provision of TI Resources does not expand or otherwise alter TI’s applicable published warranties or warranty disclaimers for TI
products, and no additional obligations or liabilities arise from TI providing such TI Resources. TI reserves the right to make corrections,enhancements, improvements and other changes to its TI Resources.
You understand and agree that you remain responsible for using your independent analysis, evaluation and judgment in designing yourapplications and that you have full and exclusive responsibility to assure the safety of your applications and compliance of your applications(and of all TI products used in or for your applications) with all applicable regulations, laws and other applicable requirements. You
represent that, with respect to your applications, you have all the necessary expertise to create and implement safeguards that (1)anticipate dangerous consequences of failures, (2) monitor failures and their consequences, and (3) lessen the likelihood of failures thatmight cause harm and take appropriate actions. You agree that prior to using or distributing any applications that include TI products, youwill thoroughly test such applications and the functionality of such TI products as used in such applications. TI has not conducted any
testing other than that specifically described in the published documentation for a particular TI Resource.
You are authorized to use, copy and modify any individual TI Resource only in connection with the development of applications that include
the TI product(s) identified in such TI Resource. NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE TOANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTYRIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right, orother intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
regarding or referencing third-party products or services does not constitute a license to use such products or services, or a warranty orendorsement thereof. Use of TI Resources may require a license from a third party under the patents or other intellectual property of thethird party, or a license from TI under the patents or other intellectual property of TI.
TI RESOURCES ARE PROVIDED “AS IS” AND WITH ALL FAULTS. TI DISCLAIMS ALL OTHER WARRANTIES OR
REPRESENTATIONS, EXPRESS OR IMPLIED, REGARDING TI RESOURCES OR USE THEREOF, INCLUDING BUT NOT LIMITED TO
ACCURACY OR COMPLETENESS, TITLE, ANY EPIDEMIC FAILURE WARRANTY AND ANY IMPLIED WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUALPROPERTY RIGHTS.
TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR INDEMNIFY YOU AGAINST ANY CLAIM, INCLUDING BUT NOTLIMITED TO ANY INFRINGEMENT CLAIM THAT RELATES TO OR IS BASED ON ANY COMBINATION OF PRODUCTS EVEN IFDESCRIBED IN TI RESOURCES OR OTHERWISE. IN NO EVENT SHALL TI BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL,COLLATERAL, INDIRECT, PUNITIVE, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES IN CONNECTION WITH OR
ARISING OUT OF TI RESOURCES OR USE THEREOF, AND REGARDLESS OF WHETHER TI HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
You agree to fully indemnify TI and its representatives against any damages, costs, losses, and/or liabilities arising out of your noncompliance with the terms and provisions of this Notice.
This Notice applies to TI Resources. Additional terms apply to the use and purchase of certain types of materials, TI products and services.
These include; without limitation, TI’s standard terms for semiconductor products http://www.ti.com/sc/docs/stdterms.htm), evaluation
modules, and samples (http://www.ti.com/sc/docs/sampterms.htm).

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2018, Texas Instruments Incorporated