Write command (10h) – Nor-Cal SDC15 Controller User Manual

Page 183

Advertising
background image

8-9

Write command (10H)

Send Message

This is a command capable of writing the contents of continuous data addresses

from a specified write start data address with a single message. The following is

an example of send message while writing data:

(Example) Writing 01A0H and 0E53H in the continuous data addresses

consisting of 2 words following 1501W (05DDH).

MODBUS ASCII

(1) Start of message
(2) Station address
(3) Write command 10H
(4) Write start word address 1
(5) Write data count
(6) Write data count X 2
(7) Write data 1
(8) Write data 2
(9) Checksum
(10) CR
(11) LF

MODBUS RTU

(1) Station address
(2) Write command 10H
(3) Write start word address 1
(4) Write data count
(5) Write data count x 2
(6) Write data 1
(7) Write data 2
(8) Checksum

Chapter 8. MODBUS COMMUNICATIONS FUNCTIONS

(2)

(1)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10) (11)

3AH

:

30H

0

31H

1

31H

1

30H

0

30H

0

35H

5

44H

D

44H

D

30H

0

30H

0

30H

0

32H

2

30H

0

34H

4

30H

0

31H

1

30H

0

30H

0

45H

E

35H

5

33H

3

30H

0

35H

5

0DH

CR

41H

A

0AH

LF

(3)

(4)

01H

(1)

10H

(2)

05H DDH 00H 02H 04H

(5)

01H A0H 0EH 53H 45H B9H

(6)

(7)

(8)

Advertising