0% found this document useful (0 votes)
997 views30 pages

GetStarted Ecomatdisplay English

The document is a product guide for the CR1077 Programmable Graphic Display, detailing its features, mechanical design, and setup instructions. It includes information on wiring, connecting to a PC, installing CODESYS, and creating visualizations, as well as references for further assistance. The display is designed for rugged environments, offering high protection ratings and programmability via CODESYS software.

Uploaded by

Renato Jesus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
997 views30 pages

GetStarted Ecomatdisplay English

The document is a product guide for the CR1077 Programmable Graphic Display, detailing its features, mechanical design, and setup instructions. It includes information on wiring, connecting to a PC, installing CODESYS, and creating visualizations, as well as references for further assistance. The display is designed for rugged environments, offering high protection ratings and programmability via CODESYS software.

Uploaded by

Renato Jesus
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

Ifm Vehicle Application Product Guide (CR1077 Display) Rev0

ifm Vehicle Application


Product Guide

CR1077 Programmable Graphic Display

Table of Contents

Content Page

Programmable graphic display CR1077 2

Details 3

Wiring 4

Setup 7

Connecting CR1077 to a PC 8

Installing CODESYS 11

Installing a Package 16

Loading a Template Project 18

Libraries 21

Making additional changes to the Template 24

Creating a new Visualization 27

Saving a Project 32

References 33
Programmable graphic display CR1077

Made for rough environment


The new dialogue modules have been developed for use in cabins and outside vehicles.
Thanks to a high protection rating and optical bonding they are optimally protected
against moisture. They withstand strong impacts and permanent vibrations as well as
extreme ambient temperatures. The high-resolution RGB LED panels offer optimum
readability even in a bright environment. For operation the displays have freely
programmable buttons (5" and 7" versions) or optionally a capacitive touch screen. The
integrated powerful PLC can perform visualization and operation tasks. It is freely
programmable via CODESYS. Numerous interfaces at the back of the device, e.g. CAN,
analogue video, USB 2.0 and Ethernet offer maximum connectivity.
Mechanical design
The displays have a sealed diecast aluminium housing with the protection rating IP 65, IP
67. For connection sealed M12 connections and a 40-pole AMP connector are used. The
displays can be used as surface mount device using the tried-and-tested RAM mount
system or can be mounted in a wall. Depending on the requirement, the displays can be
installed in any orientation.
Powerful Electronics
The integrated 64-bit controller allows a powerful presentation of the high-resolution
graphics, processing of the application program and the device functions. Furthermore,
there are many opportunities with regard to communication and networking with other
systems and networks. With the integrated real-time clock it is possible to give log data a
time stamp for better traceability.
Audio
The display has extensive audio functions. They can be used to provide acoustic and
voice messages.
Programming to IEC 61131-3
The CODESYS software enables a clear and easy creation of the application software.
The graphic elements are created via the integrated visualisation editor and can, for
example, be selected via the buttons or the optional touch function.

2
Details

USB 0
USB 1

Supply
inputs/outputs
audio
CAN
ifm Service pins

mounting options
pressure compensation
element Ethernet 0
Ethernet 1

Equipment configuration
Manufacturer Device Model Version, Remarks

- PC - OS : Windows 10 Pro
ifm Ecomat CR1077 Display CR1077
electronics Display LAN cable with M12 Connector (E12490)
24V DC e.g. Not included
Power DN4013
Supply
User Manual - https://www.ifm.com/mounting/80289589UK.
pdf

3
Wiring
*** If using the E70450 - connect the M12 male cable to an M12 female with flying lead. Pin 1 (brown) - 24
V DC and pin 3 (blue) - 0 V DC. E70451 has 2 leads; brown - 24 V DC; blue - 0 V DC ***

1 Connecting CR1077 to wire harness


- Make sure, the plugs locking mechanism is pulled out completely

Pull
- Push the plug in the receptacle of the CR1077 until you feel resistance
- Push the locking mechanism inwards, the plug will move downwards a little more

Removing the Plug


Push Locked
- Pull the plugs locking mechanism completely out (due to the tight fit of the rubber
seals it might require some force)
- Pull out the plug
*** Using the E70450 - connect the M12 male cable to an M12 female with flying lead. Pin 1 (brown) - 24V
DC and pin 3 (blue) - 0 V DC. E70451 has 2 leads; brown - 24 V DC; blue -

4
IP address configuration
Device IP address Sub-Net Mask
PC 192.168.82.100 255.255.255.0
Gateway (default) 192.168.82.21
CR1077 (default) 192.168.82.247

References
Manufacturer Name Reference / Remarks
3S-Smart CODESYS Online Help https://help.codesys.com/
Software
Solutions GmbH
ifm electronic CR1077 Display https://www.ifm.com/de/en/product/CR1077

5
Setup
1 Turning on the CR1077
Wire the CR1077 as shown below. Connect the LAN cable to the PC and the 24V DC Supply to the
Display.

I/O and Power


interface

Ethernet

Power Supply

* In this case the CR1077 is mounted on a test rack, the power supply may also be connected to the
I/O and power interface as shown on page 4
2 Download Firmware and CODESYS Package
1) Search for CR1077 or go to
https://www.ifm.com/de/en/product/CR1077

2) Scroll down and go to


section “Downloads“.

3) Navigate to “Software
Download“ and click on the
link “Further Software (Tools)“

4) Go to “3.4 ecomatDisplay“ and


click “Download“.
You have to be
signed in to be
able to download
software.

5) Save the Zip-file to a convenient folder and extract it after download is finished.

6
Connecting CR1077 to a PC
Follow the steps below to connect CR1077 and PC via Ethernet

1 Setting the IP address of your PC to match IP domain of CR (192.168.82.247)


6 Loading Firmware to CR1077

*A complete manual can be found in the Zip-file with the firmware


- Turn on your power supply.
- Press and hold three keypad keys in any
order of the CR1077 while powering up.
- The Recovery App is displayed on the CR1077

7 - Make sure that the CR1077 is connected to your PC and the IP address is set
correctly.
- Open a browser and enter the URL: http://192.168.82.247:8080/
- Press the “enter” key. The Recovery App is displayed in your browser.

7
8 - Click in the center or use “drag and drop” to select and move a firmware
version of type “*.swu” to the Recovery App.
- Update will start automatically after a few seconds.
- Restart the CR1077 by clicking the “Restart” button after the update has
finished.

8
Installing CODESYS
1 Install CODESYS V3.5 SP16 Patch4

- You can download CODESYS from Codesys


website
(https://us.store.codesys.com/codesys.html)

- Go to “1.2 CODESYS V3.5” and download


“CODESYS V3.5 SP16 Patch4” to a convenient
folder. Afterwards, unzip the folder.

9
2 Starting CODESYS
- Double click on the
“CODESYS V3.5 SP16 Patch 4”
icon on your desktop.
CODESYS will start

3 - CODESYS will greet you with this screen.

10
Installing a Package
To use the CR1077, CODESYS needs the ecomatDisplay Package by ifm.

1 - Open the Package Manager by clicking on “Tools” in the control column.

- Click “Install” on the Package Manager screen menu


- Browse to your unzipped folder containing the Package
- Select the “ifm_ecoSys_Lx_64bit_V2.2.5.0” Package
- Click “Open”

2 - Accept the general terms and click “Next”

3 - Select “Complete Setup” and click “Next”

11
4 - Click “Finish” to exit the installation.

5 - The Package Manager should look like this.

- After adding a package, restart CODESYS. Do so, by


clicking “File” and “Exit” in the menu.

12
Loading a Template Project
1 - Open CODESYS by double clicking on the icon on the desktop.
- Go to “File” → “New Projekt”.
- Select “ecomatDisplay”. A selection of template programs will
be displayed.
-Chose the 7 inch version
- Enter a name for the program (you can leave the standard
name, but for better orientation with multiple programs, a
distinct name is recommended)
- Chose a location for saving the program
- When done, click “OK” (creating can take a few seconds)

2 - The program should look as shown on the right


- Double click on “Device”, to get to
“Communication Settings”

13
3 - **Click Launch Application on the screen of the CR display **
- Click “Scan Network”, to find the connected CR1077

4 - The “Select Device” screen appears


- Click “Scan Network”
- Select the CR1077
- Click “OK”

- The green dot next to the


device indicates an active
connection. Additional
information is shown below

14
5 - Click “Login” to load the program to the CR1077

- If the following message appears, click “Yes”

- The program is now loaded to the CR1077, but the PLC is still in STOP mode
Press “RUN” to switch to RUN mode

6 - The following visualization should appear on the display of CR1077

15
Libraries
Libraries contain pre coded function blocks of frequently used functions to make coding faster and easier.

1 - Open the Library Manager by double


clicking
- Library Manager shows available
libraries
- To see the contents of the
“ifm_ecomatDisplay_Cnt” library,
click on the “+” sign

2
- To access the submenus, click on
any (not the “+” icon) and it will
show in the area below
- Click the “+” icon to expand the
contents of the “Device library”

16
3 - Navigate to “Status LED” by using the “+” icons and click on “SetStatusLEDstate”

- In the right area, additional information is displayed (list of inputs and outputs, a graphical
description, detailed written documentation)
- Information about any pre defined functions/function blocks supplied by ifm can be found here

4 Calling a pre defined Function Block


- Right click in your desired PRG and click “Input
Assistant” or press “F2”, to open the Input Assistant

- Navigate to
“SetStatusLEDstate” as you
did in the Library Manager
- Double click on
“SetStatusLEDstate”

17
5 - The “Auto Declare” window will show up
- If not already manually done, you can declare the variable for the called function and
click “OK”

6 - The “fbStatusLED” will be declared in the local variable table and automatically be called in the
PRG

- Set the inputs/outputs according to the


description in the “Library Manager”

- The LED will alternately flash yellow


and blue at 2Hz
- A list of possible frequencies can be
found by clicking on the link in the
“Documentation” of the function
block
- A list of basic colors can be found at
the “Library Manager” in the “Global
Constants” folder

18
Making additional changes to the Template
This shows a few examples of possible functions for the CR1077.

1 - Right click on “Application” → “Add


Object” → “POU”
(a Program Organization Unit contains
the code of a program. Multiple POUs
can help getting a better structure for
the entire program. All POUs must be
run in the main POU (PLC_PRG))

- Name the new POU (e.g.


ADD_FCT)
- Chose e.g. “Structured
Text” as Implementation
language
- Click “Add”

2 Using the Light Sensor


- Declare a variable for the light value
- Call the provided function block for
getting the light value from the sensor

uiLightValue : UINT;
fbLight : ifmDevice.GetLightSensorCyclic;

fbLight(xEnable:=TRUE,
xError=> ,
eDiagInfo=> ,
uiAmbientLight=>uiLightValue);

19
3 - Double click on “PLC_PRG”

- Right click in the


program next to a
function block and
select “Insert Network
(below)”

- Right click in the newly


created network and
select “Insert Box”

4 - The “Input Assistant”


appears. Select the POU you
want to add (e.g. ADD_FCT)

- Click “OK”

- The POU is now added to


the PLC_PRG and will run

20
5 - Click “Login” again
- The changes have to be transferred
to the CR1077. Chose “Online
Change” for minor adjustments. For
some cases it doesn’t work. Then
use “Login with download”. The
whole program will be loaded again.

6 If in RUN mode, the current light value


is displayed in CODESYS.
If you cover the sensor, which is
located in the top left corner of the
CR1077, the value will drop.
Light sensor location

7 The light sensor can be


used to control the display
brightness of the CR1077.
Example on the right

21
Creating a new Visualization

1 - Right click on
“Application” → “Add
Object” →
“Visualization”
- Name the new
visualization
- Click “Add”

2
The blank area indicates
the space used on the
CR1077 Display
- Right click and chose
“Background”
- Select a color and click
“OK”

22
3 - Go to the “Visualization Toolbox”
by finding the tab in the right
bottom corner of your display and
chose a rectangle
- Drag and Drop it into your
visualization
- Enter “%s” in the Box

4 - Go to “Properties” → “Text variables”


- Enter the path to the “ambient light value”
- Add another rectangle with the text: “Ambient Light
Value” and place it to the left.
In the “Properties” menu it is also possible to change fill
color of the rectangles, font color and alignments, as well
as many other settings.

23
Changing between Visualizations
Changing between visualizations can be done in three different ways:
• Using “Hotkey Configuration” (simple, only for set number of keys)
• Using “Input Configuration” (simple, for any keys)
• Using variables (advanced, for more complex programs)

1 Hotkey Configuration
- Select the “Visu_Default” on the left by double click
- Switch to “Hotkeys Configuration” tab

- Double click in the first free field below “Key”, click on


the arrow and select your desired key by using the
scrollbar on the right
- Check the checkbox below “Key down”. The
visualization will change as you press the key
- Double click in the field below “Action type”, click on
the arrow and select “Change shown visualization”
- Next to the “Action” field a flash shows up → double
click in the field
- Click “…”
- The “Input Assistant” shows up → select
the desired visualization, in this case “Visu_FTC”, and
click “OK”

- The result should look like this

- After loading the changes to the CR1077, the new visualization should be shown after pressing F5

24
2 Input Configuration
- Add a Button to the visualization from the
“Visualization ToolBox” on the right
- Click on the added button to open the Properties
on the right
- Click on the “+” Symbol in front of “Input
configuration” → go to “OnMouseDown”→ Click
“Configure…”

4 - The “Input Configuration”


window shows
- Select “Change shown
visualization”
- Click on “>”
- Click on the “Change shown
visualization” that shows up in
the right field
- Click on “…” next to “Assign”
- Chose the visualization to be
shown
- Click “OK”
- After loading the changes to the
CR1077, the new visualization
should be shown after pressing
the Button

25
5 Using Variables in a separate POU
- This can also be done, by only using the F5 key and
not creating a button (skip to No. 7)
- Add a Button to the visualization from the
“Visualization ToolBox” on the right
- Click on the added button to open the Properties
on the right
- Click on the “+” Symbol in front of “Input
configuration” → click on “+” in front of “Tap”→
double click in the field next to “Variable” and click
on “…”

6 - The “Input Assistant” pops up


- Navigate to “xF5”, click it and click “OK”
- The button now has the same function as the F5 key
Also, the button can be set to a user defined variable
that is used to change visualizations. The F5 key is
just an example.

7 - Create a new POU called “ADD_VISU”. It stores the orders to change between visualizations.
The keys of the Keypad are listed globally, so they can be used in any POU without any declaration

26
Saving a Project
Normally, programs are stored in multiple files, making it difficult to use on other computers.
Here is the procedure to save it in one file (Archive) and make it easy to use on other computers.

1 Save as Archive
- Click “File” → “Project Archive” → “Save/Send Archive”

- Select the items to save on the “Project


Archive” screen and click “Save”

- Chose memory location and file name


on the "Save Project Archive" screen,
and click "Save"

2 Open an Archive
- Menu "File" → "Project Archive" → "Extract Archive"
Select a file on the “Extract Archive” screen and click “Open”
- Select (all) items on the “Extract Project Archive” screen and
click “Extract”

- If the environment doesn’t change, check “Apply to…”


and click “No”. If you want to open a project exactly as
it was, click “YES”. (personal preferences will be
overwritten) The program will be restored.

27
EthernetIP_Scanner from SP15 to SP16 causes out of retain memory build error - see image below

To fix the error: ignore the CIP_RETAIN_SUPPORTED directive because CR only has Persistent memory and not
retain

28
29
References
Videos

How to: Install of CoDeSys 3.5 and Packages for ifm ecomatController
https://www.youtube.com/watch?v=GFkA4E1R4aQ
Step by step tutorial on how to install ecomatController's CoDeSys 3.5 and packages.

Still Working 2 – Crushin’


https://www.youtube.com/watch?v=MO5bLNvESb8
Find out how ifm products can withstand the rugged terrain of Australia.

30

You might also like