Siemens SIMATIC S7-1200 Manuale - Pagina 13

Sfoglia online o scarica il pdf Manuale per Interruttore Siemens SIMATIC S7-1200. Siemens SIMATIC S7-1200 49. Controlling several fans (ebm-papst) via modbus rtu
Anche per Siemens SIMATIC S7-1200: Manuale (30 pagine), Manuale di istruzioni per l'uso (36 pagine), Programmazione della sicurezza Manualline (48 pagine), Manuale (40 pagine), Manuale (17 pagine), Manuale (31 pagine), Manuale (20 pagine)

Siemens SIMATIC S7-1200 Manuale
3 Mode of Operation
3.3

PLC data types

3.3.1

"typeCyclic"

The PLC data type "typeCyclic" includes the order of the data to be exchanged.
Table 3-3
Name
Data type
last
Int
data
Array[0..9] of

"typeData"

3.3.2
"typeData"
The PLC data type "typeData" includes the parameters for reading and writing to
the registers.
Table 3-4
Name
Data type
mbAddr
UInt
mode
USInt
addr
UDInt
len
UInt
3.3.3

"typeFan"

The PLC data type "typeFan" contains the data of the respective fan.
Table 3-5
Name
mbAddr
UInt
errorStatus
Word
holding0
Array[53248..53258]
of
"typeRegister"
holding1
Array[53504..53674]
of
"typeRegister"
input
Array[53248..53286]
of
"typeRegister"
productionData
"typeProductionData"
Controlling several fans (ebm-papst) via Modbus RTU
Entry ID: 109476801,
V2.0,
Last field element to be edited
Order of the data to exchange
Modbus address of the slaves to be addressed (1...247)
Mode selection: Defines the type of request [read (0 for holding registers; 104
for input registers) or write(1)]
Start address in the slave: Defines the start address of the data to access:
453249 to 453259 (16#D000 to 16#D00A) and
453505 to 453675 (16#D100 to 16#D1AA) for
reading (mode = 0) and writing holding registers (mode = 1)
53248 to 53286 (16#D000 to 16#D026) for
reading input registers (mode = 104)
Data length: Defines the number of words which this request shall access (a
maximum of 9 words is possible due to the slave)
Data type
Modbus address of the slaves to be addressed (1...247)
Status evaluation (error code)
Holding register:
D000 (reset) to D00A (operating minutes counter)
Holding register:
D100 (fan address) to D1AA (fan type)
Input register:
D000 (identification) to D026 (reserved)
Fan production data
09/2018
Description
Description
Description
13