IFM Profinet
IFM Profinet
IFM Profinet
Brief instructions
efector400
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.
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
3. Additional Field Devices => Encoder, select ifm Encoder (see chapter 2)
*IRT = Isochronous Real Time (frequency rate <1ms; jitter accuracy 1µs)
Standard, no PDEV: for controllers which do not support the IRT* function
Hardware catalogue :
Configuration (HW Config) => Properties Module Access Point => Parameter setting
Setting options:
Simplified representation:
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.
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:
The value for the resolution (pulses for a revolution) must be entered for measuring units per
revolution:
Resolution per revolution 8192 x revolutions 4096 = total measuring range 33 554 432
For some controllers the value for the total measuring range must be converted to a high
word and a low word.
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
Simatic Manager => CPU 315-2 (select) TAB PLC => Monitor/control variable
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.
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:
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:
5.1 Installation
Byte: 1 2 3 4
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
Multiturn Singleturn
31 15 0
Word 1 Word 0
Double word