RM30xx Profibus: Brief Instructions
RM30xx Profibus: Brief Instructions
RM30xx Profibus: Brief Instructions
Brief instructions
efector400
1 Installation ................................................................................................................................. 3
1.1 Software ................................................................................................................................... 3
1.2 Hardware ................................................................................................................................. 4
1.2.1 Overview ........................................................................................................................... 4
1.2.2 Connection ....................................................................................................................... 4
2 Setting the encoder function: .................................................................................................. 6
2.1 Selection of the correct encoder: ............................................................................................. 6
2.2 Multiturn encoder Class2 (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 Hex parameter setting for multiturn class 2:........................................................................ 11
5 List of variables, reset and preset ......................................................................................... 12
5.1 Display variables .................................................................................................................... 12
5.2 Reset:..................................................................................................................................... 13
5.3 Preset:.................................................................................................................................... 13
6 Other: ........................................................................................................................................ 14
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: RM3006 [gsd-DPV0]*
2. Hardware catalogue => Install GSD (first, unzip the ZIP file)
3. Additional Field Devices => Encoder, select ifm Encoder (see chapter 2)
4. Drag the encoder into the project and assign a Profibus address
1.2 Hardware
1.2.1 Overview
1.2.2 Connection
Class1 Singleturn:
This setting enables only the setting of the direction of rotation at max. 8192 measuring units.
Class1 Multiturn:
This setting enables only the setting of the direction of rotation at max. 8192 measuring units x 4096
revolutions.
Class2 Singleturn:
This setting enables the setting of the direction of rotation, diagnostic function and scaling of the
measuring units at 8192 units.
Hardware catalogue:
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
Hex parameter setting means that the device-specific parameters are written in HEX coding.
These settings do not have to be made if already set in the device-specific parameters.
Octet 9
Octet 10
Octet 11
Octet 12
Octet 13
Octet 14
Octet 15
Octet 16
Octet 17
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:
5.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:
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