// write $TC_MOP2 with LBP_WriteVar [FB3]
// value
#statToolData."$TC_MOP2".value := 8.7;
// token
#statToolData."$TC_MOP2".token.column := 1; // column = toolNumber
#statToolData."$TC_MOP2".token.row := 2; // row = (edgeNumber - 1) *
numCuttEdgeParams + 2
#statInstWriteVar(Req := # tempWriteVarReq,
PLC
Manual de funciones, 01/2023, A5E47437861E AF
RD3 := NULL,
RD4 := NULL,
RD5 := NULL,
RD6 := NULL,
RD7 := NULL,
RD8 := NULL);
Addr1 := #statToolData.numCuttEdgeParams.token,
NumVar := 1,
Addr1 := #statToolData."$TC_MOP2".token,
Addr2 := NULL,
Addr3 := NULL,
Addr4 := NULL,
Addr5 := NULL,
Addr6 := NULL,
Addr7 := NULL,
Addr8 := NULL,
Error => #tempWriteVarError,
Done => #tempWriteVarDone,
State => #tempWriteVarState,
SD1 := #statToolData."$TC_MOP2".value,
SD2 := NULL,
SD3 := NULL,
SD4 := NULL,
SD5 := NULL,
SD6 := NULL,
SD7 := NULL,
SD8 := NULL);
Referencia al PLC Basic Program
11.6 Bloques de función (FB)
593