Parker Hannifin GEM6K manual Ntrate, Network Sharing Rate for Peer-to-Peer Communication

Models: GEM6K 6K

1 47
Download 47 pages 8.21 Kb
Page 31
Image 31
NTRATE

The NTPOLL command is not saved in the 6K’s non-volatile memory. If you wish the 6K to re-establish the NTPOLL polling rate when you cycle power or issue a RESET command, put the NTPOLL command in the startup program assigned with the STARTP command.

Example:

; Identify network server #2 as

an Allen-Bradley PLC at

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 Peer-to-Peer Communication

 

 

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 non-volatile memory. If you wish the 6K to re-establish the NTRATE broadcasting rate when you cycle power or issue a RESET command, put the NTRATE command in the startup program assigned with the STARTP command.

Example:

;*************************************************************************************

;Send these setup commands to 6K unit #1

NTID1

;

Set unit 1's network

ID

to 1

NTRATE50

;

Unit 1 will broadcast

at

50-millisecond intervals

;*************************************************************************************

;*************************************************************************************

;Send these setup commands to 6K unit #2

NTID2

;

Set unit 2's network

ID

to 2

NTRATE50

;

Unit 2 will broadcast

at

50-millisecond intervals

page 27

Page 31
Image 31
Parker Hannifin GEM6K manual Ntrate, Network Sharing Rate for Peer-to-Peer Communication