Asycube - Asyril SA
Programming Guide
©
Copyright Asyril S.A.
000.101.572
Version : A1
17/83
3.3. Questions and answers
Here are some recurrent questions and their answers for the integration with TCP/IP
communication.
3.3.1. Which vibration set or sequence is currently selected?
To know which vibration set is selected, use the command
For the selected sequence, use the command
3.3.2. How do I know if some parameters of the current vibration set
have been modified?
To obtain the state of the selected vibration set, use the command
{?50}
. If the
returned value is 1, parameters have been modified.
3.3.3. What is the duration of a specific sequence?
The duration of a sequence (or a centering and feeding) is returned by the execution
function. For example, the command {ES:(10;20;-0.1;0.8;1)} will receive as answer
the string
{ES:(10;20;-0.1;0.8;1;1830)}
and 1830 is the duration of the sequence in
milliseconds.
3.3.4. How do I know when a vibration or a sequence is finished?
For the vibration, the remaining time of the platform vibration is given by the answer
of the command
{?42}
. For the hopper, use the command
{?44}
and for the
sequence
{?46}
. The value returned indicates the remaining time in milliseconds.
3.3.5. How do I backup all vibration set on the computer?
If you do not use the Asycube HMI, you have to read all the vibration parameters
vibration by vibration and save the received data in a file. For example, use the
command
{LCA}
for the vibration A. The returned values correspond to the
parameters of this vibration (amplitude of actuator 1, frequency of actuator 1, etc)
For the hopper vibration A, the corresponding command is
{LBA}
.