EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 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 #441 background imageLoading...
Page #441 background image
Libraries
9.3 Modbus library instructions
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
441
The bit data (addresses 0xxxx and 1xxxx)
areas are read and written as
packed
bytes, that is, 8 bits are packed into each
byte of data. The least significant bit of the
first data byte is the addressed bit number
(the parameter Addr). If only a single bit is
written then the bit must be in the least
significant bit of the by
te pointed to by
DataPtr.
Format for Packed Bytes (Discrete Input A
d-
dresses)
For bit data
addresses that do not start on
even byte boundaries, the bit correspon
d-
ing to the starting address must be in the
least significant bit of the byte. See the
example of the packed byte format for 3
bits starting at Modbus address 10004.
Format for Packed Bytes (Discrete input starting
at address 10004)
When writing to the discrete output data type (coils), the user is responsible for placing the
bits in the correct bit positions within the packed byte before the data is passed to the
MBUS_MSG instruction via the DataPtr.
The Done output is OFF while a request is being sent and the response is being received.
The Done output is ON when the response is complete or when the MBUS_MSG instruction
was aborted because of an error.
The Error output is valid only when the Done output is ON.
See also
Modbus master execution error codes (Page 442)

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals