![background image](http://html1.mh-extra.com/html/omron/sysmac-nx-series/sysmac-nx-series_user-manual_742270271.webp)
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;
//********************************************************
// DataRecorder
//********************************************************
IF Start=TRUE AND Rec_is_End=FALSE THEN
Rec_is_Start:=TRUE;
Enable:=TRUE;
END_IF;
IF Rec_is_Start=TRUE AND Trig_Rdy=TRUE THEN
Ch1_Trig_Input:=TRUE;
END_IF;
IF I_O_Data_is_Valid=TRUE AND Rec_is_End=FALSE THEN
DataRecorder_instance(Enable:=Enable,
InputData:=Ch1_Input_Data,
LogData:=Ch1_Log_Data,
DataBuf:=Ch1_Data_Buf,
TrigInput:=Ch1_Trig_Input,
InputDataTimeStamp:=N2_Analog_Input_Time_Stamp,
InputSize:=N2_Ch1_Number_of_Samplings,
TrigRdy=>Trig_Rdy,
RecordEnd=>Ch1_Rec_End,
RecordInfo=>Ch1_Rec_Info);
END_IF;
IF Ch1_Rec_End=TRUE THEN
Rec_is_End:=TRUE;
Enable:=FALSE;
End_IF;
Programming Example That Uses LogDataToCSV
The following shows a programming example that uses LogDataToCSV (Write Log Data to CSV
File). Assign this program to the priority-17 periodic task.
Appendices
A - 33
NX-series Analog I/O Units User’s Manual for High-speed Analog Input Units (W592)
A-4
Digital Filter Design with the Library
A
A-4-3 Programming Example
Содержание 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: ......