Ntrate – Parker Hannifin GEM6K User Manual

Page 31

Advertising
background image

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:
2NTIP1,172,54,125,34

; Identify network server #2 as an Allen-Bradley PLC at
; IP address 172.54.125.34

2NTCONN1

; Attempt connection to network server #2

2NTMPRI20,5,2,128

; File 20, variables 5 and 6 in the AB PLC are mapped to VARI128
; and VARI129, respectively

2NTPOLL50

; Start polling network server #2, set interval to 50 milliseconds

NTRATE

Network Sharing Rate for Peer-to-Peer Communication

Type:

Network

Product Rev

Syntax:

<!>NTRATE<i>

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

6K 5.3

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

Advertising
This manual is related to the following products:

6K