Parker Hannifin 6K 사용자 설명서

다운로드
페이지 47
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 
Transfer Network Status
 
Type: 
Network 
Product Rev 
Syntax: 
<!><n>TNTS<.i> 
Units: 
n = server # 
i = bit number of status register (see table below) 
Range: 
n = 1-6 
i = 1-8 
Default: 
n/a 
Response: 
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 
6K 5.3 
 
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) 
 
 
See Also: 
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) 
Connection Open.   
Client 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). 
Polling Enabled.  This bit is set when polling is enabled with NTPOLL. 
Error 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 
Syntax <!>TNTSF 
Units N/A 
Range N/A 
Default N/A 
Response 
*TNTSF:  (see example below) 
See Also NTCONN, NTIP, NTCLS, NTPOLL, [ NTS ], TNTS 
Product Rev 
6K N.N.N 
 
 
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 # 
*                         1   2   3   4   5   6   
page 30