Siemens SIMATIC S7 System Manual page 552

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Libraries
9.5 USS library
RUN parameter
RUN (RUN/STOP) indicates whether the drive is on (1) or off (0). When the "RUN" bit is on,
the drive receives a command to start running at the specified speed and direction. In order
for the drive to run, the following must be true:
● Drive must be selected as "Active" in USS_INIT.
● "OFF2" and "OFF3" must be set to 0.
● "Fault" and "Inhibit" must be 0.
When "RUN" is off, a command is sent to the drive to ramp the speed down until the motor
comes to a stop:
● The "OFF2" bit is used to allow the drive to coast to a stop.
● The "OFF3" bit is used to command the drive to stop quickly.
Resp_R parameter
The "Resp_R" (response received) bit acknowledges a response from the drive. All the
Active drives are polled for the latest drive status information. Each time the CPU receives a
response from the drive, the "Resp_R" bit is turned on for one scan and all the following
values are updated:
Parameter
F_ACK
(fault
acknowledge)
DIR
(direction)
Drive
(drive address)
Type
(drive type)
Speed_SP
(speed setpoint)
Error
Status
Speed
Run_EN
(RUN enable)
D_Dir
552
Description
Bit that acknowledges a fault in the drive. The drive clears the fault ("Fault" bit)
when "F_ACK" goes from 0 to 1.
Bit that indicates in which direction the drive should move.
Input for the address of the drive to which the USS_CTRL command is to be sent.
Valid addresses: 0 to 31
Input that selects the type of drive
Drive speed as a percentage of full speed:
Negative values of "Speed_SP" cause the drive to reverse its direction of rota-
tion.
Range: -200.0% to 200.0%
Byte that contains the result of the latest communications request to the drive. The
USS protocol execution error codes (Page 560) define the error conditions that
could result from executing the instruction.
Raw value of the status word returned by the drive. The figures below show the
status bits for standard status word and main feedback.
Drive speed as a percentage of full speed. Range: -200.0% to 200.0%
Indicates the drive condition:
Running (1)
Stopped (0)
Indicates the drive's direction of rotation
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents