EasyManuals Logo

Advantech ADAM-5000L/TCP User Manual

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
Page #104 background imageLoading...
Page #104 background image
Planning Your Application Program
Response message format for function code 08:
Chapter 6
Com
m
a
nd
B
ody
S
t
ati
on
A
dd
r
es
s
F
un
c
ti
on
C
od
e
Da
ta
b
y
tes
r
eceive
d
Example: 01 08 00 02 00 04
Function Code 15 (0F hex) Forces each coil in a
sequence of coils to either ON or OFF. Request message
format for function code 15:
Com
m
and
B
ody
Re
qu
este
d
Re
qu
este
d
St
a
t
ion
F
unc
ti
on
St
a
rt
St
a
rt
Nu
m
b
er
o
f
Nu
m
b
er
o
f
By
t
e
Fo
r
c
e
Fo
r
c
e
Addr
es
s
Code
Addr
es
s
Addr
es
s
Da
taH
i
gh
Da
taL
o
w
Hig
h
B
y
te
Low
Byt
e
Coil
H
i
gh
By
t
e
Coi
l
Low
By
t
e
Count
By
t
e
By
t
e
Example: Request to force a series of 10 coils starting at address 00020
(14 hex) in ADAM-5000/TCP.
01 0F 00 14 00 0A 02 CD 01
The query data contents are two bytes: CD 01 hex, equal to
1100 1101 0000 0001 binary. The binary bits are mapped to the
addresses in the following way.
Bit:1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 1
Address (000XX): 27 26 25 24 23 2221 20 -------------------2928
Response message format for function code 15:
The normal responses return the station address, function code, start
address, and requested number of coil forced.
Command
Body
Station
Address
Function
Code
Start
Address
High
Byte
Start
Address
Low
Byte
Requested
Numberof
Coil
High
Byte
Requested
Numberof
Coil
Low
Byte
Example: 01 0F 00 14 00 0A
ADAM-5000/TCP User’s Manual
6-37

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Advantech ADAM-5000L/TCP and is the answer not in the manual?

Advantech ADAM-5000L/TCP Specifications

General IconGeneral
BrandAdvantech
ModelADAM-5000L/TCP
CategoryI/O Systems
LanguageEnglish

Related product manuals