PROFINET IO interface
88 © SICK AG • Subject to change without notice • 8024484/2019-06-06
10.3.5 Module 5: “Distance/i2w, Preset Dyn./o2w”
Type Input and output module, 2 words, consistent
Description Thismodulereadsthecurrentdistancevalueaccordingtotheosetand
resolution settings. The preset value is changed when writing the module.
If the maximum bit (bit 31) is set, the preset function can be called up to
calculateanewoset.Settingbit30resetsthepresetandtheoset.
Notes Apresetorosetvaluechangedbythismoduleisalwayspermanently
adopted,andisnotlostwhenthedeviceisswitchedo.Sinceallchanged
andunchangedparametersarewrittenintheashmemory,theoutputof
measured values is only available for a short time.
Settingbit30resetsthepresetandosetvalueto“0”.Ifbit30isset,the
setting of bit 31 is ignored.
Iftherewasnovalidmeasuredvalueduetoadevicefault,amissingreec-
tor or contamination, then the value “0” is output for the distance and the
corresponding bits are set in the status bytes.
Input values
Rel. Adr. Description
0 Currentdistanceinselectedresolutionwithregardtotheo-
set. Depending on the selected resolution, a digit corresponds
to 0.1 mm to 100 mm.
Type
• Signed 32-bit number in two´s complement
Output values
Rel. Adr. Description
0.0 … 0.29 New preset distance in selected resolution. Depending on the
selected resolution for the distance, a digit corresponds to
0.1 mm to 100 mm.
Type
• Signed 32-bit number in two´s complement
0.30 • Bit 30 is not set (0):
Theosetandpresetvaluesareleftintheoriginalsettings.
• Bit 31 is set (1):
Theosetandthepresetvaluesareresettothe“0”value.
Type
• Bit: 0 or 1