EasyManua.ls Logo

Omron SYSMAC NX series - Page 271

Omron SYSMAC NX series
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 Users Manual for High-speed Analog Input Units (W592)
A-4 Digital Filter Design with the Library
A
A-4-3 Programming Example

Table of Contents

Other manuals for Omron SYSMAC NX series

Related product manuals