Parker Hannifin GEM6K Tntsf, Transfer Network Status full-text report, Product Rev

Page 34

2NTIP3,172,54,125,34

; Network

server #2 a DVT

camera

at IP

address 172.54.125.34

2NTCONN1

;

Attempt

connection to the DVT camera

 

2NTWRIT"P134"

;

Write the string "P134"

to the

DVT camera

TNTS

Type:

Syntax:

Units:

Range:

Default:

Response:

See Also:

Transfer Network Status

Network

Product

Rev

<!><n>TNTS<.i>

6K

5.3

n = server #

 

 

i = bit number of status register (see table below)

 

 

n = 1-6

 

 

i = 1-8

 

 

n/a

 

 

 

TNTS:

*TNTS:

(displays status of all six servers)

 

 

1TNTS 0000_0000

 

 

2TNTS 0000_0000

 

 

3TNTS 0000_0000

 

 

4TNTS 0000_0000

 

 

5TNTS 0000_0000

 

 

6TNTS 0000_0000

2TNTS:

*2NTS

1010_0000

(status for server 2)

2TNTS.3:

*2TNTS.3

1

(bit 3 for server 2)

TNTS.3:

*TNTS.3

110000

(bit 3 for all six servers)

NTCONN, NTIP, NTPOLL, [ NTS ], TNTSF

The TNTS command returns the current status of all network server connections. To use the Network Status register conditions in a conditional expression or for a binary variable assignment, use the NTS assignment/comparison operand.

FULL-TEXT STATUS REPORT AVAILABLE

The TNTS status command reports a binary bit report. If you would like to see a more descriptive text- based report, use the TNTSF command description.

Bit #

(left to right) Function (1 = yes, 0 = no)

1Connection Open.

2Client Connection Error. This bit is set when a connection attempt with a server times out. This will also set Error Status bit #23 (see ER, TER, TERF).

3Polling Enabled. This bit is set when polling is enabled with NTPOLL.

4Error during polling. This bit is set when an error during polling occurs. This will also set Error Status bit #24 (see ER, TER, TERF).

5-8 Reserved

TNTSF

Transfer Network Status (full-text report)

 

Type

Network

Product

Rev

Syntax

<!>TNTSF

6K

N.N.N

Units

N/A

 

 

Range

N/A

 

 

Default

N/A

 

 

Response

 

*TNTSF: (see example below)

 

See Also

NTCONN, NTIP, NTCLS, NTPOLL, [ NTS ], TNTS

 

The TNTSF command returns a text-based status report of network server connections. This is an alternative to the binary report (TNTS). Example TNTSF response:

*TNTSF

Connection #

4

5

6

*

1

2

3

page 30

Image 34
Contents Ethernet Networking for 6K and Gem6K User Information Ethernet Networking Page Overview Setup Wizard AvailableExample Direct Connect to One Server Example Direct Connect to PC Networking Guidelines DevicePing Preparing the Controller over RS-232 Configuring the 6K for Ethernet CommunicationSetting TCP/IP Properties and Static Mapping Changing the 6K’s IP Address or Subnet MaskPage Connecting the 6K to the PC through Ethernet Arp -s 192.168.10.30 0-90-55-0-0-1Networking with Other 6K or Gem6K Products Peer-to-Peer MillisecondsNetworking with OPTO22 Snap I/O Communication according to the procedures onThen the command would be 3NTIP2,172,20,34,170 Set see ER, TER, TerfInputs Ntio command to specify the type of module in that positionNetwork Server # Is set see ER, TER, Terf Networking with a DVT Vision SystemModule # on Server n Range OPTO22 Ethernet I/O rack Command would be 3NTIP1,172,20,34,124Networking with an Allen-Bradley SLC 5/05 PLC Provided belowVARB100-VARB103 NTFEN2 Reset5NTCONN1 5NTPOLL50VARB106 Exchanging data automatically with the PLC. Here is how toHAB79 PLCError messages related to Ethernet networking Error ConditionsError Response Possible Cause Related Error Status register bits are noted below Network Connect NtconnER, TER, and Terf Network Sharing Unit ID for Peer-to-Peer Communication Type Syntax Units Range Default Response See AlsoNtid ProductNetwork I/O OPTO22 Configuration Ntio\OUT , \TANI, \TANO, \TIN, \TIO, \TOUT Network IP Address Type Syntax Units Range Default ResponseNtip Server TypeNtmprb Network Map Binary Variables for Reading from PLC ExampleNtmpwb Network Map Binary Variables for Writing to PLCNtmpri Network Map Integer Variables for Reading from PLC TNTS, TNTSF, VariVARI35-VARI49 NtmpwiNetwork Map Integer Variables for Writing to PLC WAITVARI40=22Network Polling Rate NtpollRange n = Ntrate *NTRATE50 NtrateNetwork Sharing Rate for Peer-to-Peer Communication NTFEN, NTID, SYSPER, VARSHO, VarshiNtselp Network Program Select EnableNTS Network StatusNtwrit Default Response See AlsoNetwork Write Ascii String to DVT Camera Transfer Network Status TntsTntsf Transfer Network Status full-text reportVarshi Default n/aShared Input Variable for Peer-to-Peer Data Exchange Varsho Range i = Default n/aShared Output Variable for Peer-to-Peer Data Exchange Output variable #1 This code is executed on unit #2 Network Analog Input Voltage Status \ANINTIO, \TANI, \TIO, VAR Network Analog Output \ANO\ANO , NTIO, \TANO, \TIO \ANO Network Analog Output StatusNetwork Digital Input Status \INNTIO, \TIN, \TIO, Varb Network Digital Output \OUT\OUT , NTIO, \TIO, \TOUT Network Digital Output Status \OUTVARB9=2\3OUT \TANI Transfer Network Analog Input Status\TANO Transfer Network Analog Output Status\TIO Range n = Default n/a\TIN Transfer Network Digital Input StatusDigital Outputs \TOUTTransfer Network Digital Output Status Analog Outputs