![background image](http://html1.mh-extra.com/html/omron/sysmac-nx-series/sysmac-nx-series_user-manual_742270270.webp)
CSV Output
Started
LogDataToCSV_instance
Ch1_Log_Data
Ch1_Rec_Info
‘Ch1_Log_Data.csv’
USINT#100
\\OmronLib\DataRecorder\Log
DataToCSV
Done
Busy
LogData
RecordInfo
FileName
WriteLineNum
Cancel
CSV_Output
_is_Start
CSV_Output
_is_Done
CSV Output
Done
Execute
Rec_is_End
Recording
Ended
CSV_Output
_is_Done
CSV Output
Done
CSV_Output
_is_Start
CSV Output
Started
CSV_Output
_is_Start
LogData
Canceled
Error
ErrorID
ErrorIDEx
Ch1_Log_Data
CSV Output
Started
ST Programming
Programming Examples That Use DeviceVariableToArray_100 and DataRe-
corder
The following shows programming examples that use DeviceVariableToArray_100 (Join Device
Output Data) and DataRecorder (Data Recorder). Assign the programs to the priority-4 primary pe-
riodic task.
//********************************************************
// DeviceVariableToArray_100
//********************************************************
IF NXBus_N2_NX_Unit_I_O_Data_Active_Status=TRUE AND NXBus_N2_NX_Unit_Error_Status
=FALSE 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,
Appendices
A - 32
NX-series Analog I/O Units User’s Manual for High-speed Analog Input Units (W592)
Содержание 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: ......