EasyManuals Logo

Vigor VS Series User Manual

Vigor VS Series
484 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #420 background imageLoading...
Page #420 background image
414
Function code 28H: to write word devices (up to 64 words can be write at one command).
D
L
E
S
T
X
10H 02H
FFH
00H
L
H
L H
L L LH H H
D
L
E
E
T
X
10H 03H
H L28H
.....
D
L
E
D
L
E
A
C
K
A
C
K
10H
10H
06H
06H
D
L
E
D
L
E
E
T
X
E
T
X
10H
10H
03H
03H
H
H
L
L
01H
01H
00H
00H
Example 1: Write the values 2048H and 300H into the D7000 and D7001 at the Salve #0 (two 16-bit word devices)
D
L
E
S
T
X
10H 02H 28H00H
D
L
E
E
T
X
10H 03H
0BH 00H A0H 00H 70H 00H 02H 00H 42H 30H
L H
L H L H H L
D
L
E
A
C
K
10H 06H 00H
D
L
E
E
T
X
10H 03H
00H 01H 00H 30H 31H
L H H L
Data write
to
D7000
48H 00H20H 03H
L LH H
Example 2: Write the value 89AB1234H into the C210 at the Salve #0 (a 32-bit double word device)
XXH
The error code in feedback string at a successful
communication is 00H; but if the error code is not 00H,
that means error happened (refer to the list at the
beginning of this section).
00H
XXH
Station
No.
Function
code
Device code
Head
number
of devices
Number
of
devices
Data
to be
written
Data
to be
written
SUM
Check
SUM
Check
SUM
Check
SUM
Check
SUM
Check
Number
of data
Bytes
Number
of data
Bytes
Number
of data
Bytes
Number
of data
Bytes
Error code Error code
Function
code
Error code
Device code
Number
of data
Bytes
Station
No.
As
above
Station
No.
As
above
Station
No.
Station
No.
Head
number
of devices
Number
of
devices
Command
to PLC
Feedback
from PLC
(error)
Feedback
from PLC
(complete)
Command
to PLC
Feedback
from PLC
(complete)
Data write
to
D7001
D
L
E
S
T
X
10H 02H 28H00H
D
L
E
E
T
X
10H 03H0BH 00H ADH 10H 02H 00H 01H 00H 36H 44H
L H
L H L H H L
34H ABH12H 89H
LL LH HL HH
D
L
E
A
C
K
10H 06H 00H
D
L
E
E
T
X
10H 03H
00H 01H 00H 30H 31H
L H H L
SUM
Check
SUM
Check
Function
code
Error code
Device code
Number
of data
Bytes
Number
of data
Bytes
Station
No.
Station
No.
Head
number
of devices
Number
of
devices
Command
to PLC
Feedback
from PLC
(complete)
Data write to C210

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vigor VS Series and is the answer not in the manual?

Vigor VS Series Specifications

General IconGeneral
BrandVigor
ModelVS Series
CategoryController
LanguageEnglish