3 flow of operation, Flow of operation – Pilz PSSnet SHL 8T MRP User Manual
Page 36

Mode-based CLI
36
3.3 Flow of Operation
PSSnet SHL - Command Line Interface
Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
3.3 Flow of Operation
This section captures the flow of operation for the CLI:
D
The operator logs into the CLI session and enters the User Exec mode.
In the User Exec mode the (Pilz Product)(exec)> prompt is displayed
on the screen.
The parsing process is initiated whenever the operator types a command and
presses
terest. If the command is not found, the output message indicates where the
offending entry begins. For instance, command node A has the command
"
show spanning-tree
"
but the operator attempts to execute the com-
mand
"
show arpp brief
"
then the output message would be
(Pilz Product)(exec)> show sspanning-tree^. (Pilz Prod-
uct)%Invalid input detected at '^' marker. If the operator has
given an invalid input parameter in the command, then the message conveys
to the operator an invalid input was detected. The layout of the output is de-
picted below:
(Pilz Product)(exec) #show sspanning-tree
^
(Pilz Product)Invalid input detected at '^' marker.
Fig. 2:
Syntax Error Message
After all the mandatory parameters are entered, any additional parameters
entered are treated as optional parameters. If any of the parameters are not
recognized a syntax error message will be displayed.
D
After the command is successfully parsed and validated, the control of
execution goes to the corresponding CLI callback function.