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 #421 background imageLoading...
Page #421 background image
415
Function code 29H: to write bit devices (up to 1024 bits can be write at one command).
D
L
E
S
T
X
10H 02H
FFH
00H
L
H
L H
L B0H B1 Bn
D
L
E
E
T
X
10H 03H
H L29H
.....
D
L
E
A
C
K
10H 06H
D
L
E
E
T
X
10H 03H
H L
01H 00H
XXH
00H
Example 1: Write the status below into the M100~M127 at the Salve #0 (total 28 bit devices)
CDH
00H
35H
EFH
8 bits
M127
0 0 0
0 0 0 0 0 0 0 0
1 1 1 1 1
1 1 1 1 1 1 1
1 1 1 1
0 0 00
M100(B0)
M116(B2)
0
M108(B1)
M124(B3)
D
L
E
S
T
X
10H 02H 29H00H
D
L
E
E
T
X
10H 03H
0BH 00H 92H 00H 01H 00H 1CH 00H 44H 34H
L H
L H L H H L
EFH 35HCDH 00H
B0 B2B1 B3
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
D
L
E
A
C
K
10H 06H
D
L
E
E
T
X
10H 03H
H L
01H 00H
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).
XXH
Command
to PLC
Feedback
from PLC
(complete)
Command
to PLC
Feedback
from PLC
(error)
Feedback
from PLC
(complete)
Data block
(Transmit unit: Byte)
SUM
Check
Number
of
devices
Function
code
Station
No.
Device code
Head
number
of devices
Number
of data
Bytes
Station
No.
As
above
Station
No.
As
above
Number
of data
Bytes
Number
of data
Bytes
Error code
SUM
Check
SUM
Check
Error code
28 bits in total, 28 = 1CH (the number of
devices)
Fill the unused
devices as “0”
Data write to
M100~M127
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

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