Communication processor and Modbus TCP
12.4 Universal serial interface (USS) communication
Parameter and type
SPEED
OUT
STATUS1
OUT
STATUS3
OUT
STATUS4
OUT
STATUS5
OUT
STATUS6
OUT
STATUS7
OUT
STATUS8
OUT
When the initial USS_DRV execution occurs, the drive indicated by the USS address
(parameter DRIVE) is initialized in the Instance DB. After this initialization, subsequent
executions of USS_PORT can begin communication to the drive at this drive number.
Changing the drive number requires a CPU STOP-to-RUN mode transition that initializes the
instance DB. Input parameters are configured into the USS TX message buffer and outputs
are read from a "previous" valid response buffer if any exists. There is no data transmission
during USS_DRV execution. Drives communicate when USS_PORT is executed. USS_DRV
only configures the messages to be sent and interprets data that might have been received
from a previous request.
You can control the drive direction of rotation using either the DIR input (Bool) or using the
sign (positive or negative) with the SPEED_SP input (Real). The following table indicates
how these inputs work together to determine the drive direction, assuming the motor is wired
for forward rotation.
Table 12- 39 Interaction of the SPEED_SP and DIR parameters
SPEED_SP
Value > 0
Value > 0
Value < 0
Value < 0
718
Data type
Description
Real
Drive Current Speed (scaled value of drive status word 2): The value of
the speed of the drive as a percentage of configured speed.
Word
Drive Status Word 1: This value contains fixed status bits of a drive.
Word
Drive Status Word 3: This value contains a user-configurable status
word on the drive.
Word
Drive Status Word 4: This value contains a user-configurable status
word on the drive.
Word
Drive Status Word 5: This value contains a user-configurable status
word on the drive.
Word
Drive Status Word 6: This value contains a user-configurable status
word on the drive.
Word
Drive Status Word 7: This value contains a user-configurable status
word on the drive.
Word
Drive Status Word 8: This value contains a user-configurable status
word on the drive.
DIR
0
1
0
1
Drive rotation direction
Reverse
Forward
Forward
Reverse
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG