5 debugging commands for database failures, 5 debugging commands for database failures -14 – ElmoMC SimplIQ Software Manual User Manual

Page 110

Advertising
background image

SimplIQ

Software Manual

Development Aids

MAN-SIMSW (Ver. 1.4)

7-14

BH record transmission time can be quite long. A record of 2000 long numbers is
approximately 8000 bytes, which take at least 4 second to transmit over RS-232 at a baud
rate of 19,200. During this time:
ƒ

The user program continues to run normally.

ƒ

CAN commands are accepted and processed normally.

ƒ

RS-232 commands are accepted and executed normally, although the transmission of the
response to them is deferred until after the BH upload is complete.

Example:
A BH command may return the string:
0008000100013f80000000010000

This string is decomposed to a field as follows:
00

(int) 08 8 bytes per data item in the message

0001

Only one data item in message, after the 20-byte overhead

0001

Record taken every TS

3f800000

To scale, multiply result by 1.0. The floating point IEEE representation of 1.0

is

0x3f800000.

00010000

First data item: 0x10000 = 65536

7.5

Debugging Commands for Database Failures

If the motor cannot start due to a database failure (error EC=54), there is evidently a conflict
of parameters, even though each parameter value may be within the permitted range. In
order to determine what has occurred, type CD to display a complete report of the CPU and
database status, including the parameter that has caused the conflict.

Advertising