Task; Procedure; Setting Up A Target System - Eaton XC200 Series User Manual

Modular plc
Table of Contents

Advertisement

10/10 MN05003004Z-EN
6 Creating a sample project
The following example aims to help you learn how to use the
easySoft CoDeSys software. You create a project by creating a
configuration and a program. You can then test out the project
after it has been downloaded.
The configuration is created in the easySoft CoDeSys configuration
editor. A distinction is made between local and central I/Os:
The local (digital) inputs and outputs are integral parts of the CPU
module, implemented on the power supply board. They are
already pre-configured in the configuration editor.
The central inputs/outputs are implemented in the signal modules,
which can be joined up via the module rack. Configure them to suit
the requirements of the application. The available XI/OC signal
modules can be used.
Connect appropriate CANopen fieldbus participants to the
CANopen interface.
The basis for the configuration is the following hardware layout.
%IX0.0
%QX0.3
Figure 60: Hardware layout for the sample project
%IX2.7

Task

Make a logical AND linkage of inputs I0.0 and I2.7 on the XC100.
The result of this logical operation should be presented at output
Q0.3.
The second step is to read in the inputs/generate the outputs,
using a CAN Master.
Activate the appropriate CAN libraries before linking the CAN
Master [VAR] module into the controller configuration. This
sequence will not take place automatically, but must be explicitly
carried out by the user.

Procedure

Setting up a target system

After starting easySoft CoDeSys, create a new file:
Select the menu item ‹File r New›.
X
Answer the query about saving the old project.
X
Figure 61: Save old project?
Select the target system. In the example, the system XC-CPU101-
C64K-8DI-6DO has been selected.
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xc100Xc100-fc

Table of Contents