Elmo HARSFEN0602, HARmonica software manual 207, Contents of Text8, Contents of Text9

Models: HARmonica HARSFEN0602

1 220
Download 220 pages 51.63 Kb
Page 209
Image 209

HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

 

 

 

 

0x20

 

Not used

 

0x40

FLAG_Assign

System parameter can be assigned a value

 

0x80

 

Not used

 

0x100

FLAG_Operator

Virtual Assemby Code or operator

 

0x200

FLAG_SysFunc

System function

 

0x400

FLAG_Mnemonic

System command - Mnemonic

 

0x800

FLAG_String

Indicate this is a string command

 

0x1000

FLAG_Array

Command is not executed automatically upon reset

 

0x2000

FLAG_ResetIgnore

Indicate this is a string command

 

0x4000

FLAG_NotProgram

Command can’t be used from a user program

 

0x8000

FLAG_NotPdo

CAN binary interpreter can’t use command.

 

Example:

The value of 4100 is interpreted as 0x1000+0x4. It means that the related command is a report that returns a long integer.

The value of 4164 is interpreted as 0x1000+0x40+0x4. It means that the related command refers to a parameter that can be either set or reported.

207

16.2.6Contents of Text8

This text duplicates the definitions of the struct RecVarType within the file “ComVars.h”. The first line of the file is:

Recorded Signals = xxxx

Where xxxx is the number of recorded signals. Next come xxxx text lines with the format

{ RV index, Float_Flag , Length , Text name}

RV index specifies the signal index for use with the Harmonica RV command. Float_Flag = 1 for floating point quantity, 0 for integer

Length = 4 for short, 8 for long

Text name is a delimited text signal name like "Main Speed" Last comes

End Recorded Signals

16.2.7Contents of Text9

This file specifies the setup of the Harmonica.

It has the .ini format:

[Program Limits]

TextSpace=xxx

CodeSpace=xxx

MaxUserFuncs=xxx

MaxUserVars=xxx

NameLength=xxx

StackDepth=xxx

DataSpace=xxx

UserPartMaxSize=xxx

[Automatic Functions] AUTO_ERR=1 AUTO_DIN1=2

...

The [Program Limits] entries are:

Page 209
Image 209
Elmo HARSFEN0602, HARmonica software manual 207, Contents of Text8, Contents of Text9