-
Notifications
You must be signed in to change notification settings - Fork 12
/
iSeries.h
51 lines (46 loc) · 941 Bytes
/
iSeries.h
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
47
48
49
50
51
//
// iSeries.h
//
#pragma once
#include <string>
#ifdef iSERIESLAN
#pragma message("Compile Iseries with Fwlib/e1 - Lan")
#include "Fwlib/e1/fwlib32.h"
#endif
#ifdef iSERIESHSSB
#ifdef i160
#pragma message("Compile Iseries with 160i - HSSB")
#include "Fwlib/160/fwlib32.h"
#else
#pragma message("Compile Iseries with 30i - HSSB")
#include "Fwlib/30i/fwlib32.h"
#endif
#endif
class CCmdHandler;
#ifdef iSERIES
class CiSeries
{
public:
CiSeries(FanucShdrAdapter*);
~CiSeries(void);
int getStatus();
int getSpeeds();
int getPositions();
int getLine();
int getInfo();
int getVersion();
int getAlarmInfo();
int getToolInfo();
int getLoads();
int LogErrorMessage(std::string msg, short errcode);
int connect();
void disconnect();
FanucShdrAdapter* _adapter;
int nBlockNum;
std::string lastprognum;
std::string lastFeed,lastX, lastY, lastZ, lastA, lastB;
int mLag;
void saveStateInfo();
};
#include "iSeries.cpp"
#endif