105BCommunication processor
12.4 Universal serial interface (USS) communication
Baud rate
4800
9600
19200
38400
57600
115200
12.4.2
USS_DRV instruction
Table 12- 35 USS_DRV instruction
LAD / FBD
Default view
Expanded view
LAD and FBD: Expand the box to reveal all the parameters by clicking the bottom of the box. The parameter pins that
1
are grayed are optional and parameter assignment is not required.
570
Calculated minimum USS_PORT call
Interval ( milliseconds )
212.5
116.3
68.2
44.1
36.1
28.1
SCL
"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_);
Drive message interval timeout per
drive ( milliseconds )
638
349
205
133
109
85
Description
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.
System Manual, 11/2011, A5E02486680-05
S7-1200 Programmable controller