5.5 Installing the ladder routine
Two so-called ladder routines are available for integration of the web server. The ladder
routine is used to map the configuration data between the controller and the web
server.
Use the following ladder routine depending on the selected instance:
•
SickAFx_A101WS_A103WS_FB_Enc1_GetSet.L5X for instances 101WS and
103WS
•
SickAFx_A102WS_FB_Enc1_GetSet.L5X for instance 102WS
Requirements for the installation of the ladder routine are:
•
Installation file of the ladder routine, downloaded from the encoder’s web server
(see "Ladder routine", page 103).
•
Correct installation of the current EDS file (see "Integration and configuration
using an EDS file", page 52).
•
Selection of instance 101WS, 102WS or 103WS when configuring the encoder
module.
Figure 38: Selection of the instance (in the example 103WS)
•
An executable project with the absolute encoder in the RSLogix 5000.
The following steps must be performed:
•
The ladder routine must be imported and some parameters must be configured
during the import.
•
The ladder routine must be integrated as a SubRoutine into the MainRoutine of
your project.
•
The encoder can then be configured both from the controller (in the controller
tags) and using the web server.
NOTE
If multiple encoders are used, the routine must be imported several times and given its
own unique so-called Final Name during import. In addition, the Tag References must be
uniquely named for each encoder.
5.5.1 Import of the ladder routine
1. In the of MainProgram context menu, select the Import Routine... command.
5 CONFIGURATION USING A PLC
56
O P E R A T I N G I N S T R U C T I O N S | AFS/AFM60 EtherNet/IP 8014213/1EF3/2021-12-08 | SICK
Subject to change without notice