Set timeout, Set variables – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual

Page 114

Advertising
background image

7–27

Communication Commands

Publication 1770Ć6.5.16 - October 1996

set timeout

Sets the maximum amount of time that the asynchronous interface
module waits for an acknowledgment to its message transmission.
The setting is expressed as the number of cycles of an internal clock.
(For example, 40 cycles equals 1 second for the 1770-KF2.)

C

CMD

06

STS

FNC

04

TNS

DATA

R

CMD

46

STS

TNS

DST SRC

SRC DST

See the following table for settings and defaults for the module you are

setting. Put the number of desired cycles in the DATA field.
DATA:

Module

Cycles/Sec

Default

1770ĆKF2

40

128 cycles (approx. 3 sec)

1771ĆKE/KF

40

128 cycles (approx. 3 sec)

1771ĆKG

38

38 cycles (approx. 1 sec)

1771ĆKGM

63

63 cycles (approx. 1 sec)

1775ĆKA

40

128 cycles (approx. 3 sec)

1785ĆKE

29

128 cycles (approx. 4.5 sec)

set variables

Sets the maximum ENQs, NAKs, and timeout all at once.
This command is a combination of the set NAKs, set CPU mode, and
set timeout commands.

C

CMD

06

STS

FNC

02

TNS

R

CMD

46

STS

TNS

DATA (3 bytes)

DST SRC

SRC DST

DATA - Put the timeout setting in the first byte, the NAKs setting in the second byte, and the

ENQs in the third byte.

PLCĆ2

PLCĆ3

PLCĆ5

PLCĆ2

PLCĆ3

PLCĆ5

Advertising