Uss_Port (Edit Communication Via Uss Network) Instruction - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents
Table 12- 34 Calculating the time requirements
Baud rate
1200
2400
4800
9600
19200
38400
57600
115200
12.4.2

USS_PORT (Edit communication via USS network) instruction

Table 12- 35 USS_PORT instruction
LAD / FBD
Table 12- 36 Data types for the parameters
Parameter and type
PORT
IN
BAUD
IN
USS_DB
INOUT
ERROR
OUT
STATUS
OUT
Typically, there is only one USS_PORT instruction per PtP communication port in the
program, and each call of this function handles a transmission to or from a single drive. All
USS functions associated with one USS network and PtP communication port must use the
same instance DB.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Calculated minimum USS_PORT call
Interval ( milliseconds )
790
405
212.5
116.3
68.2
44.1
36.1
28.1
SCL
USS_PORT(
PORT:=_uint_in_,
BAUD:=_dint_in_,
ERROR=>_bool_out_,
STATUS=>_word_out_,
USS_DB:=_fbtref_inout_);
Data type
Description
Port
After you install and configure a CM or CB communication device, the
port identifier appears in the parameter helper drop-list available at the
PORT box connection. The assigned CM or CB port value is the device
configuration property "hardware identifier". The port symbolic name is
assigned in the "System constants" tab of the PLC tag table.
DInt
The baud rate used for USS communication.
USS_BASE
The name of the instance DB that is created and initialized when a
USS_DRV instruction is placed in your program.
Bool
When true, this output indicates that an error has occurred and the
STATUS output is valid.
Word
The status value of the request indicates the result of the scan or
initialization. Additional information is available in the
"USS_Extended_Error" variable for some status codes.
Communication processor and Modbus TCP
12.4 Universal serial interface (USS) communication
Drive message interval timeout per
drive ( milliseconds )
2370
1215
638
349
205
133
109
85
Description
The USS_PORT instruction handles communication
over a USS network.
715
Table of Contents
loading

Table of Contents