Siemens SIMATIC S7-1200 Manual - Page 15

Browse online or download pdf Manual for Switch Siemens SIMATIC S7-1200. Siemens SIMATIC S7-1200 40 pages. Controlling several fans (ebm-papst) via modbus rtu
Also for Siemens SIMATIC S7-1200: Manual (30 pages), Operating Instructions Manual (36 pages), Safety Programming Manualline (48 pages), Manual (17 pages), Manual (31 pages), Manual (49 pages), Manual (20 pages)

Siemens SIMATIC S7-1200 Manual
3 Principle of Operation
3.2 Blocks
errorUss
errorStatusUss
Function
In this application example, the block has only the following tasks:
Calls and supplies the USS_PORT system instruction
Saves the USS_PORT output parameter STATUS when ERROR = true
Call interval
On the one hand, the call interval of the cyclic interrupt OB in which the
UssCyclicInterrupt user FB and finally the UDD_PORT or USS_Port_Scan system
instruction are called
should be as short as possible to minimize the communication time;
on the other hand, it must be long enough to process each communication
request reliably without errors.
3.2.2

UssCyclic [FB1]

Call
All activities to be cyclically performed while processing USS communication
should be combined in this block.
Figure 3-6: UssCyclic user FB
The block name is intended to indicate that the FB is called by a cycle OB.
3
Communication errors are only signaled at the ERROR and STATUS outputs of the
*)
USS_PORT instruction. Therefore, it is sufficient to read out the error code of this
*)
system instruction.
SINAMICS V20 at S7-1200/1500 via USS
Entry ID: 109480894,
V1.0,
Name
OUT parameter
Bool
Word
09/2018
Data type
Communication error
Saved ERROR error bit of the
USS_PORT or USS_Port_Scan
system instruction. In the
example, this error bit is reset
using the HMI or the watch table.
Error code
Saved STATUS error code of the
USS_PORT or USS_Port_Scan
system instruction. In the
example, this error code is reset
to 0000
hex
watch table.
Meaning
3
3
using the HMI or the
15