Omron CJ Series Operation Manual page 227

Machine automation controller
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

Determining the SendCmd instruction execution completion
S endCmd_instance.Done
S endCmd_instance.Error
Trigger reception
T rigger
_ Port_isAvailable
Communications parameters settings
O perating
1
2
3
4
5
6
7
8
9
1 0 SendDat[3]:=BYTE#16#0B;
1 1 SendDat[4]:=BYTE#16#00;
1 2 SendDat[5]:=BYTE#16#0E;
1 3 SendDat[6]:=BYTE#16#00;
1 4 SendDat[7]:=BYTE#16#01;
1 5 SendDat[8]:=BYTE#16#00;
1 6 SendDat[9]:=BYTE#16#01;
1 7 SendDat[10]:=BYTE#16#01;
SendCmd instruction execution
O perating
I nDNetAdr
S endDat[0]
R ecvDat[0]
Processing at normal end
O perating
SendCmd_instance.Done
Processing at an error end
O perating
SendCmd_instance.Error
CJ-series CompoNet Master Unit Operation Manual for NJ-series CPU Unit (Cat. No. W493)
InDNetAdr.NetNo:=USINT#0;
InDNetAdr.NodeNo:=USINT#0;
InDNetAdr.UnitNo:=BYTE#16#20;
InOption.isNonResp:=FALSE;
InOption.TimeOut:=USINT#20;
InOption.Retry:=USINT#2;
SendDat[0]:=BYTE#16#28;
SendDat[1]:=BYTE#16#02;
SendDat[2]:=BYTE#16#10;
S endCmd_instance
S endCmd
E xecute
D stNetAdr
_ NONE
C ommPort
C mdDat
U INT#11
C mdSize
E rrorIDEx
R espDat
I nOption
O ption
/ / Processing after normal end
1
;
2
/ / Processing after an error end
1
;
2
6 Message Communications
R S_instance
R S
S et
Q1
O peratingEnd
R eset1
Network address settings
/ /
/ /
//
// Response settings
/ /
//
// Command data array settings
//
//
//
//
//
//
//
//
//
//
D one
B usty
E rror
E rrorID
R espDat
R ecvDat[0]
O peratingEnd
O perating
6
6-13

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Nj seriesCj1w-crm21

Table of Contents