![background image](http://html.mh-extra.com/html/omron/cj1w-pnt21/cj1w-pnt21_operation-manuals_742351157.webp)
6 Message Communications
6-6
CJ-series PROFINET IO Controller Unit Operation Manual for NJ-series CPU Unit (W511)
Trigger
_Port_isAvailable
PNT21_AllDatXchgSta
Determining the SendCmd instruction execution completion
Trigger reception
SendCmd_instance.Done
OperatingEnd
SendCmd_instance.Error
1
InDNetAdr.NetNo:=2;
// Network address settings
2 InDNetAdr.NodeNo:=65;
//
3 InDNetAdr.UnitNo:=BYTE#16#00; //
4 InOption.isNonResp:=FALSE;
//
Response monitoring and retry settings
5 InOption.TimeOut:=60;
//
6 InOption.Retry:=0;
//
7
Sdata[0]:=BYTE#16#28;
// Command data settings
8 Sdata[1]:=BYTE#16#01;
//
9 Sdata[2]:=BYTE#16#00;
//
10 Sdata[3]:=BYTE#16#0E;
//
11 Sdata[4]:=BYTE#16#00;
//
12 Sdata[5]:=BYTE#16#9C;
//
13 Sdata[6]:=BYTE#16#00;
//
14 Sdata[7]:=BYTE#16#01;
//
15 Sdata[8]:=BYTE#16#73;
//
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
Busy
Error
ErrorID
ErrorIDEx
RespDat
Option
InDNetAdr
_ePORT#_NONE
Sdata[0]
UINT#9
Rdata[0]
InOption
SendCmd
RS_instance
RS
Set
Q1
Reset1
OperatingEnd
Содержание CJ1W-PNT21
Страница 3: ......
Страница 16: ...13 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...
Страница 107: ...3 Configuration Software 3 36 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...
Страница 198: ...Index 1 CJ series PROFIBUS Master Unit Operation Manual for NJ series CPU Unit W509 I Index ...