Control functions
7.8 Communicating with the PLC
SINAMICS V90, SIMOTICS S-1FL6
286
Operating Instructions, 04/2019, A5E36037884-007
Byte
Description
User data
0001 h
2F10 h
8001 h
0202 h
1001 h
04BF h
0000 h
1001 h
0460 h
0000 h
7,8
9,10
11,12
13,14
15,16
17,18
19,20
21,22
23,24
25,26
40601: DS47 Control = 1 (activate request)
40602: Function 2F h (47), request length 16 bytes (10 h)
40603: Request reference = 80 h, request identifier = 1 h
40604: V90 = 2 h, number of parameters = 2
40605: Attribute, number of elements of the first parame-
ter
40606: First parameter number = p1215
40607: First parameter subindex = 0
40608: Attribute, number of elements of the second parame-
ter
40609: Second paramter number = p1120
40610: Second parameter subindex = 0
Write the PLC command from registers 40601 to 40610:
The table below formats a response for successful read operation.
Byte
Description
Header
01 h
03 h
20 h
0
1
2
Slave address
Function code (read)
Number of following data bytes (20 h: 32 bytes
≙
16 registers)
User data
0002 h
2F0E h
8001 h
0202 h
0301 h
0001 h
0801 h
4142 h
6666 h
3,4
5,6
7,8
9,10
11,12
13,14
15,16
17,18
19,20
40601: DS47 Control = 2 (request was executed)
40602: Function code 2F h (47), response lengths 14 bytes (0e h)
40603: Request reference mirrored = 80 h,
response identifier = 1 (request parameter)
40604: V90 = 2 h, number of parameters = 2
40605: Format, number of elements of the first parameter
40606: First parameter value = 1
40607: Format, number of elements of the second parameter
40608: Second paramter value = 12.15 (41426666 h)
40609: Second paramter value