FUNCTION_BLOCK STAMP_MSG

An instance of this Function Block type updates the fields of a variable of the TS_MSG type according to the following algorithm:

ALGORITHM REQ IN Java :
  OUT.SRC.value = SRC.value;
  OUT.MSG.value = MSG.value;
  OUT.TS.value.setTime(java.lang.System.currentTimeMillis());
END_ALGORITHM