HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

 

 

 

 

 

Entry

Meaning

 

Remarks

 

TextSpace

The space (in characters) to store user program

 

 

 

 

backup. This numbers specifies the entire space –

 

 

 

including overhead, such as text-opcode matching

 

 

 

data. The net text length is smaller that this

 

 

 

 

number.

 

 

 

CodeSpace

The space (in characters) to store compiled op-

 

 

 

 

code.

 

 

 

NameLength

The maximum length (in characters) of a symbolic

 

 

 

function or variable name.

 

 

 

StackDepth

The maximum depth of the stack of a specified

 

 

 

 

VAC machine

 

 

 

DataSpace

The space for global user variables, in words.

 

 

 

MaxUserFuncs

The maximum number of user functions and

 

 

 

 

labels.

 

 

 

MaxUserVars

The maximum number of user variable names

 

 

 

 

(either local or global)

 

 

 

UserPartMaxSize

The maximal size of user code partition in the flash

This parameter is

 

 

in bytes

 

absent at the flash

 

 

 

 

firmware

 

 

 

 

partition

 

208

The parameter “UserPartMaxSize” is calculated according to the formulae: UserPartMaxSize = TotalFlashSize – UserPartStart,

where TotalFlashSize is a maximal physical memory space of the flash and UserPartStart is a start address of the user code partition (see TOC at the address 88).

The [Automatic Functions] entries detail which events can be responded by dedicated automatic routines, and what are the priorities. The list of events and priorities is hard coded into the Harmonica.

The list of Harmonica automatic routines is:

Entry

Meaning

AUTOEXEC

Priority for AUTOEXEC – the routine that executes automatically

 

upon power-up

AUTO_ER

Priority for AUTO_ER – the routine that executes automatically

 

upon motor fault event

AUTO_STOP

 

AUTO_BG

 

AUTO_RLS

Priority for AUTO_RLS – the routine that executes automatically

 

upon change on Logic Level of RLS (Reverse Limit Switch)

AUTO_FLS

Priority for AUTO_FLS – the routine that executes automatically

 

upon change on Logic Level of FLS (Forward Limit Switch)

AUTO_ENA

 

AUTO_I1

Priority for AUTO_I1 – the routine that executes automatically

 

when Digital Input #1 goes high

AUTO_I2

Priority for AUTO_I2 – the routine that executes automatically

 

when Digital Input #2 goes high

AUTO_I3

Priority for AUTO_I3 – the routine that executes automatically

 

when Digital Input #3 goes high

AUTO_I4

Priority for AUTO_I4 – the routine that executes automatically

 

when Digital Input #4 goes high

AUTO_I5

Priority for AUTO_I5– the routine that executes automatically when

 

Digital Input #5 goes high

AUTO_I6

Priority for AUTO_I6 – the routine that executes automatically

 

when Digital Input #6 goes high

Page 210
Image 210
Elmo HARmonica, HARSFEN0602 software manual 208, Autostop Autobg Autorls, Autoena AUTOI1, AUTOI5, AUTOI6