Nothing Special   »   [go: up one dir, main page]

IFM Profinet

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

RM30xx ProfiNet

Brief instructions
efector400

706415_UK.doc 706415/00 Page 1 of15 © ifm


efector gmbh
Contents
The description may contain deviations from the user system, because different
manufacturers or software versions may require different installations!
The description was created based on Siemens S7 version V5.4 + SP4.

1  Installation ................................................................................................................................. 3 
1.1  Software ................................................................................................................................... 3 
1.2  Hardware ................................................................................................................................. 5 
2  Setting the encoder function: .................................................................................................. 6 
2.1  Selection of the correct encoder: ............................................................................................. 6 
2.2  Multiturn encoder ifm Telegram 860 (standard): ..................................................................... 7 
3  Setting of the measuring units (measuring range):............................................................... 8 
3.1  Setting examples ..................................................................................................................... 9 
3.2  Setting examples with high and low word.............................................................................. 10 
4  List of variables, reset and preset ......................................................................................... 11 
4.1  Display variables .................................................................................................................... 11 
4.2  Reset:..................................................................................................................................... 12 
4.3  Preset:.................................................................................................................................... 12 
5  View in TiA portal .................................................................................................................... 13 
5.1  Installation .............................................................................................................................. 13 
5.2  Setting the encoder function .................................................................................................. 14 
5.3  List of variables, reset and preset: ......................................................................................... 14 
6  Other: ........................................................................................................................................ 15 

Safety instructions
 Please read the product description prior to set-up of the unit. Ensure that the product is suitable for
your application without any restrictions.
 The unit complies with the relevant regulations and EC directives.
 Improper or non-intended use may lead to malfunctions of the unit or to unwanted effects in your
application.
 That is why installation, electrical connection, set-up, operation and maintenance of the unit must be
carried out by qualified personnel authorised by the machine operator.

706415_UK.doc 706415/00 Page 2 of15 © ifm


efector gmbh
1 Installation

1.1 Software

1. Download the GSD file from www.ifm.com => Article => [More information] => [Software
download] => Device master data (GSD) file
Example: RM3011 gsdml file

2. Extras => Administer GSD => Install GSDML

3. Additional Field Devices => Encoder, select ifm Encoder (see chapter 2)

Standard (optional): for controllers which support the IRT* function.


Standard, no PDEV: for controllers which do not support the IRT* function

*IRT = Isochronous Real Time (frequency rate <1ms; jitter accuracy 1µs)

706415_UK.doc 706415/00 Page 3 of15 © ifm


efector gmbh
4. Drag the encoder into the project and assign a device name and address

5. Assign device name

6. Parameter setting of the encoder (see chapter 3)

7. Set the requested variables (see chapter 4)

706415_UK.doc 706415/00 Page 4 of15 © ifm


efector gmbh
1.2 Hardware

Overview and connection

Port 1: Communication to the encoder

Power: Voltage supply

Port 2: Communication to further field devices

706415_UK.doc 706415/00 Page 5 of15 © ifm


efector gmbh
2 Setting the encoder function:

2.1 Selection of the correct encoder:

Standard (optional): for controllers which support the IRT* function.

Singleturn: 8192 signals


Multiturn: 8192 signals x 4096 revolutions

Standard, no PDEV: for controllers which do not support the IRT* function

Singleturn: 8192 signals


Multiturn: 8192 signals x 4096 revolutions

For detailed information see operating instructions

Hardware catalogue :

706415_UK.doc 706415/00 Page 6 of15 © ifm


efector gmbh
2.2 Multiturn encoder ifm Telegram 860 (standard):

Configuration (HW Config) => Properties Module Access Point => Parameter setting

Setting options:

Code sequence: Counterclockwise / clockwise

Class 4 functionality: Enable / disable

Scaling function control: Enable scaling / disable scaling

Measuring units per rev.: 8192 (factory setting)

Total measuring range: 33554432 (factory setting)

706415_UK.doc 706415/00 Page 7 of15 © ifm


efector gmbh
3 Setting of the measuring units (measuring range):

Simplified representation:

Measuring units per rev.


Standard: 8192

Revolutions
Standard: 4096

The resolution per revolution are the pulses which are provided for a revolution. The
revolutions are the further pulses for another entire revolution.

Example: 8192 x 2 revolutions = total: 16384


(1,2,…8192, 8193,…16383, 16384,1,2,…)

Input of the figures:


Maximum units:

8192 units x 4096 revolutions => total measuring range 33 554 432
The revolutions must never be more than 4096, therefore the number of total measuring units
is irrelevant.

Example:
7096 units x 2048 revolutions = 14 532 608 total measuring range => OK.
196 units x 4097 revolutions = 803 012 total measuring range => not OK.

Integers:

Only integer values may be entered.


Example:
8192 units x 2.5 revolutions = 20 480 total measuring range => not OK.

706415_UK.doc 706415/00 Page 8 of15 © ifm


efector gmbh
3.1 Setting examples

The value for the resolution (pulses for a revolution) must be entered for measuring units per
revolution:

The total measuring range must be calculated.


Example.: 2000 pulses x 9 revolutions = 18 000

Standard: Scaling function disabled

Resolution per revolution 8192 x revolutions 4096 = total measuring range 33 554 432

100 units x 2 revolutions (total measuring range 200):

360 units x 1 revolution (total measuring range 360 singleturn):

706415_UK.doc 706415/00 Page 9 of15 © ifm


efector gmbh
3.2 Setting examples with high and low word

For some controllers the value for the total measuring range must be converted to a high
word and a low word.

Standard setting 8192 units x 4096 revolutions:

 
 

8192 units x 4096 revolutions => total measuring range 33 554 432

total measuring range 33 554 432 in hex => 0200 0000 hex
high word 0200 hex in decimal => 512
low word 0000 hex in decimal => 0

200 units x 24 revolutions - enable scaling:

200 units x 24 revolutions => total measuring range 4800

total measuring range 4800 in hex => 0000 12C0 hex


high word 0000 hex in decimal => 0
low word 12C0 hex in decimal => 4800

200 units x 1 revolution - enable scaling:

200 units x 1 revolution => total measuring range 200

total measuring range 200 in hex => 0000 00C8 hex


high word 0000 hex in decimal => 0
low word 00C8 hex in decimal     => 200

706415_UK.doc 706415/00 Page 10 of15 © ifm


efector gmbh
4 List of variables, reset and preset

4.1 Display variables

Simatic Manager => CPU 315-2 (select) TAB  PLC => Monitor/control variable

Display measured value:

Operand ED 100 (for set input address 100...103), display format DEC, and monitor
variables.
Attention: When the properties are changed, a reset must be carried out to display
the current value.

706415_UK.doc 706415/00 Page 11 of15 © ifm


efector gmbh
4.2 Reset:

Operand AD 100 (for set E address 100...103), display format HEX, enter 8 at the
first position in the control value (DW = Double Word) for a value change.
Only a change of the status value from 0 to 8 is detected; no value change is carried
out when the status value of 8 remains 8.
(Attention! Only to be carried out when the encoder is standing still)

Example reset:

OPERAND DISPLAY FORMAT STATUS VALUE CONTROL


VALUE
ED 100 Dec.. L#5120
AD 100 Hex.: DW#0000 0000 8000 0000

OPERAND DISPLAY FORMAT STATUS VALUE CONTROL


VALUE
ED 100 Dec.. L#0
AD 100 Hex.: DW#8000 0000 8000 0000

4.3 Preset:
Operand AD 100 (for set E address 100...103), display format HEX, enter 8 at the
first position in the control value (DW = Double Word) for a value change.
Only a change of the status value from 0 to 8 is detected; no value change is carried
out when the status value of 8 remains 8.
(Attention! Only to be carried out when the encoder is standing still)

Example Preset:

OPERAND DISPLAY FORMAT STATUS VALUE CONTROL


VALUE
ED 100 Dec.. L#0
AD 100 Hex.: DW#0000 0000 8000 0E10

OPERAND DISPLAY FORMAT STATUS VALUE CONTROL


VALUE
ED 100 Dec.. L#3600
AD 100 Hex.: DW#8000 0E10 8000 0E10

3600 (decimal) = 0E10 (hex)

706415_UK.doc 706415/00 Page 12 of15 © ifm


efector gmbh
5 View in TiA portal
The integration of the encoder is done in the TiA portal as described in chapter 1-6, see below for the views
on the respective sections:

5.1 Installation

Add GSDML file [Extras] and encoder [Hardware catalogue]

Assign device name [Online]

706415_UK.doc 706415/00 Page 13 of15 © ifm


efector gmbh
5.2 Setting the encoder function

5.3 List of variables, reset and preset:

706415_UK.doc 706415/00 Page 14 of15 © ifm


efector gmbh
6 Other:

Byte: 1 2 3 4

Word 1: 80 00 00 00 HEX coding


Word 0:

Bit: 1000 0000 0000 0000 0000 0000 0000 0000 BINARY CODING
Bit numbers:31…28 27…24 23…20 19...16 15…12 11…8 7…4 3…0

Example decimal to binary:

Multiturn Singleturn

31 15 0

Word 1 Word 0
Double word

8 bits = 1 byte = octet


16bits = 2 bytes = word
32bits = 4 bytes = double word (DWORD)
64bits = 8 bytes = quadruple word (LongWORD)

706415_UK.doc 706415/00 Page 15 of15 © ifm


efector gmbh

You might also like