Master value selection and master value correction

The main signal flow of the converted function is shown below.
Fig. 1: Master value selection und master value correction
Fig. 2: Synchronise partial signal flow
Fig. 3: Tool correction partial signal flow
 
Relevant parameters of other functions
Address
Name
Default setting
Setting range
Cycle length
360.0000
0.0001 ... 214748.3647
Deceleration of Halt
1800.00
0.00 ... 21474836.47
TP1 source
Digital input 1, positive edge [1]
Selection list
Master value source
System bus [0]
Selection list
System bus diagnostics: Position (input value)
- (Read only)
Control signals
0x00000000
0x00000000 ... 0xFFFFFFFF
Mark distance
360.0000
0.0001 ... 214748.3647
Max. positive correction
45.0000
0.0000 ... 214748.3647
Max. negative correction
45.0000
0.0000 ... 214748.3647
Reference measuring system of correction window
Corrected master position [1]
Selection list
Upper correction position
350.0000
0.0000 ... 214748.3647
Lower correction position
200.0000
0.0000 ... 214748.3647
Mark window size
40.0000
0.0000 ... 214748.3647
Mark window offset
0.0000
0.0000 ... 214748.3647
Max. number of missed marks
20
0 ... 4294967295
Gearbox factor correction gain
0.1000
0.0000 ... 214748.3647
Max. gearbox factor correction
10.0000
0.0000 ... 214748.3647
Mark error compensation dead time
0.000 ms
-2147483.648 ... 2147483.647 ms
Sensor set position
- (Read only)
Actual mark position
- (Read only)
Actual mark error
- (Read only)
Actual limited mark error
- (Read only)
Actual gearbox factor
- (Read only)
Corrected set position
- (Read only)
Corrected set velocity
- (Read only)
Set position of selected master value
- (Read only)
Set velocity of selected master value
- (Read only)
Virtual master start position
0.0000
0.0000 ... 214748.3647
Virtual master set position
0.0000
0.0000 ... 214748.3647
Virtual master acceleration
100000.00
0.00 ... 21474836.47
Virtual master deceleration
100000.00
0.00 ... 21474836.47
Virtual master jerk
1000000.00
0.00 ... 21474836.47
Virtual master clutch velocity
100.0000
0.0000 ... 214748.3647