Sample Program

Sample Program 1:

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 examples. 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 document at any time and accept no responsibility for errors and missing information.

Sample Program 2: Download sample program

In this example program an EL3356 is addressed by a PLC program. The Zip-file contains the PLC *.pro and the System Manager *.tsm.

The terminal can be operated via simple visualisation; the function InputFreeze is programmed out by way of example.

Sample Program 3:
Use of the example program

The EL3356 terminal is to be connected as shown below:

Sample Program 4:
Connection of the load sensor/full bridge

An EL9510 power supply terminal is used here to feed the strain gauge with 10 V.

Procedure for starting the program

Sample Program 5:
Searching the Ethernet adapter
Sample Program 6:
Selection and confirmation of the Ethernet adapter
Sample Program 7:
Activation of the configuration
Sample Program 8:
Confirming the activation of the configuration
Sample Program 9:
Generating variable mapping
Sample Program 10:
Restarting TwinCAT in RUN mode
Sample Program 12:
Confirming program start