EasyManuals Logo
Home>Siemens>Control Unit>SIMOCODE pro

Siemens SIMOCODE pro Function Manual

Siemens SIMOCODE pro
344 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 #102 background imageLoading...
Page #102 background image
Communication
2.3 Modbus communication
SIMOCODE pro - Communication
102 Function Manual, 11/2018, A5E40508495002A/RS-AC/003
Function code 05 - Write Single Coil
Function
This function enables the Modbus master system to write an individual bit from the
SIMOCODE pro bit memory area.
A valid address from the bit memory area is expected as the start address. The selected
address must be designated as writable (see the tables in Section Modbus RTU data tables
(Page 277), "Access" column).
0000h for a logical zero and FF00h for a logical one are accepted as data. Any other value is
impermissible and given a negative acknowledgment.
Request message frame
Slave address
Function code
Start address
Data
CRC
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Response message frame
Slave address
Function code
Start address
Data
CRC
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Example
Controlling a motor connected to SIMOCODE pro from slave address 16 (assuming the
assignment of the process image corresponds to the default settings). For this purpose, bit
address 00 0x02 (see the tables in Section Modbus RTU data tables (Page 277)) is
controlled with logical one. This bit address lies within the process image output that can be
accessed both by bit access and by register access.
Request message frame
Slave address
Function code
Start address
Data
CRC
1 byte
1 byte
2 bytes
2 bytes
2 bytes
0x10
0x05
0x00 0x02
0xFF 0x00
0x....
Response message frame
Slave address
Function code
Start address
Data
CRC
1 byte
1 byte
2 bytes
2 bytes
2 bytes
0x10
0x05
0x00 0x02
0xFF 0x00
0x....

Table of Contents

Other manuals for Siemens SIMOCODE pro

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMOCODE pro and is the answer not in the manual?

Siemens SIMOCODE pro Specifications

General IconGeneral
BrandSiemens
ModelSIMOCODE pro
CategoryControl Unit
LanguageEnglish

Related product manuals