Omron Sysmac NJ Series User Manual page 154

Machine automation controller, cpu unit built-in ethercat port
Hide thumbs Also See for Sysmac NJ Series:
Table of Contents

Advertisement

6 Process Data Communications and SDO Communications
 LD
LD
_EC_PDSlavTbl[1] _EC_CommErrTbl[1]
Slave 1 inputs
Slave_1_inputs_valid
Slave 1 outputs
Slave_1_outputs_valid
 ST
IF _EC_PDSlavTbl[1]=TRUE AND _EC_CommErrTbl[1]=FALSE THEN
A:=TRUE;
ELSE
A:=FALSE;
END_IF;
(*Output valid condition*)
IF A=TRUE THEN
Slav_Out:=TRUE;
ELSE
Slav_Out:=FALSE;
END_IF;
(*Input valid condition*)
IF A=TRUE AND _EC_InDataInvalid=FALSE THEN
Slav_In:=TRUE;
ELSE
Slav_In:=FALSE;
END_IF;
(*Output data valid*)
IF Slav_Out=TRUE THEN
E001_Out_Bit00:=TRUE;
ELSE
E001_Out_Bit00:=FALSE;
END_IF;
6-8
E001_In_Bit00
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)
Slave_1_outputs_valid
_EC_InDataInvalid
Slave_1_inputs_valid
E001_Out_Bit07
E001_Out_Bit00

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sysmac NJ Series and is the answer not in the manual?

Table of Contents

Save PDF