The NTPOLL command is not saved in the 6K’s
Example: | ; Identify network server #2 as | an | |
2NTIP1,172,54,125,34 | |||
2NTCONN1 | ; IP address 172.54.125.34 | server | #2 |
; Attempt connection to network | |||
2NTMPRI20,5,2,128 | ; File 20, variables 5 and 6 in | the AB | PLC are mapped to VARI128 |
2NTPOLL50 | ; and VARI129, respectively |
| interval to 50 milliseconds |
; Start polling network server #2, set |
NTRATE | Network Sharing Rate for |
|
| |
Type: | Network | Product | Rev | |
Syntax: | <!>NTRATE<i> | 6K | 5.3 | |
Units: | i = milliseconds |
|
| |
Range: | 0 | (off) to 1000 (50 milliseconds is recommend) |
|
|
Default: | 0 | (off) |
|
|
Response: | NTRATE: *NTRATE50 |
|
| |
See Also: | NTFEN, NTID, SYSPER, VARSHO, VARSHI |
|
|
Use the NTRATE command to establish the broadcast rate for VARSHO information packets to other 6K units. With NTRATE0, broadcasting and listening to other units that are broadcasting is disabled. With a value > 0, it is enabled. A rate of 50 is recommended. All sharing units should have the same NTRATE. NTRATE is not accepted unless the 6K is operating in NTFEN1 mode.
Each 6K unit internally updates its VARSHO data at the System Update Rate (2 milliseconds); therefore, the NTRATE command must be set to a value of ≥ 2 milliseconds. If you lengthen the System Update Rate (see SYSPER), increase the NTRATE value accordingly.
The NTRATE command is not saved in the 6K’s
Example:
;*************************************************************************************
;Send these setup commands to 6K unit #1
NTID1 | ; | Set unit 1's network | ID | to 1 |
NTRATE50 | ; | Unit 1 will broadcast | at |
;*************************************************************************************
;*************************************************************************************
;Send these setup commands to 6K unit #2
NTID2 | ; | Set unit 2's network | ID | to 2 |
NTRATE50 | ; | Unit 2 will broadcast | at |
page 27