EasyManuals Logo
Home>Beckhoff>I/O Systems>EtherCAT EL600x Series

Beckhoff EtherCAT EL600x Series User Manual

Beckhoff EtherCAT EL600x Series
204 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #136 background imageLoading...
Page #136 background image
Commissioning
EL600x, EL602x136 Version: 4.6
5.8 Example programs
Using the sample programs
This document contains sample applications of our products for certain areas of application. The
application notes provided here are based on typical features of our products and only serve as ex-
amples. The notes contained in this document explicitly do not refer to specific applications. The
customer is therefore responsible for assessing and deciding whether the product is suitable for a
particular application. We accept no responsibility for the completeness and correctness of the
source code contained in this document. We reserve the right to modify the content of this docu-
ment at any time and accept no responsibility for errors and missing information.
5.8.1 Sample program 1
https://infosys.beckhoff.com/content/1033/el600x_el602x/Resources/zip/1719190795.zip
Connection of a serial bar code scanner
In this example a bar code reader is connected to the EL6001. Characters will be read by the reader until the
ASCII character 0x0D (13
dec
, CR) is received.
Data:
Quick task for executing the serial communication: 1 ms cycle time
Standard PLC task: 10 ms cycle time
Barcode scanner on channel 1
TwinCAT 2.11 required
“TwinCAT PLC Serial Communication” supplement is required
A detailed description for the use of the serial communication library is stored in the Beckhoff Information
System.
Beckhoff Information System -> TwinCAT -> TwinCAT PLC -> TwinCAT libraries for PC-based systems ->
TwinCAT PLC Library : Serial communication
Starting the example program
The application examples have been tested with a test configuration and are described accordingly.
Certain deviations when setting up actual applications are possible.
The following hardware and software were used for the test configuration:
TwinCAT master PC with Windows XP Professional SP 3, TwinCAT version 2.11 (Build 1528) and
INTEL PRO/100 VE Ethernet adapter
Beckhoff EK1100 EtherCAT coupler, EL6001 terminals
Serial barcode scanner with 9-pole sub-D connector
Procedure for starting the program
After clicking the Download button, save the zip file locally on your hard disk, and unzip the *.TSM
(configuration) and the *.PRO (PLC program) files into a temporary working folder
Run the *.TSM file and the *.PRO file; the TwinCAT System Manager and TwinCAT PLC will open
Connect the hardware in accordance with fig. 1 and connect the Ethernet adapter of your PC to the
EtherCAT coupler (further information on this can be found in the corresponding coupler manuals)
Select the local Ethernet adapter (with real-time driver, if one) under System configuration, I/O
configuration, I/O devices, Device (EtherCAT); on the “Adapter” tab choose “Search...”, select the
appropriate adapter and confirm (see Fig. 2a + 2b)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Beckhoff EtherCAT EL600x Series and is the answer not in the manual?

Beckhoff EtherCAT EL600x Series Specifications

General IconGeneral
BrandBeckhoff
ModelEtherCAT EL600x Series
CategoryI/O Systems
LanguageEnglish

Related product manuals