Setting
Set value
Meaning of setting
Ch1 Enable/Disable
TRUE
Ch1 Enable
Ch1 Range Setting
0
-10 to 10 V
Ch1 Number of Samplings Setting
100
100 times
Ch1 Filter 1 Moving Average Count
0
Ch1 Moving Average Filter 1 disabled
Ch1 Filter 2 Moving Average Count
0
Ch1 Moving Average Filter 2 disabled
Task Settings
The following table shows the task settings.
Task type
Task name
Period
Program to be assigned
Priority-4 primary periodic task
PrimaryTask
1 ms
Assign a program that uses the fol-
lowing libraries:
•
DeviceVariableToArray_100 (Join
Device Output Data)
•
DataRecorder (Data Recorder)
Priority-17 periodic task
PeriodicTask0
10 ms
To reduce the possibility of a Task
Period Exceeded error, assign a
program that uses the following li-
brary.
•
LogDataToCSV (Write Log Data
to CSV File)
The following table shows the task settings for controlling I/O.
Unit position
Unit
Task name
NXBusMaster
NX Bus Master
---
Unit1
NX-PF0730
PrimaryTask
Unit2
NX-HAD401
PrimaryTask
I/O Map
The following table shows the settings of variables that are assigned to the I/O Map on the Sysmac
Studio.
I/O port name
Variable name
Description
Data type
Variable type
N2 NX Unit I/O Data
Active Status
NXBus_N2_NX_Unit_I_O_
Data_Active_Status
NX Unit (Unit2)
I/O Data Active
BOOL
Global variable
N2 NX Unit Error Sta-
tus
NXBus_N2_NX_Unit_Er-
ror_Status
NX Unit (Unit2)
Error
BOOL
Global variable
Analog Input Time
Stamp
N2_Analog_In-
put_Time_Stamp
Analog Input Time
Stamp
ULINT
Global variable
Ch1 Number of Sam-
plings
N2_Ch1_Number_of_Sam-
plings
Ch1 Number of Sam-
plings
UINT
Global variable
Ch1 Analog Input
Value 1-10
N2_Ch1_Analog_In-
put_Value_1_10
Ch1 Analog Input
Value
1-10
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 11-20
N2_Ch1_Analog_In-
put_Value_11_20
Ch1 Analog Input
Value
11-20
ARRAY[0..9]
OF INT
Global variable
Appendices
A - 26
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: ......