//********************************************************
IF NXBus_N2_NX_Unit_I_O_Data_Active_Status=TRUE AND NXBus_N2_NX_Unit_Error_Status=F
ALSE THEN
I_O_Data_is_Valid:=TRUE;
ELSE
I_O_Data_is_Valid:=FALSE;
END_IF;
IF I_O_Data_is_Valid=TRUE THEN
\\
OmronLib
\
NX_HAD
\
DeviceVariableToArray_100(
ENO=>Enable_OUT,
Input01:=N2_Ch1_Analog_Input_Value_1_10,
Input02:=N2_Ch1_Analog_Input_Value_11_20,
Input03:=N2_Ch1_Analog_Input_Value_21_30,
Input04:=N2_Ch1_Analog_Input_Value_31_40,
Input05:=N2_Ch1_Analog_Input_Value_41_50,
Input06:=N2_Ch1_Analog_Input_Value_51_60,
Input07:=N2_Ch1_Analog_Input_Value_61_70,
Input08:=N2_Ch1_Analog_Input_Value_71_80,
Input09:=N2_Ch1_Analog_Input_Value_81_90,
Input10:=N2_Ch1_Analog_Input_Value_91_100,
StartPos:=UINT#0,
InputSize:=N2_Ch1_Number_of_Samplings,
DataArray:=Ch1_Input_Data);
END_IF;
IF Enable_OUT=TRUE THEN
Ch1_Arrangement_is_Success:=TRUE;
END_IF;
A-3-3
Connection to the Communications Coupler Unit
In the programming example where the High-speed Analog Input Unit is connected to an NX-ECC203
EtherCAT Coupler Unit, only differences from the case where it is connected to a CPU Unit are descri-
bed.
Consider these differences while reading the aforementioned example for connection to the CPU Unit.
System Configuration
The system configuration is given below.
Appendices
A - 17
NX-series Analog I/O Units User’s Manual for High-speed Analog Input Units (W592)
A-3 Programming Examples for Analog In-
put Data Collection with the Library
A
A-3-3 Connection to the Communications Coupler Unit
Содержание Sysmac NX-series
Страница 4: ...Introduction 2 NX series Analog I O Units User s Manual for High speed Analog Input Units W592...
Страница 42: ...Sections in this Manual 40 NX series Analog I O Units User s Manual for High speed Analog Input Units W592...
Страница 100: ...4 Installation and Wiring 4 32 NX series Analog I O Units User s Manual for High speed Analog Input Units W592...
Страница 142: ...7 I O Data and List of Settings 7 24 NX series Analog I O Units User s Manual for High speed Analog Input Units W592...
Страница 238: ...10 Inspection and Maintenance 10 6 NX series Analog I O Units User s Manual for High speed Analog Input Units W592...
Страница 300: ...Appendices A 62 NX series Analog I O Units User s Manual for High speed Analog Input Units W592...
Страница 301: ...I Index I 1 NX series Analog I O Units User s Manual for High speed Analog Input Units W592 I...
Страница 303: ...W Wiring Terminal 4 7 Index I 3 NX series Analog I O Units User s Manual for High speed Analog Input Units W592 I...
Страница 304: ......
Страница 305: ......