Parker Hannifin GEM6K manual Network Analog Output, Ano , Ntio, \Tano, \Tio

Page 39

\ANO

Type:

Syntax:

Units:

Range:

Default:

Response:

See Also:

Network Analog Output

Network

Product

Rev

<!>n\mANO.i=r

6K

5.3

n =

network server #

 

 

m =

module #

 

 

i =

analog output # on module “m”

 

 

r =

voltage value (VDC)

 

 

n =

1-6

 

 

m =

0-7

 

 

i =

1-2

 

 

r =

-10.00 to +10.00

 

 

n/a

 

 

 

n/a

 

 

 

[ \ANO ], NTIO, \TANO, \TIO

Use the \ANO command to set the voltage of an OPTO22 analog output. The maximum output range can be set from –

10.00VDC to +10.00 VDC. The 6K controller does not recognize the voltage range set on the I/O device (i.e., an \ANO setting of +10 VDC is allowed for an analog output configured with a maximum limit of +5 VDC.)

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.

EXAMPLE: OPTO22 is Network Server #2

0

1

2

3

4

5

6

7

Digital

Digital

Digital

Digital

Analog

Analog

Analog

Analog

Input

Input

Output

Output

Output

Output

Input

Input

Module

Module

Module

Module

Module

Module

Module

Module

Input

Input

Output

Output

Output

Output

Input

Input

1

1

1

1

1

1

1

1

Input

Input

Output

Output

Output

Output

Input

Input

2

2

2

2

2

2

2

2

Input

Input

Output

Output

 

 

 

 

3

3

3

3

 

 

 

 

Input

Input

Output

Output

 

 

 

 

4

4

4

4

 

 

 

 

 

2\0IN.3

 

 

 

2\3OUT.2

 

 

 

2\5ANO.1

 

 

2\7ANI.2

 

 

 

 

 

 

 

Example:

; Identify network server #2 as an

OPTO22 unit at IP address

 

2NTIP2,172,54,125,34

 

2NTCONN1

; 172.54.125.34

 

 

 

 

 

 

 

 

 

; Attempt a

connection to network server #2 (OPTO22 unit)

 

2\4NTIO4

; Server #2

(OPTO22), module #4 is

an analog output module

 

2\5NTIO4

; Server #2

(OPTO22), module #5 is

an analog output module

 

2\4ANO.1=4.8

; On Server

#3, module #4, set the

voltage on analog output #1 to

 

 

; +4.8 VDC

 

 

 

 

 

 

 

 

 

 

page 35

Image 39
Contents Ethernet Networking for 6K and Gem6K User Information Ethernet Networking Page Setup Wizard Available OverviewExample Direct Connect to One Server Example Direct Connect to PC Device Networking GuidelinesPing Changing the 6K’s IP Address or Subnet Mask Configuring the 6K for Ethernet CommunicationSetting TCP/IP Properties and Static Mapping Preparing the Controller over RS-232Page Arp -s 192.168.10.30 0-90-55-0-0-1 Connecting the 6K to the PC through EthernetMilliseconds Networking with Other 6K or Gem6K Products Peer-to-PeerSet see ER, TER, Terf Communication according to the procedures onThen the command would be 3NTIP2,172,20,34,170 Networking with OPTO22 Snap I/ONtio command to specify the type of module in that position InputsNetwork Server # Networking with a DVT Vision System Is set see ER, TER, TerfModule # on Server n Range Provided below Command would be 3NTIP1,172,20,34,124Networking with an Allen-Bradley SLC 5/05 PLC OPTO22 Ethernet I/O rack5NTPOLL50 NTFEN2 Reset5NTCONN1 VARB100-VARB103PLC Exchanging data automatically with the PLC. Here is how toHAB79 VARB106Error Conditions Error messages related to Ethernet networkingError Response Possible Cause Related Error Status register bits are noted below Ntconn Network ConnectER, TER, and Terf Product Type Syntax Units Range Default Response See AlsoNtid Network Sharing Unit ID for Peer-to-Peer CommunicationNtio Network I/O OPTO22 Configuration\OUT , \TANI, \TANO, \TIN, \TIO, \TOUT Server Type Type Syntax Units Range Default ResponseNtip Network IP AddressExample Ntmprb Network Map Binary Variables for Reading from PLCNetwork Map Binary Variables for Writing to PLC NtmpwbTNTS, TNTSF, Vari Ntmpri Network Map Integer Variables for Reading from PLCWAITVARI40=22 NtmpwiNetwork Map Integer Variables for Writing to PLC VARI35-VARI49Ntpoll Network Polling RateRange n = NTFEN, NTID, SYSPER, VARSHO, Varshi NtrateNetwork Sharing Rate for Peer-to-Peer Communication Ntrate *NTRATE50Network Status Network Program Select EnableNTS NtselpDefault Response See Also NtwritNetwork Write Ascii String to DVT Camera Transfer Network Status full-text report TntsTntsf Transfer Network StatusDefault n/a VarshiShared Input Variable for Peer-to-Peer Data Exchange Range i = Default n/a VarshoShared Output Variable for Peer-to-Peer Data Exchange Output variable #1 This code is executed on unit #2 \ANI Network Analog Input Voltage StatusNTIO, \TANI, \TIO, VAR \ANO Network Analog Output\ANO , NTIO, \TANO, \TIO Network Analog Output Status \ANO\IN Network Digital Input StatusNTIO, \TIN, \TIO, Varb \OUT Network Digital Output\OUT , NTIO, \TIO, \TOUT \OUT Network Digital Output StatusVARB9=2\3OUT Transfer Network Analog Input Status \TANITransfer Network Analog Output Status \TANOTransfer Network Digital Input Status Range n = Default n/a\TIN \TIOAnalog Outputs \TOUTTransfer Network Digital Output Status Digital Outputs