Nexen RSD200 964531 User Manual

Page 23

Advertising
background image

2

FORM NO. L-21161-E-0108

11.0 APPeNDIx

RS232 Communications can be used to broadcast

Diagnostic Parameters from the RSD200 to a device

such as a PLC or computer. At the same time, the PLC

or computer would control the Start/Stopped and Splice

signals to the RSD200.

Serial Communication is achieved with RS232 through

a null modem cable. Data Transmission for each byte

follows the format “19200, N, 8, 1” (19200 baud, No

Parity, 8 data bits, 1 stop bit) with no handshaking.

Data is transmitted in 8 bit binary format, meaning that

a number 0 to 255 is considered 1 byte and a number

0 to 65535 or -32676 to +32676 is considered two

bytes. If a data item is two bytes long, the MSb is sent/

received first and the LSb second.

Data is sent and received in Message Packets that are

comprised of bytes of information (Refer to Table 3).

The Checksum can be used as an error-checking tool

to confirm the data sent on one end is the same as the

data received on the other end. Use the Start byte to

designate the beginning of a new message packet as

well as the Stop byte to designate that the entire packet

was sent/received. The Packet Size is the number of

bytes in the packet, excluding the start and stop bytes.

For commands sent from a PLC/Computer to the
RSD200, refer to Table 4.

For commands and/or data sent from the RSD200
to a PLC/Computer, refer to Table 5.

The Functional Test command can be used to confirm

the communications are working properly.
1. From a PLC/Computer, send a Functional Test mes-

sage packet (See Table 4).

2. If functioning properly, the RSD200 will immediately

send a Functional Test packet back to the PLC/
Computer (See Table 5).

The Machine Start/Stopped command operates as a

maintained input therefore the Rotary Mode Switch

needs to be in the “1” position (Refer to Start/Stopped

section.)

B

YTE

N

UMBER

D

ESCRIPTION

1

e

t

y

B

t

r

a

t

S

1

o

t

l

a

u

q

e

e

u

l

a

v

,

2

e

z

i

S

t

e

k

c

a

P

p

o

t

S

&

tr

a

t

S

g

n

i

d

u

l

c

x

e

,

3

D

I

d

n

a

m

m

o

C

n

o

it

c

n

u

f

e

h

t

s

e

if

it

n

e

d

i

,

?

-

4

,

a

t

a

D

)

y

n

a

fi

(

h

t

g

n

e

l

e

l

b

a

ir

a

v

1

+

?

m

u

s

k

c

e

h

C

f

o

r

e

d

n

i

a

m

e

r

ti

g

i

d

-

o

w

t

e

h

t

,

e

h

t

f

o

n

o

it

a

m

m

u

s

e

h

t

f

o

n

o

i

s

i

v

i

d

e

h

t

0

0

1

h

ti

w

D

I

d

n

a

m

m

o

C

d

n

a

s

e

t

y

b

a

t

a

D

.]

0

0

1

D

O

M

)

D

I

d

n

a

m

m

o

C

+

a

t

a

D

(

.

e

.i

[

2

+

?

e

t

y

B

p

o

t

S

0

o

t

l

a

u

q

e

e

u

l

a

v

,

Table  message Packet Protocol

C

OmmAND

ID

F

UNCTION

e

xAmPLe

6

Start Diagnostics

1, 3, 6, 6, 0

7

Stop Diagnostics

1, 3, 7, 7, 0

14

Splice - True (Data=1) 1, 4, 14, 1, 15, 0

14

Splice - False

(Data=2)

1, 4, 14, 2, 16, 0

15

Machine Start
(Date = 1)

1, 4, 15, 1, 16, 0

15

Machine Stopped
(Data = 2)

1, 4, 15, 2, 17, 0

16

Functional Test

1, 3, 16, 16, 0

Table  message Packets for PLC/Computer to RSD

C

OmmAND

ID

F

UNCTION

e

xAmPLe

6

Receive Diagnostics Data

1, 13, 6,

Data,

Checksum, 0

Data

Range

Arm Position

0-255

Splice

0/1

Start/Stopped

0/1

Output

0-255

Pressure

0-10,000

Tension

0-10,000

Adaptation

0-10,000

16

Functional Test

1, 3, 16, 16,

0

Table  message Packets for RSD to PLC/Computer

C

OMMuniCatiOnS

P

ROtOCOl

Advertising
This manual is related to the following products: