beautypg.com

Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 394

background image

Chapter 27
The Status File

27–26

Address

Description

5/02

5/01,

Fixed

S:15H

Baud Rate

Read/write. This byte value contains a code used to select the baud
rate of the processor on the DH–485 link.

SLC 5/02 processors provide a baud rate of 19200, 9600, 2400, or
1200. SLC 5/01 and fixed processors provide a baud rate of 19200
or 9600 only.

To change the baud rate from the default value of 19200, use either
the EDT_DAT or NODE_CFG functions of your HHT. The processor
uses code 1 for 1200 baud, code 2 for 2400 baud, code 3 for 9600
baud, and code 4 for 19200 baud.

Example showing runtime protection of baud rate 19200
(code 4):

S:15H equal to 4 and S:15L equal to 3

= 1027 decimal = 0403 hex = 0000 0100 0000 0011 binary

S:15H equal to 4

= 1024 decimal = 0400 hex = 0000 0100 0000 0000 binary

Example showing runtime protection for both baud rate 19200 (code
4) and node address 3:

MOV

MOVE
Source

1027

Dest

S:15

MVM

MASKED MOVE
Source

N7:100

Mask

FF00

Dest

S:15

MOV

MOVE
Source

1024

Dest

N7:100