- ページ 21
スイッチ Siemens SIMATIC S7-1200のPDF マニュアルをオンラインで閲覧またはダウンロードできます。Siemens SIMATIC S7-1200 49 ページ。 Controlling several fans (ebm-papst) via modbus rtu
Siemens SIMATIC S7-1200 にも: マニュアル (30 ページ), 取扱説明書 (36 ページ), セーフティ・プログラミング (48 ページ), マニュアル (40 ページ), マニュアル (17 ページ), マニュアル (31 ページ), マニュアル (20 ページ)
![Siemens SIMATIC S7-1200 マニュアル](/uploads/products/server2/5263685/5263685.jpg)
3 Mode of Operation
Name
P type
error
OUT
errorStatus
OUT
fanNumber
IN_OUT
req
IN_OUT
dataPtr
IN_OUT
manual
IN_OUT
The FC "ReadWrite" was made to resemble the instruction "Modbus_Master" and
places the manual register access to the last position of the data transfer of FB
"EbmPapst" that is to be processed cyclically.
Execution of the FC "ReadWrite" may hence be delayed by max. 400 ms * number
of fans to be addressed ("lastFan").
Note
For a more detailed description of the communication instructions
"Modbus_Comm_Load" and "Modbus_Master", see the STEP 7 V15 online help
or the chapter
3.5.1
Mode of operation
The function mechanism is demonstrated at the example of "reading the 6 holding
registers starting from address 16#D108 of fan no. 2" in
Figure 3-5
FC „ReadWrite"
Controlling several fans (ebm-papst) via Modbus RTU
Entry ID: 109476801,
V2.0,
Data type
FC "ReadWrite" was completed with errors (active for one
Bool
cycle)
Status evaluation (error code) of FC "ReadWrite"
Word
USInt
Fan to be addressed
(is limited by the FC: 1 ≤ fanNumber ≤ lastFan)
Request of manual access via FC "ReadWrite" (is reset after
Bool
completion)
Array[0..8] of
Data buffer with the values to read or write
UInt
PLC data type to exchange data with the FB "EbmPapst"
"typeManual"
"Modbus RTU"
in the S7-1200 system manual (\8\).
InOut „manual"
req
done
09/2018
Comment
Figure
3-5.
FB „EbmPapst"
Index
Cyclic
[fan
Index]
21