-
Notifications
You must be signed in to change notification settings - Fork 0
/
MOTORCON.VAR
46 lines (36 loc) · 1.91 KB
/
MOTORCON.VAR
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
;-----------------------------------------------------------------------------
;----------------------- fuzzyTECH 5.52 MCU-MP Edition -----------------------
;-----------------------------------------------------------------------------
;------------------- Code Generator: Assembler Source Code -------------------
;--------------- Code Generation Date: Mon Nov 30 05:12:42 2009 --------------
;------------------------ Fuzzy Logic System: MOTORCON -----------------------
;-----------------------------------------------------------------------------
;---------- (c) 1991-2001 INFORM GmbH, Pascalstr. 23, D-52076 Aachen ---------
;-------- Inform Software Corp., 2001 Midwest Rd., Oak Brook, IL 60523 -------
;-----------------------------------------------------------------------------
FAMILY EQU 1
BANKED SET 0
RESOLUTION EQU 8
LARGE_RT EQU 0
include "ftmp16xx.inc"
;------ NOTE: FUZZY_RAM_START must be defined in the users main program ------
if FUZZY_RAM_START < RAM_START
ERROR "First location for FUZZY_RAM_START is too low"
endif
CBLOCK FUZZY_RAM_START
lv0_DatoError
lv1_DatoReferencia
lv2_DatoMotor
invalidflags
ENDC
include "ftpubdec.var"
CBLOCK
fuzvals
ENDC
CBLOCK fuzvals + .16
FUZZY_RAM_END
ENDC
if FUZZY_RAM_END > RAM_END
ERROR "FUZZY_RAM_END exceeds internal RAM"
endif
include "ftpubdec.mac"