a3369b.pdf - 第124页

Communication Interfaces VTK - TR -BA- 171e - 1 - User Manua l MDS 3080 -V 115 77 SCENARIO:SAVE:<Scenario no.>:<Segment 1 Setup, Segment 1 Number of Pulses, Segment 1 Scenario - Delay , Sg. 2 Setu p, Sg. 2 NP , …

100%1 / 195
Communication Interfaces
114
VTK-TR-BA-171e-1 - User Manual MDS 3080-V
71 WRITE:LCD:<text> (LCD = Liquid-crystal display)
Description:
With this command, an ASCII text including up to 32 characters can be writ-
ten on the screen. All the letters appear in form of capital letters.
Example:
Input:
WRITE:LCD:Hello World
Result:
The display shows:
HELLO WORLD
Return:
OK
72 SCENARIO:STATUS
Description:
This command tells if scenarios are “ON” or “OFF”. It also gives this
information for the four PLC-Stops.
Example:
Input:
SCENARIO:STATUS
Result:
Gives the ON/OFF status for scenarios and the four PLC-
Stops.
Return:
Scenario: OFF
PLCSTOP Scenario 1: OFF
PLCSTOP Scenario 2: OFF
PLCSTOP Scenario 3: OFF
PLCSTOP Scenario 4: OFF
73 SCENARIO:OFF
Description:
This command deactivates the use of scenarios.
Example:
Input:
SCENARIO:OFF
Result:
Use of scenarios is deactivated.
Return:
OK
74 SCENARIO:ON
Description:
This command activates the use of scenarios.
Example:
Input:
SCENARIO:ON
Result:
Use of scenarios is activated.
Return:
OK
75 SCENARIO:PLCSTOP:<Scenario no.>:OFF
Description:
This command deactivates the PLC-Stop. The number of the scenario can
be either 1, 2, 3 or 4.
Example:
Input:
SCENARIO:PLCSTOP:1:OFF
Result:
PLC-Stop for scenario 1 is deactivated.
Return:
OK
76 SCENARIO:PLCSTOP:<Scenario no.>:ON
Description:
This command activates the PLC-Stop. The number of the scenario can be
either 1, 2, 3 or 4.
Example:
Input:
SCENARIO:PLCSTOP:1:ON
Result:
PLC-Stop for scenario 1 is activated.
Return:
OK
Communication Interfaces
VTK-TR-BA-171e-1 - User Manual MDS 3080-V
115
77 SCENARIO:SAVE:<Scenario no.>:<Segment 1 Setup, Segment 1 Number of Pulses,
Segment 1 Scenario-Delay, Sg. 2 Setup, Sg. 2 NP, Sg. 2 Dl., Sg. 3 Setup, Sg. 3 NP, Sg. 3 Dl.,
Sg. 4 Setup, Sg. 4 NP, Sg. 4 Dl., Sg. 5 Setup, Sg. 5 NP, Sg. 5 Dl., Sg. 6 Setup, Sg. 6 NP, Sg. 6
Dl., Sg. 7 Setup, Sg. 7 NP, Sg. 7 Dl., Sg. 8 Setup, Sg. 8 NP, Sg. 8 Dl., Sg. 9 Setup, Sg. 9 NP, Sg.
9 Dl., Sg. 10 Setup, Sg. 10 NP, Sg. 10 Dl.>
Description:
This command saves the parameters of the given scenario. You only have
to enter parameters for the segments actually used. For every such
segment, you have to give the setup number, the number of pulses and
the scenario delay.
The parameters will be checked. Not enough parameters or illegal ones will
result in cancellation. Therefore, you always have to enter complete
segments with setup number, NP and Sc. delay. You can enter a maximum
of ten segments.
The scenario number can be 1, 2, 3 or 4, a setup number 0, 1, 2 or 3.
The NP can be between 1 and 32000 or 0, which would mean “infinite”.
The scenario delay will be given in 1/10 ms, i.e. 5 means 0.5 ms. The max
delay is 1000.0 ms, min delay is 0.1 ms (with heater 2.0 ms).
To delete a scenario use the version SCENARIO:SAVE:<scenario no.>:-”.
Example:
Input:
SCENARIO:SAVE:1:0,1,5,1,2,5,2,3,5,3,4,5,0,5,5,1,6,50,2,7,50,3,
8,50,0,9,50,1,10,50
Result:
The scenario parameters of scenario 1 are saved.
Return:
OK
78 SCENARIO:READ:<scenario no.>
Description:
This command gives you the scenario parameters of the named scenario
via the serial interface. The response follows the scheme “setup no. of
segment 1, number of pulses of segment 1, scenario delay of segment 1,
setup no. of segment 2, NP of segment 2, sc. delay of segment 2, …, sc.
delay of segment 10”. The scenario delay is given in 1/10 ms. The value 50
e.g. represents 5 ms.
Only the used segments of the scenario are given, the others are left out in
the output.
Example:
Input:
SCENARIO:READ:1
Result:
Gives the scenario parameters of scenario 1.
Return:
0,1,5,1,2,5,2,3,5,3,4,5,0,5,5,1,6,50,2,7,50,3,8,50,0,9,50,1,10, 50
79 SETUP:SAVE:<setup no.>:<RI>,<OT>,<FA>,<NL>,<NP>,<DL>
Description:
This command saves the given parameters in a setup. You always have to
provide the number of the setup and all six setup parameters.
All parameters will be checked. Not enough parameters, delay too short
with activated heater or incorrect values will lead to cancellation.
Parameters relating to time have to be specified in 1/10 ms.
Values lower than “1” are not admissible, only the open time can be “0”.
The minimum values for Falling and Rising depend on the Needle Lift (see
paragraph 7.4 "Minimum and Maximum Parameter Limits", page 61).
Specified values must be integer and positive.
Example:
Input:
SETUP:SAVE:1: 30,10,15,90,20,8
Result:
The parameters will be saved in the given setup and
checked.
Return:
OK
Communication Interfaces
116
VTK-TR-BA-171e-1 - User Manual MDS 3080-V
80 SETUP:ASAVE:<setup no.>:<RI>,<OT>,<FA>,<NL>,<NP>,<DL>
Description:
This command saves the given parameters in a setup. You always have to
provide the number of the setup and all six setup parameters.
All parameters will be checked. Not enough parameters, delay too short
with activated heater or incorrect values will lead to cancellation.
Parameters relating to time have to be specified in 1/10 ms, except for
“Falling” and “Rising”, which have to be entered in 1/100 ms. Values lower
than “1” are not admissible, only the open time can be “0”. The minimum
values for Falling and Rising depend on the Needle Lift (see paragraph 7.4
"Minimum and Maximum Parameter Limits", page 61).
Specified values must be integer and positive
Example:
Input:
SETUP:ASAVE:1: 30,10,15,90,20,8
Result:
The parameters will be saved in the given setup and
checked.
Return:
OK
81 SETUP:READ:<setup no.>
Description:
This command reads the parameters of a given setup. As value you have to
enter its number.
All values relating to time are given in 1/10 ms (i.e. 10 1.0 ms).
The minimum values for Falling and Rising depend on the Needle Lift
(see
paragraph 7.4 "Minimum and Maximum Parameter Limits", page 61).
Example:
Input:
SETUP:READ:1
Result:
Displays the parameters of the given setup.
Rising: 30 3.0 ms (ms = Milliseconds)
Open Time: 10 1.0 ms
Falling: 15 1.5 ms
Needle Lift: 90 %
Number of Pulses: 20
Delay: 8 0.8 ms
Return:
30,10,15,90,20,8