Professional Documents
Culture Documents
Installation LadderRoutine AFxEtherNetIP en
Installation LadderRoutine AFxEtherNetIP en
From the MainProgram context menu select the Import Routine... command.
You must select the appropriate ladder routine depending on whether you use the
instance 101WS and 103WS or the instance 102WS of the Assembly Object (see
EtherNet/IP Manual 8014213).
Select the file SickAFx_A101WS_A103WS_FB_Enc1_GetSet.L5X or the file
SickAFx_A102WS_FB_Enc1_GetSet.L5X and click Import....
The Import Configuration dialog box will open.
NOTE
Only click OK once all configuration steps for the import have been completed. If
you inadvertently click OK, then you must restart the import as in Figure 42 on
page 60. (see EtherNet/IP Manual 8014213)
If necessary change the name of the routine in the Final Name field.
If you integrate several encoders into your project, then you must assign a unique
final name to the routine for each encoder.
If necessary, in the Final Name column change the name of the Tags.
If you use several encoders in a project, then each final name is only allowed to be
assigned once. For example change the names from “…Enc1…” to “…Enc2…”.
Click OK.
The ladder routine is imported.
In Controller Tags you can read the parameters of the encoder in the node
SickAFxWS_Enc1_GetData.
Parameters that you change in the web server are displayed in the control system.
Figure 56: Example for changing data in the web server and reading the parameters in the
control system
In Controller Tags you can change the encoder parameters in the node
SickAFxWS_Enc1_SetData.
Parameters that you change in the control system are displayed in the web server on
the Parameterization page.
NOTE
The web browser must be refreshed to display the modified data.
Figure 58: Example for changing data in the control system and reading in the web server
WARNING
Before changing the preset value, check whether there is a hazard from the ma-
chine or system in which the encoder is integrated!
As soon as you have entered the value and accepted the entry using the [Enter] key,
the value is applied as a position value (see EtherNet/IP Manual 8014213)!