23:
M
ODBUS
TCP
C
OMMUNICATION
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
23
‐
9
Modbus
TCP
Communication
Format
This
section
describes
the
communication
format
used
for
Modbus
TCP
master
and
slave
communication.
Modbus
TCP
communication
format
starts
with
the
Modbus
TCP
header
followed
by
the
RTU
mode
communication
format
without
the
idle
3.5
characters
at
both
ends
and
CRC
as
shown
below.
Transaction
ID
The
Modbus
TCP
slave
(server)
returns
the
request
ID
sent
from
the
master
(client)
without
change.
When
receiving
the
returned
request
ID,
the
master
can
confirm
to
which
request
the
response
was
returned.
When
confirmation
is
not
required,
designate
0
as
an
transaction
ID.
Protocol
ID
Designate
0
to
identify
Modbus
TCP
protocol.
Message
Length
Designate
the
length
of
the
following
message
in
bytes.
Unit
ID
Designate
a
Modbus
TCP
slave
address
(1
through
247)
to
identify
the
unit.
Function
Code
Designate
a
function
code,
such
as
01
(read
coil
status)
and
02
(read
input
status).
See
Data
Designate
required
data
for
each
function.
Modbus
TCP
Communication
Format
Transaction
ID
Protocol
ID
Message
Length
(bytes)
Unit
ID
Function
Code
Data
2
bytes
2
bytes
2
bytes
1
byte
1
byte
N
bytes
RTU
Mode
Communication
Format
Idle
3.5
characters
Slave
No.
Function
Code
Data
CRC
Idle
3.5
characters
1
byte
1
byte
N
bytes
2
bytes
Modbus
TCP
Header
Summary of Contents for MICROSmart FC5A Series
Page 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Page 2: ......
Page 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Page 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...