2 the echo, 3 background transmission, 2 the echo -2 – ElmoMC SimplIQ Software Manual User Manual

Page 17: 3 background transmission -2

Advertising
background image

SimplIQ

Software Manual

Communication with the Host

MAN-SIMSW (Ver. 1.4)

3-2

Typical examples of assignments are:
MO<CR>

Asks the drive to report the value of the variable MO.

MO=1<CR>

Sets the value of 1 to the MO variable.

CA[2]=1;

Sets the value of the CA[2] variable. CA[N] denotes a

vector of parameters that can be accessed by their index.

An example of a free evaluation is:
(5+sin(PX) * sqrt(abs(VX))

Returns a numerical value to the terminal.

More details about text interpretation are given in

Chapter 4:

.

The drive responds to commands communicated by the host it but never initiates a
message to the host if not requested. The syntax of the drive response is:
{<value>}{<error code>}<terminator>
where:
ƒ

value

Parameter value (optional, if the command requests a
parameter)

ƒ

error code

A binary number that may be interpreted according to the
error code tables (refer to the EC command in the

SimplIQ

Command Reference Manual).

ƒ

terminator

“;” if the host command has been successfully executed;
otherwise “;?”

3.2

The Echo

When using RS-232, each character received by the drive is echoed back to the host. The
echo is immediate, per each received character. The echo can be turned off using the
EO=0 command.

When communicating via RS-232, the Composer must have the echo turned on in

order to operate.

3.3

Background Transmission

When the host sends the BH=n command to the drive, the drive uploads the recorder
data to the host. The uploading process may take a few seconds, during which time the
drive is available to receive new commands from the host.

For the command sequence BH=1;MO=0<CR>, the drive will begin to transmit the
recorder data immediately. A few milliseconds later, while the recorder data is still being
transmitted, the drive will execute the MO=0 command. It will then store the response
message to the command in order to transmit it later, immediately after the record
upload terminates.

If the host has not been informed of the communication parameters, it may

transmit a series of terminators and attempt to use several baud rates until it
receives a matching sequence of echoes.

Advertising