// Execute SendCmd instruction.
IF (Operating=TRUE) THEN
SendCmd_instance(
Execute
:=TRUE,
DstNetAdr:=InDNetAdr,
CommPort:=_NONE,
CmdDat :=SendDat[0],
CmdSize :=UINT#9,
RespDat:=RecvDat[0],
Option :=InOption);
IF (SendCmd_instance.Done=TRUE) THEN
// Processing after normal end
Operating:=FALSE;
END_IF;
IF (SendCmd_instance.Error=TRUE) THEN
// Processing after error end
Operating:=FALSE;
END_IF;
END_IF;
NJ-series Instructions Reference Manual (W502)
2 Instruction Descriptions
2
2-683