Technical data
Configuration
CPU 317T: Technology Functions
A5E00251798-03
4-109
4.10 Configuring external encoders
The encoder system of a drive, the encoder system of an ADI4, or the PROFIBUS
encoder SIMODRIVE sensor be used as an external encoder.
Before external encoders are used in the user program, the hardware of the
external encoder has to be configured in HW Config and the external encoder has
to be inserted as an "External encoder" technology object in S7T Config. For
information on configuring the encoder system in HW Config, refer to the drive
description or description of the SIMODRIVE sensor.
The function is programmed in the user program at FB "MC_ExternalEncoder".
Here you program the enable and disable signals and the homing settings for the
external encoder. The association to the external encoder created in S7T Config is
set at the Axis input, by entering the number of the relevant technology DB.
4.10.1 Inserting an External Encoder
Requirements
• The technology CPU has been configured in the HW Config.
• A drive with a free encoder system or a PROFIBUS encoder SIMODRIVE
sensor has been configured in HW Config. If the PROFIBUS encoder
SIMODRIVE sensor is used, it has to be operated in "synchronous" mode.
Details are provided in the product information, or in the documentation of the
encoder.
• The hardware configuration has been compiled and saved in HW Config.