I/O port name
Variable name
Description
Data type
Variable type
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
Retain
Con-
stant
Network
publish
Description
NXBus_N2_NX_Unit
_I_O_Data_Ac-
tive_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_Ch1_Num-
ber_of_Samplings
UINT
---
---
---
---
Do not
publish.
Ch1 Number of Sam-
plings
N2_Ch1_Analog_In-
put_Value_1_10
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
1-10
N2_Ch1_Analog_In-
put_Value_11_20
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
11-20
N2_Ch1_Analog_In-
put_Value_21_30
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
21-30
N2_Ch1_Analog_In-
put_Value_31_40
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
31-40
N2_Ch1_Analog_In-
put_Value_41_50
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
41-50
N2_Ch1_Analog_In-
put_Value_51_60
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
51-60
N2_Ch1_Analog_In-
put_Value_61_70
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
61-70
N2_Ch1_Analog_In-
put_Value_71_80
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
71-80
N2_Ch1_Analog_In-
put_Value_81_90
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
81-90
N2_Ch1_Analog_In-
put_Value_91_100
AR-
RAY[0..9]
OF INT
---
---
---
---
Do not
publish.
Ch1 Analog Input
Value
91-100
Appendices
A - 15
NX-series Analog I/O Units User’s Manual for High-speed Analog Input Units (W592)
A-3 Programming Examples for Analog In-
put Data Collection with the Library
A
A-3-2 Programming Example