105BCommunication processor
12.4 Universal serial interface (USS) communication
S7-1200 Programmable controller
570
System Manual, 11/2011, A5E02486680-05
Baud rate
Calculated minimum USS_PORT call
Interval ( milliseconds )
Drive message interval timeout per
drive ( milliseconds )
4800
212.5
638
9600
116.3
349
19200
68.2
205
38400
44.1
133
57600
36.1
109
115200
28.1
85
12.4.2
USS_DRV instruction
Table 12- 35 USS_DRV instruction
LAD / FBD
SCL
Description
Default view
Expanded view
"USS_DRV_DB"(
RUN:=_bool_in_,
OFF2:=_bool_in_,
OFF3:=_bool_in_,
F_ACK:=_bool_in_,
DIR:=_bool_in_,
DRIVE:=_usint_in_,
PZD_LEN:=_usint_in_,
SPEED_SP:=_real_in_,
CTRL3:=_word_in_,
CTRL4:=_word_in_,
CTRL5:=_word_in_,
CTRL6:=_word_in_,
CTRL7:=_word_in_,
CTRL8:=_word_in_,
NDR=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_,
RUN_EN=>_bool_out_,
D_DIR=>_bool_out_,
INHIBIT=>_bool_out_,
FAULT=>_bool_out_,
SPEED=>_real_out_,
STATUS1=>_word_out_,
STATUS3=>_word_out_,
STATUS4=>_word_out_,
STATUS5=>_word_out_,
STATUS6=>_word_out_,
STATUS7=>_word_out_,
STATUS8=>_word_out_);
The USS_DRV instruction exchanges data with a drive
by creating request messages and interpreting the drive
response messages. A separate function block should
be used for each drive, but all USS functions
associated with one USS network and PtP
communication port must use the same instance data
block. You must create the DB name when you place
the first USS_DRV instruction and then reference the
DB that was created by the initial instruction usage.
STEP 7 automatically creates the DB when you insert
the instruction.
1
LAD and FBD: Expand the box to reveal all the parameters by clicking the bottom of the box. The parameter pins that
are grayed are optional and parameter assignment is not required.