Communication processor and Modbus TCP
13.7 Legacy USS communication (CM/CB 1241 only)
13.7.3.2
USS_DRV (Swap data with drive) instruction
Table 13- 121 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.
1240
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_);
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 associat-
ed with one USS network and PtP communication port
must use the same instance data block. You must cre-
ate 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, V4.2, 09/2016, A5E02486680-AK
S7-1200 Programmable controller