6 Message Communications
6-14
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Trigger
_Port_isAvailable
DeviceNet_OnlineSta
Determining the SendCmd instruction execution completion
Trigger reception
SendCmd_instance.Done
OperatingEnd
SendCmd_instance.Error
1
InDNetAdr.NetNo:=0;
// Network address settings
2
InDNetAdr.NodeNo:=0;
//
3
InDNetAdr.UnitNo:=BYTE#16#10;
//
4
InOption.isNonResp:=FALSE;
// Response monitoring and retry settings
5
InOption.TimeOut:=20;
//
6
InOption.Retry:=2;
//
7
Sdata[0]:=BYTE#16#28;
// Command data settings
8
Sdata[1]:=BYTE#16#01;
//
9
Sdata[2]:=BYTE#16#0B;
//
10 Sdata[3]:=BYTE#16#0E;
//
11 Sdata[4]:=BYTE#16#00;
//
12 Sdata[5]:=BYTE#16#01;
//
13 Sdata[6]:=BYTE#16#00;
//
14 Sdata[7]:=BYTE#16#01;
//
15 Sdata[8]:=BYTE#16#01;
//
1
// Processing after normal end
2
;
1
// Processing after an error completion
2
;
Operating
Communications parameters settings
Processing at normal end
Processing at an error completion
Operating
SendCmd instruction execution
Operating
Operating
SendCmd_instance.Done
Operating
SendCmd_instance.Error
SendCmd_instance
Execute
DstNetAdr
CommPort
CmdDat
CmdSize
RespDat
Done
Busty
Error
ErrorID
ErrorIDEx
RespDat
Option
InDNetAdr
_ePORT#_NONE
Sdata[0]
UINT#9
Rdata[0]
InOption
SendCmd
RS_instance
RS
Set
Q1
Reset1
OperatingEnd
Summary of Contents for CJ1W-DRM21
Page 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Page 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Page 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...
Page 349: ......