Parameter
Inhibit
Fault
Table 9- 30
USS_CTRL example program
Refer to "Using the USS protocol instructions" (Page 548) for a listing of USS protocol
instructions and error codes and example programs.
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Description
Indicates the state of the "Inhibit" bit on the drive:
0: not inhibited
•
1: inhibited
•
To clear the "Inhibit" bit, the following bits must be OFF:
"Fault"
•
"RUN"
•
"OFF2"
•
"OFF3"
•
Indicates the state of the "Fault" bit:
0: no fault
•
1: fault
•
The drive displays the fault code. (Refer to the manual for your drive). To clear the
"Fault" bit, correct the cause of the fault and turn on the "F_ACK" bit.
To display in LAD or FBD:
Network 1 // Control box for drive 0
LD SM0.0
= L60.0
LD M10.0
= L63.7
LD M10.1
= L63.6
LD M10.2
= L63.5
LD M10.3
= L63.4
LD M10.4
= L63.3
LD L60.0
CALL USS_CTRL, L63.7, L63.6, L63.5, L63.4,
L63.3, 0, 1, 100.0, M1.0, VB2, VW4, VD6,
M0.1, M0.2, M0.3, M0.4
To display in STL only:
Network 1 // Control box for drive 0
LD SM0.0
CALL USS_CTRL, M10.0, M10.1, M10.2, M10.3,
M10.4, 0, 1, 100.0, M1.0, VB2, VW4, VD6,
M0.1, M0.2, M0.3, M0.4
Libraries
9.5 USS library
553