/**********************************************************************/
/*                                                                    */
/*  File name : appli.H                                               */
/*  Date      : 08/07/98 08:43:29                                     */
/*  ----------------------------------------------------------------  */
/*  ISaGRAF project name : bottlef                                    */
/*                                                                    */
/**********************************************************************/

/* Global variables of the various programs */

/* Programs */

#define _SCC_MAIN	0X0001
#define _SCC_BEGIN	0X0002
#define _SCC_FILL	0X0003
#define _SCC_CORK	0X0004
#define _SCC_LABEL	0X0005

/* Steps */


/* Transitions */


/* Booleans */

#define _SCC_FILL_LIQ	0X0001
#define _SCC_TURN	0X0002
#define _SCC_ARM	0X0003
#define _SCC_DUMMY	0X0004
#define _SCC_STOP	0X0005
#define _SCC_RUN	0X0006
#define _SCC_BOTTLE_LAB2	0X0007
#define _SCC_BOTTLE_LAB1	0X0008
#define _SCC_BOTTLE_CORK3	0X0009
#define _SCC_BOTTLE_CORK2	0X000A
#define _SCC_BOTTLE_CORK1	0X000B
#define _SCC_BOTTLE_FIL4	0X000C
#define _SCC_BOTTLE_FIL3	0X000D
#define _SCC_BOTTLE_FIL2	0X000E
#define _SCC_BOTTLE_FIL1	0X000F
#define _SCC_BOTTLE2	0X0010
#define _SCC_BOTTLE1	0X0011
#define _SCC_CBOO00000001	0X0012
#define _SCC_CBOO00000000	0X0013
#define _SCC_FCPBEGIN	0X001A
#define _SCC_FCPFILL	0X001B
#define _SCC_FCPCORK	0X001C
#define _SCC_FCPLABEL	0X001D
#define _SCC_FCPMAIN	0X001E
#define _SCC_TMPB2	0X001F
#define _SCC_TMPB1	0X0020
#define _SCC_TMA020000	0X007A
#define _SCC_TMA020001	0X007B
#define _SCC_TMA020002	0X007C
#define _SCC_TMA020003	0X007D
#define _SCC_TMA020004	0X007E
#define _SCC_TMA020005	0X007F
#define _SCC_TMA020006	0X0080
#define _SCC_TMA020007	0X0081
#define _SCC_TMA020008	0X0082
#define _SCC_TMA020009	0X0083
#define _SCC_TMA02000A	0X0084
#define _SCC_TMA02000B	0X0085
#define _SCC_TMA02000C	0X0086
#define _SCC_TMA02000D	0X0087
#define _SCC_TMA02000E	0X0088
#define _SCC_TMA02000F	0X0089
#define _SCC_TMA020010	0X008A
#define _SCC_TMA020011	0X008B
#define _SCC_TMA020012	0X008C
#define _SCC_TMA020013	0X008D
#define _SCC_TMA020014	0X008E
#define _SCC_TMA020015	0X008F
#define _SCC_TMA020016	0X0090
#define _SCC_TMA020017	0X0091
#define _SCC_TMA020018	0X0092
#define _SCC_TMA020019	0X0093
#define _SCC_TMA02001A	0X0094
#define _SCC_TMA02001B	0X0095
#define _SCC_TMA02001C	0X0096
#define _SCC_TMA02001D	0X0097
#define _SCC_TMA02001E	0X0098
#define _SCC_TMA02001F	0X0099
#define _SCC_TMA020020	0X009A
#define _SCC_TMA020021	0X009B
#define _SCC_TMA020022	0X009C
#define _SCC_TMA020023	0X009D
#define _SCC_TMA020024	0X009E
#define _SCC_TMA020025	0X009F
#define _SCC_TMA020026	0X00A0
#define _SCC_TMA020027	0X00A1
#define _SCC_TMA020028	0X00A2
#define _SCC_TMA020029	0X00A3
#define _SCC_TMA02002A	0X00A4
#define _SCC_TMA02002B	0X00A5
#define _SCC_TMA02002C	0X00A6
#define _SCC_TMA02002D	0X00A7
#define _SCC_TMA02002E	0X00A8
#define _SCC_TMA02002F	0X00A9
#define _SCC_TMA020030	0X00AA
#define _SCC_TMA020031	0X00AB
#define _SCC_TMA020032	0X00AC
#define _SCC_TMA020033	0X00AD
#define _SCC_TMA020034	0X00AE
#define _SCC_TMA020035	0X00AF
#define _SCC_TMA020036	0X00B0
#define _SCC_TMA020037	0X00B1
#define _SCC_TMA020038	0X00B2
#define _SCC_TMA020039	0X00B3
#define _SCC_TMA02003A	0X00B4
#define _SCC_TMA02003B	0X00B5
#define _SCC_TMA02003C	0X00B6
#define _SCC_TMA02003D	0X00B7
#define _SCC_TMA02003E	0X00B8
#define _SCC_TMA02003F	0X00B9
#define _SCC_TMA020040	0X00BA
#define _SCC_TMA020041	0X00BB
#define _SCC_TMA020042	0X00BC
#define _SCC_TMA020043	0X00BD
#define _SCC_TMA020044	0X00BE
#define _SCC_TMA020045	0X00BF
#define _SCC_TMA020046	0X00C0
#define _SCC_TMA020047	0X00C1
#define _SCC_TMA020048	0X00C2
#define _SCC_TMA020049	0X00C3
#define _SCC_TMA02004A	0X00C4
#define _SCC_TMA02004B	0X00C5
#define _SCC_TMA02004C	0X00C6
#define _SCC_TMA02004D	0X00C7
#define _SCC_TMA02004E	0X00C8
#define _SCC_TMA02004F	0X00C9
#define _SCC_TMA020050	0X00CA
#define _SCC_TMA020051	0X00CB
#define _SCC_TMA020052	0X00CC
#define _SCC_TMA020053	0X00CD
#define _SCC_TMA020054	0X00CE
#define _SCC_TMA020055	0X00CF
#define _SCC_TMA020056	0X00D0
#define _SCC_TMA020057	0X00D1
#define _SCC_TMA020058	0X00D2
#define _SCC_TMA020059	0X00D3
#define _SCC_TMA02005A	0X00D4
#define _SCC_TMA02005B	0X00D5
#define _SCC_TMA02005C	0X00D6
#define _SCC_TMA02005D	0X00D7
#define _SCC_TMA02005E	0X00D8
#define _SCC_TMA02005F	0X00D9
#define _SCC_TMA020060	0X00DA
#define _SCC_TMA020061	0X00DB
#define _SCC_TMA020062	0X00DC
#define _SCC_TMA020063	0X00DD
#define _SCC_TMA020064	0X00DE
#define _SCC_TMA020065	0X00DF
#define _SCC_TMA020066	0X00E0
#define _SCC_TMA020067	0X00E1
#define _SCC_TMA020068	0X00E2
#define _SCC_TMA020069	0X00E3
#define _SCC_TMA02006A	0X00E4
#define _SCC_TMA02006B	0X00E5
#define _SCC_TMA02006C	0X00E6
#define _SCC_TMA02006D	0X00E7
#define _SCC_TMA02006E	0X00E8
#define _SCC_TMA02006F	0X00E9
#define _SCC_TMA020070	0X00EA
#define _SCC_TMA020071	0X00EB
#define _SCC_TMA020072	0X00EC
#define _SCC_TMA020073	0X00ED
#define _SCC_TMA020074	0X00EE
#define _SCC_TMA020075	0X00EF
#define _SCC_TMA020076	0X00F0
#define _SCC_TMA020077	0X00F1
#define _SCC_TMA020078	0X00F2
#define _SCC_TMA020079	0X00F3
#define _SCC_TMA02007A	0X00F4
#define _SCC_TMA02007B	0X00F5
#define _SCC_TMA02007C	0X00F6
#define _SCC_TMA02007D	0X00F7
#define _SCC_TMA02007E	0X00F8
#define _SCC_TMA02007F	0X00F9
#define _SCC_TMA020080	0X00FA
#define _SCC_TMA020081	0X00FB
#define _SCC_TMA020082	0X00FC
#define _SCC_TMA020083	0X00FD
#define _SCC_TMA020084	0X00FE
#define _SCC_TMA020085	0X00FF
#define _SCC_TMA020086	0X0100
#define _SCC_TMA020087	0X0101
#define _SCC_TMA020088	0X0102
#define _SCC_TMA020089	0X0103
#define _SCC_TMA02008A	0X0104
#define _SCC_TMA02008B	0X0105
#define _SCC_TMA02008C	0X0106
#define _SCC_TMA02008D	0X0107
#define _SCC_TMA02008E	0X0108
#define _SCC_TMA02008F	0X0109
#define _SCC_TMA020090	0X010A
#define _SCC_TMA020091	0X010B
#define _SCC_TMA020092	0X010C
#define _SCC_TMA020093	0X010D
#define _SCC_TMA020094	0X010E
#define _SCC_TMA020095	0X010F
#define _SCC_TMA020096	0X0110
#define _SCC_TMA020097	0X0111
#define _SCC_TMA020098	0X0112
#define _SCC_TMA020099	0X0113
#define _SCC_TMA02009A	0X0114
#define _SCC_TMA02009B	0X0115

/* Analogs */

#define _SCC_FILL_LEVEL	0X0001
#define _SCC_BOT_COUNT	0X0002
#define _SCC_CANA00000014	0X0003
#define _SCC_CANA00000001	0X0004
#define _SCC_CANA00000000	0X0005
#define _SCC_FBL_RET	0X0006
#define _SCC_TMPI2	0X0007
#define _SCC_TMA030000	0X0008
#define _SCC_TMA030001	0X0009
#define _SCC_TMA030002	0X000A
#define _SCC_TMA030003	0X000B
#define _SCC_TMA030004	0X000C
#define _SCC_TMA030005	0X000D
#define _SCC_TMA030006	0X000E
#define _SCC_TMA030007	0X000F
#define _SCC_TMA030008	0X0010
#define _SCC_TMA030009	0X0011
#define _SCC_TMA03000A	0X0012
#define _SCC_TMA03000B	0X0013
#define _SCC_TMA03000C	0X0014
#define _SCC_TMA03000D	0X0015
#define _SCC_TMA03000E	0X0016
#define _SCC_TMA03000F	0X0017
#define _SCC_TMA030010	0X0018
#define _SCC_TMA030011	0X0019
#define _SCC_TMA030012	0X001A
#define _SCC_TMA030013	0X001B
#define _SCC_TMA030014	0X001C
#define _SCC_TMA030015	0X001D
#define _SCC_TMA030016	0X001E
#define _SCC_TMA030017	0X001F
#define _SCC_TMA030018	0X0020
#define _SCC_TMA030019	0X0021
#define _SCC_TMA03001A	0X0022
#define _SCC_TMA03001B	0X0023
#define _SCC_TMA03001C	0X0024
#define _SCC_TMA03001D	0X0025
#define _SCC_TMA03001E	0X0026
#define _SCC_TMA03001F	0X0027
#define _SCC_TMA030020	0X0028
#define _SCC_TMA030021	0X0029
#define _SCC_TMA030022	0X002A
#define _SCC_TMA030023	0X002B
#define _SCC_TMA030024	0X002C
#define _SCC_TMA030025	0X002D
#define _SCC_TMA030026	0X002E
#define _SCC_TMA030027	0X002F
#define _SCC_TMA030028	0X0030
#define _SCC_TMA030029	0X0031
#define _SCC_TMA03002A	0X0032
#define _SCC_TMA03002B	0X0033
#define _SCC_TMA03002C	0X0034
#define _SCC_TMA03002D	0X0035
#define _SCC_TMA03002E	0X0036
#define _SCC_TMA03002F	0X0037
#define _SCC_TMA030030	0X0038
#define _SCC_TMA030031	0X0039
#define _SCC_TMA030032	0X003A
#define _SCC_TMA030033	0X003B
#define _SCC_TMA030034	0X003C
#define _SCC_TMA030035	0X003D
#define _SCC_TMA030036	0X003E
#define _SCC_TMA030037	0X003F
#define _SCC_TMA030038	0X0040
#define _SCC_TMA030039	0X0041
#define _SCC_TMA03003A	0X0042
#define _SCC_TMA03003B	0X0043
#define _SCC_TMA03003C	0X0044
#define _SCC_TMA03003D	0X0045
#define _SCC_TMA03003E	0X0046
#define _SCC_TMA03003F	0X0047
#define _SCC_TMA030040	0X0048
#define _SCC_TMA030041	0X0049
#define _SCC_TMA030042	0X004A
#define _SCC_TMA030043	0X004B
#define _SCC_TMA030044	0X004C
#define _SCC_TMA030045	0X004D
#define _SCC_TMA030046	0X004E
#define _SCC_TMA030047	0X004F
#define _SCC_TMA030048	0X0050
#define _SCC_TMA030049	0X0051
#define _SCC_TMA03004A	0X0052
#define _SCC_TMA03004B	0X0053

/* Timers */

#define _SCC_SPEED	0X0001
#define _SCC_T1	0X0002
#define _SCC_CTMR000001F4	0X0003
#define _SCC_CTMR00000000	0X0004
#define _SCC_TMA050000	0X0005
#define _SCC_TMA050001	0X0006
#define _SCC_TMA050002	0X0007
#define _SCC_TMA050003	0X0008
#define _SCC_TMA050004	0X0009
#define _SCC_TMA050005	0X000A
#define _SCC_TMA050006	0X000B
#define _SCC_TMA050007	0X000C
#define _SCC_TMA050008	0X000D
#define _SCC_TMA050009	0X000E
#define _SCC_TMA05000A	0X000F
#define _SCC_TMA05000B	0X0010
#define _SCC_TMA05000C	0X0011
#define _SCC_TMA05000D	0X0012
#define _SCC_TMA05000E	0X0013
#define _SCC_TMA05000F	0X0014
#define _SCC_TMA050010	0X0015
#define _SCC_TMA050011	0X0016

/* Messages */

#define _SCC_TMA060000	0X0001
#define _SCC_TMA060001	0X0002
#define _SCC_TMA060002	0X0003
#define _SCC_TMA060003	0X0004
#define _SCC_TMA060004	0X0005
#define _SCC_TMA060005	0X0006
#define _SCC_TMA060006	0X0007
#define _SCC_TMA060007	0X0008
#define _SCC_TMA060008	0X0009
#define _SCC_TMA060009	0X000A
#define _SCC_TMA06000A	0X000B
#define _SCC_TMA06000B	0X000C
#define _SCC_TMA06000C	0X000D
#define _SCC_TMA06000D	0X000E
#define _SCC_TMA06000E	0X000F
#define _SCC_TMA06000F	0X0010
#define _SCC_TMA060010	0X0011
#define _SCC_TMA060011	0X0012
#define _SCC_TMA060012	0X0013
#define _SCC_TMA060013	0X0014
