I/O port name
Variable name
Description
Data type
Variable type
Ch1 Analog Input
Value 21-30
N2_Ch1_Analog_In-
put_Value_21_30
Ch1 Analog Input
Value
21-30
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 31-40
N2_Ch1_Analog_In-
put_Value_31_40
Ch1 Analog Input
Value
31-40
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 41-50
N2_Ch1_Analog_In-
put_Value_41_50
Ch1 Analog Input
Value
41-50
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 51-60
N2_Ch1_Analog_In-
put_Value_51_60
Ch1 Analog Input
Value
51-60
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 61-70
N2_Ch1_Analog_In-
put_Value_61_70
Ch1 Analog Input
Value
61-70
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 71-80
N2_Ch1_Analog_In-
put_Value_71_80
Ch1 Analog Input
Value
71-80
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 81-90
N2_Ch1_Analog_In-
put_Value_81_90
Ch1 Analog Input
Value
81-90
ARRAY[0..9]
OF INT
Global variable
Ch1 Analog Input
Value 91-100
N2_Ch1_Analog_In-
put_Value_91_100
Ch1 Analog Input
Value
91-100
ARRAY[0..9]
OF INT
Global variable
Variable Table
External variables and internal variables that are used in the programming are given below.
External Variables
Use the global variables given in the table below as external variables.
Variable name
Data type
Initial
value
AT
Re-
tain
Con-
stant
Network
publish
Description
NXBus_N2_NX_
Unit_I_O_Da-
ta_Active_Status
BOOL
FALSE
---
---
---
Do not
publish.
NX Unit (Unit2)
I/O Data Active
NXBus_N2_NX_
Unit_Error_Status
BOOL
FALSE
---
---
---
Do not
publish.
NX Unit (Unit2)
Error
N2_Analog_In-
put_Time_Stamp
ULINT
---
---
---
---
Do not
publish.
Analog Input Time
Stamp
N2_Ch1_Num-
ber_of_Samplings
UINT
---
---
---
---
Do not
publish.
Ch1 Number of
Samplings
N2_Ch1_Ana-
log_Input_Val-
ue_1_10
ARRAY[0..9] OF
INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
1-10
N2_Ch1_Ana-
log_Input_Val-
ue_11_20
ARRAY[0..9] OF
INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
11-20
Appendices
A - 27
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