EasyManua.ls Logo

Advantech ADAM-5000L/TCP

Advantech ADAM-5000L/TCP
341 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
Loading...
Planning Your Application Program
And the response should be:
Chapter 6
Figure 6-2: Response Comment Structure
6-3-2 Modbus Function Code Introduction
To full-fill the programming requirement, there is a series of function code
standard for users reference...
C
o
de
(He
x
)
N
a
m
e
U
s
a
ge
01
Re
ad
Co
il
Sta
t
u
s
Re
ad
D
i
sc
r
e
te
Ou
t
pu
t
Bit
02
R
ea
d
I
nput
St
at
us
R
ea
d
D
i
sc
r
e
t
e
I
nput
Bi
t
03
Re
ad
H
o
ldin
g
Reg
ister
s
R
ea
d
16-bi
t r
e
g
i
s
t
e
r
.
U
s
ed
t
o
r
e
ad
i
n
te
ge
r
o
r
04
R
ea
d
I
nput
R
e
gi
s
t
e
r
s
fl
oa
ti
ng
poi
nt
pr
oce
ss
dat
a
.
05
F
o
r
c
e
S
i
n
gl
e
C
oi
l
W
rit
e
da
t
a
t
o
f
o
rce
c
oi
l
O
N
/
O
FF
06
P
r
eset
S
i
ng
l
e
R
e
g
is
ter
W
ri
te
d
a
ta
i
n
16
-
b
it i
n
t
eg
er
fo
r
m
at
08
Loopback
D
i
a
gnos
i
s
D
i
agno
st
i
c
t
e
st
i
ng
o
f t
he
c
o
mm
uni
ca
ti
on
por
t
15
F
o
r
c
e
Mul
ti
pl
e
C
oi
l
s
Wri
t
e
mul
ti
pl
e
d
at
a
t
o
f
or
c
e
c
o
il
O
N
/
O
FF
16
P
r
eset
M
u
ltip
le
R
e
g
i
ster
s
W
ri
te
m
u
lti
p
le
da
ta
in
16
-
b
it i
n
t
eg
e
r
fo
r
m
at
Table 6-1: Response Comment Structure
Function Code 01
The function code 01 is used to read the discrete output’s ON/OFF sta-
tus of ADAM-5000/TCP in a binary data format. Request message
format for function code 01:
Command
Body
Station
Address
Function
Code
Start
Address
High
Byte
Start
Address
Low
Byte
Requested
Number of
Coil
High
Byte
Requested
Number of
Coil Low
Byte
ADAM-5000/TCP User’s Manual
6-33

Table of Contents

Related product manuals