This function block can copy 4 real values. The copy/reset signal should come from the “normal” or “simple” PDA FBs.
VAR_INPUT CopyData: BOOL; (* Start signal to copy data *) ResetData: BOOL; (* Start signal to reset data *) Read_Real1: REAL; Read_Real2: REAL; Read_Real3: REAL; Read_Real4: REAL; END_VAR
VAR_OUTPUT Copied_Real1: REAL; Copied_Real2: REAL; Copied_Real3: REAL; Copied_Real4: REAL; END_VAR