EasyManua.ls Logo

IFM Electronic Ecomat Mobile Series User Manual

IFM Electronic Ecomat Mobile Series
298 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
System Manual
SmartController
CR2500
CoDeSys
®
V2.3
Target V05
7390675 / 00 10 / 2009

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the IFM Electronic Ecomat Mobile Series and is the answer not in the manual?

IFM Electronic Ecomat Mobile Series Specifications

General IconGeneral
Operating temperature-40...85 °C
Protection classIP 67
Shock resistance50 g
EMCEN 61000-6-2, EN 61000-6-4
CAN busCAN
Number of CAN channels1
Number of analog outputs0
ProgrammingCODESYS V3
Communication InterfaceCAN
Supply voltage9 - 32 V DC

Summary

About this manual

What do the symbols and formats mean?

Explains the meaning of symbols and pictograms used for remarks in the manual.

How is this manual structured?

Describes the manual's structure, intended for beginners and advanced users.

Safety instructions

General

Provides general safety warnings, responsibilities, and adherence to technical data.

What previous knowledge is required?

Outlines the necessary knowledge of control technology and PLC programming for users.

System description

Information concerning the device

Describes the ecomatmobile controller family, focusing on the SmartController CR2500.

Information concerning the software

Details the CoDeSys software version and required function libraries for controller operation.

PLC configuration

Discusses the PLC system concept and the need to verify hardware availability for functions.

Configurations

Set up programming system

Covers setting up the programming system, including target selection and file installation.

Function configuration of the inputs and outputs

Explains configuring digital and analogue inputs/outputs and diagnostic functions.

Hints to wiring diagrams

Provides abbreviations and explains input/output channel allocation to IEC addresses and terminals.

Operating states and operating system

Operating states

Describes the five possible operating states of the controller after power-on.

Status LED

Explains the meaning of the integrated status LED colours and flashing frequencies.

Load the operating system

Details the process of loading the controller's operating system, including version requirements.

Operating modes

Explains how the controller can operate in different modes, configurable via software.

Error codes and diagnostic information

Response to the system error

Explains how the operating system checks for errors and the meaning of various error flags.

Programming and system resources

Above-average stress

Identifies functions that utilize system resources heavily and impact controller performance.

Limits of the SmartController

Details performance limits and reference values for functions, considering controller capabilities.

Watchdog behaviour

Explains the watchdog function that monitors program runtime and triggers resets on timeouts.

Available memory

Lists the available physical and logical memory types and their capacities.

Program creation and download in the PLC

Describes the process of creating and downloading application programs to the controller.

CAN in the ecomatmobile controller

General about CAN

Introduces the CAN bus system, its development, and basic principles.

Topology

Explains different CAN network topologies like line, ring, and star, with their advantages/disadvantages.

CAN interfaces

Describes the available CAN interfaces and their potential uses with various functions and protocols.

System configuration

Details system configuration related to download identifiers and unique network addressing.

Exchange of CAN data

Explains how CAN data is exchanged via the CAN protocol and data objects.

CAN-ID

Discusses CAN identifiers (base and extended) and their availability for data transfer.

Data reception

Explains how received data objects are stored in a buffer and processed via CANx_RECEIVE.

Data transmission

Describes the process of transmitting CAN messages using the CANx_TRANSMIT function.

Physical connection of CAN

Covers the physical connection of CAN participants according to ISO 11898 standards.

Network structure

Details the standard linear network structure for CAN and the need for terminating resistors.

Bus level

Explains the recessive and dominant states of the CAN bus and how they are converted to voltages.

Bus cable length

Provides guidance on bus cable length dependencies on baud rate and other factors.

Wire cross-sections

Details recommended wire cross-sections for CAN network layout based on cable length and node count.

Software for CAN and CANopen

Discusses using CAN communication functions and activating CANopen mode via CoDeSys.

CAN errors and error handling

Explains CAN error mechanisms, goals, and how the controller handles errors.

Error message

Describes how bus participants detect and transmit error flags to ensure data uniformity.

Error counter

Explains the integrated transmit/receive error counters and their role in identifying faulty participants.

Participant, error active

Details the behavior of a participant in the 'error active' state during bus communication.

Participant, error passive

Describes the behavior of a participant in the 'error passive' state and informs about warnings.

Participant, bus off

Explains the 'bus off' state and how the CANx_BUSOFF flag is set.

Description of the CAN functions

Provides descriptions of various CAN functions used in application programming.

Function CAN1_BAUDRATE

Explains how to set the transmission rate for the CAN bus participant using CAN1_BAUDRATE.

Function CAN1_DOWNLOADID

Details setting the communication identifier for program download and debugging using CAN1_DOWNLOADID.

Function CAN1_EXT

Describes the initialization of the first CAN interface for extended identifiers (29 bits).

Function CAN1_EXT_TRANSMIT

Explains how to transfer CAN data objects (messages) for transmission using CAN1_EXT_TRANSMIT.

Function CAN1_EXT_RECEIVE

Details configuring a data receive object and reading the receive buffer using CAN1_EXT_RECEIVE.

Function CAN1_EXT_ERRORHANDLER

Provides an error routine for monitoring the first CAN interface and evaluating CAN errors.

Function CAN2

Describes the initialization of the second CAN interface for devices that support it.

Function CANx_TRANSMIT

Explains the transmission of CAN data objects (messages) to the CAN controller for transmission.

Function CANx_RECEIVE

Details configuring a data receive object and reading the receive buffer from the data object.

Function CANx_RECEIVE_RANGE

Describes configuring a sequence of data receive objects and reading their receive buffers.

Function CANx_EXT_RECEIVE_ALL

Explains configuring all data receive objects and reading their receive buffers.

Function CANx_ERRORHANDLER

Provides an error routine for monitoring CAN interfaces and evaluating CAN errors.

ifm CANopen library

Introduces the ifm CANopen library for configuring CANopen networks and handling errors.

CANopen support by CoDeSys

Provides general information about CANopen support integrated within the CoDeSys programming system.

CANopen master

Differentiates the ifm CANopen library and lists supported CANopen functions for master operation.

Start-up of the network without [Automatic startup]

Explains how to manually start CANopen slaves when automatic startup is deactivated.

CAN device

Describes the CAN device (slave) functionality and its integration into a CANopen network.

CAN network variables

Explains the use of network variables for data exchange between controllers via CAN and UDP.

Information on the EMCY and error codes

Details the structure of EMCY messages and the meaning of CANopen error codes.

Library for the CANopen master

Introduces the ifm CANopen master library and its functions for CANopen master operation.

Library for the CANopen slave

Introduces the ifm CANopen slave library and its functions for CANopen slave operation.

Further ifm libraries for CANopen

Presents additional ifm functions that serve as sensible additions for CANopen communication.

PWM in the ecomatmobile controller

PWM signal processing

Explains the principle of pulse width modulation and its application in controller outputs.

Current control with PWM

Describes measuring and processing current on PWM outputs for further adjustments.

Hydraulic control in PWM

Details special functions for controlling hydraulic systems using PWM, focusing on current regulation.

Controller functions in the ecomatmobile controller

General

Explains the general process of controlling a system by detecting and influencing control variables.

Setting rule for a controller

Describes the procedure for setting controller parameters like KP, TN, and TV for closed-loop control.

Functions for controllers

Details functions provided for setting up software controllers and developing custom control functions.

Annex

Address assignment and I/O operating modes

Details I/O variable addresses, configuration, and possible operating modes for inputs and outputs.

System flags

Lists and explains system flags used for functions like CAN communication and error handling.

Overview of the files and libraries used

Provides an overview of files, libraries, and their availability for different controller units.