
Modbus Commands
C-4
TIWAY I Gateway User Manual
Modbus Protocol Overview (continued)
The
Gateway ignores messages that contain invalid characters. Messages
containing the following errors will also be ignored.
•
Incorrect checksum
•
Parity error
•
Framing errors
•
Incomplete transmission
This section outlines some of the differences between Modbus and TIW
AY I
network commands.
•
Whereas Modbus uses
Functions Codes, TIW
A
Y I uses
Primitives.
Primitives differ from Function codes in one important way: primitives
use TT
-types to allow one primitive to address different types of data.
W
ith Modbus a different function code is required for each type of data.
•
For all SIMA
TIC TI Series 505 PLCs, the first address for each type of
memory is always 1. Modbus PLCs by comparison allow 0 as the first
legal address.
•
If each system were to return one byte (8 bits) representing eight
discrete coils, they would each be positioned as shown in Figure C-2.
8
I000000
7654321 87654321
Coil
No.
Coil No.
Modbus PLCs SIMATIC TI PLCs
MSB LSB<
< <
MSB LSB
< < <
Figur
e C-2
Bit
Orientation
Invalid Characters
and Messages
Modbus Functions
Comentarios a estos manuales