Corporation Switch User Manual
Table Of Contents
- Ethernet Networking
- Command Descriptions
- NTCONNNetwork Connect
- NTIDNetwork Sharing Unit ID for Peer-to-Peer Communication
- NTIONetwork I/O (OPTO22) Configuration
- NTIPNetwork IP Address
- NTMPRBNetwork Map Binary Variables for Reading from PLC
- NTMPWBNetwork Map Binary Variables for Writing to PLC
- NTMPRINetwork Map Integer Variables for Reading from PLC
- NTMPWINetwork Map Integer Variables for Writing to PLC
- NTPOLLNetwork Polling Rate
- NTRATENetwork Sharing Rate for Peer-to-Peer Communication
- [ NTS ]Network Status
- NTSELPNetwork Program Select Enable
- NTWRITNetwork Write ASCII String to DVT Camera
- TNTSTransfer Network Status
- TNTSFTransfer Network Status (full-text report)
- VARSHIShared Input Variable for Peer-to-Peer Data Exchange
- VARSHOShared Output Variable for Peer-to-Peer Data Exchange
- [ \ANI ]Network Analog Input Voltage Status
- \ANONetwork Analog Output
- [ \ANO ]Network Analog Output Status
- [ \IN ]Network Digital Input Status
- \OUTNetwork Digital Output
- [ \OUT ]Network Digital Output Status
- \TANITransfer Network Analog Input Status
- \TANOTransfer Network Analog Output Status
- \TINTransfer Network Digital Input Status
- \TIOTransfer Ethernet I/O status
- \TOUTTransfer Network Digital Output Status

\TANI
Transfer Network Analog Input Status
Type:
Network; Transfer
Product Rev
Syntax:
<!>n\mTANI<.i>
Units:
n = network server #
m = module #
i = analog input # on module “m” (for bit-select operation)
(The response represents volts DC.)
Range:
n = 1-6
m = 0-7
i = 1-2
Default:
n/a
Response:
1\1TANI:
1\1TANI.2:
*2.42,3.32
*3.32
See Also:
[ \ANI ], NTIO, \TIO
6K 5.3
The
\TANI
command returns the voltage present at one of the network analog inputs. The network server number and
module number must precede the
\TANI
command (e.g.,
2\3ANI
reports the voltage present on all analog inputs on
module 3 of network server 2).
If the status of a specific analog input is required, use the bit select operator (
.
). For example,
1\3TANI.2
reports the
voltage of analog input 2 on module 3 of network server 1.
The controller addresses the OPTO22 I/O locations as follows:
Each I/O bit is addressed by its location on a specific module. (NOTE: I/O points are not addressed by an absolute
32-bit location on the OPTO22.) Digital input and output modules have four
I/O points, or channels, and are numbered
1-4. Analog input and output modules have two
I/O points, or channels, and are numbered 1-2.
Digital
Input
Module
Input
1
0
Input
2
Input
3
Input
4
Digital
Input
Module
Input
1
1
Input
2
Input
3
Input
4
Digital
Output
Module
Output
1
2
Output
2
Output
3
Output
4
Digital
Output
Module
Output
1
3
Output
2
Output
3
Output
4
Analog
Output
Module
Output
1
4
Output
2
Analog
Output
Module
Output
1
5
Output
2
Analog
Input
Module
Input
1
6
Input
2
Analog
Input
Module
Input
1
7
Input
2
EXAMPLE: OPTO22 is Network Server #2
2\0TIN.3 2\3TOUT.2 2\5TANO.1 2\7TANI.2
page 40