Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/hardware/vertex/sharemegsvertex/floppy_bckup/lcuv2_2/LCU_ver2.2/LESEN.LST
Дата изменения: Mon Mar 5 21:23:50 2001
Дата индексирования: Thu Jan 15 11:19:53 2009
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п р п р п р п р п р п


CP581 PAGE 1
lesen 03-05-:1
14:23:50

Line# Source Line Microsoft C Compiler Version 6.00A

1 /******************************************************************/
2 /* */
3 /* VERTEX ANTENNENTECHNIK GMBH, DUISBURG, GERMANY */
4 /* */
5 /* NAME: L. VAN DER HORST */
6 /* DATE: */
7 /* VERSION: 1.3 */
8 /* */
9 /******************************************************************/
10 /* */
11 /* LESEN.C */
12 /* READOUT OF PLC VARIABLES AND MONITOR DATA */
13 /* */
14 /******************************************************************/
15 #ifdef SUN
16 #include
17 #endif
18 #include /* HEADER-DATEI aus MICROSOFT C */
19 #include /* HEADER-DATEI aus MICROSOFT C */
20 #include /* HEADER-DATEI aus MICROSOFT C */
21 #include /* HEADER-DATEI aus MICROSOFT C */
22 #include /* HEADER-DATEI aus MICROSOFT C */
23 #include /* HEADER-DATEI aus MICROSOFT C */
24 #include /* HEADER-DATEI aus MICROSOFT C */
25 #include "netzwerk.h"
26 #include "file.h"
27 #include "prog.h"
28 #include"extern.c"
29 void lesen(void)
30 {
31 int dummy[100];
32 /* FROM CPU --> CP581
33
34 ADRESSE VARIABLE FORMAT
35 ---------------------------------------------------------
36
37
38
39 */
40 fseek(datei1,2L,0);
41 fread(&time_plc,sizeof(time_plc),1,datei1);
42 fread(&time_off,sizeof(time_off),1,datei1);
43 fread(&prtrst,sizeof(prtrst),1,datei1);
44 fread(&gestdr,sizeof(gestdr),1,datei1);
45
46 fread(dummy,sizeof(dummy[0]),3,datei1);
47
48 fread(stat1,sizeof(stat1[0]),18,datei1);
49
50 fread(dummy,sizeof(dummy[0]),2,datei1);
51
52 fread(m_rate,sizeof(m_rate[0]),3,datei1);
53
54 fread(dummy,sizeof(dummy[0]),7,datei1);
55
56 fread(m_torque,sizeof(m_torque[0]),18,datei1);


CP581 PAGE 2
lesen 03-05-:1
14:23:50

Line# Source Line Microsoft C Compiler Version 6.00A

57
58 fread(dummy,sizeof(dummy[0]),2,datei1);
59
60 fread(m_pos,sizeof(m_pos[0]),5,datei1);
61
62 fread(offset,sizeof(offset[0]),3,datei1);
63 fread(pos_lim,sizeof(pos_lim[0]),6,datei1);
64
65 fread(setpoint,sizeof(setpoint[0]),3,datei1);
66
67 fread(dummy,sizeof(dummy[0]),4,datei1);
68
69 fread(&time_rs,sizeof(time_rs),1,datei1);
70 fread(inp_stat,sizeof(inp_stat[0]),10,datei1);
71
72 fread(out_stat,sizeof(out_stat[0]),10,datei1);
73 fread(dummy,sizeof(dummy[0]),2,datei1);
74
75
76 fread(anaout,sizeof(anaout[0]),8,datei1);
77
78
79 return;
80 }


lesen Local Symbols

Name Class Type Size Offset Register

dummy . . . . . . . . . . auto -00c8


Global Symbols

Name Class Type Size Offset

ad. . . . . . . . . . . . common struct/array 10 ***
alarm . . . . . . . . . . common int 2 ***
anaout. . . . . . . . . . extern struct/array 16 ***
buffer. . . . . . . . . . common far pointer 4 ***
datei1. . . . . . . . . . extern far pointer 4 ***
fread . . . . . . . . . . extern far function *** ***
fseek . . . . . . . . . . extern far function *** ***
gestdr. . . . . . . . . . extern unsigned int 2 ***
inp_stat. . . . . . . . . extern struct/array 20 ***
lese. . . . . . . . . . . common struct/array 526 ***
lesen . . . . . . . . . . global far function *** 0000
m_pos . . . . . . . . . . extern struct/array 20 ***
m_rate. . . . . . . . . . extern struct/array 14 ***
m_torque. . . . . . . . . extern struct/array 36 ***
offset. . . . . . . . . . extern struct/array 12 ***
out_stat. . . . . . . . . extern struct/array 24 ***
pos_lim . . . . . . . . . extern struct/array 24 ***
prtrst. . . . . . . . . . extern int 2 ***
setpoint. . . . . . . . . extern struct/array 12 ***


CP581 PAGE 3
lesen 03-05-:1
14:23:50

Microsoft C Compiler Version 6.00A


Global Symbols

Name Class Type Size Offset

stat1 . . . . . . . . . . extern struct/array 36 ***
time_off. . . . . . . . . extern long 4 ***
time_plc. . . . . . . . . extern long 4 ***
time_rs . . . . . . . . . extern long 4 ***

Code size = 02c0 (704)
Data size = 0002 (2)
Bss size = 0000 (0)

No errors detected