Control functions
7.8 Communicating with the PLC
SINAMICS V90, SIMOTICS S-1FL6
Operating Instructions, 04/2019, A5E36037884-007
287
Write the PLC command from registers 40601 to 40609:
The table below formats a response for unsuccessful read operation (read request still not
completed).
03 h
1
Function code (read)
Number of following data bytes (20 h: 32 bytes ≙ 16 registers)
2F00 h
0004 h
5,6
7,8
40601: Check value 1 = request is processed
40602: Function 2F h(47), response length 0 (fault)
40603: Error code: 0004 Response Not Ready (response has still not been
Example: Set p1121 = 11.28 and p29130 = 2
The table below formats a request to write the parameter values of p1121 and p29130 from
slave number 1.
10 h
0258 h
000A h
1
2,3
4,5
Function code (write multiple)
Register start address
Number of registers to be written to (40601 … 40615)
Number of data bytes (15 registers, each 2 bytes = 30 bytes)