//-------------------------------------------------------// // Project Code : ESS100K3L-01-19 // File Name : Status.h // Created on : 2019. 06. 07. // Description : // Author : KimJeongWoo // Last modified Date : //-------------------------------------------------------// #ifndef _STATUS_H_ #define _STATUS_H_ #ifdef __cplusplus extern "C" { #endif struct sSTATUS_LIST { // Uint16 Standby :1; // 0x0001 Uint16 Ready :1; // 0x0004 Uint16 InvRun :1; Uint16 BeRun :1; Uint16 SystemFault :1; // 0x0800 Uint16 ParallelMode :1; // 0x0800 Uint16 Master :1; Uint16 InvBuilup :1; Uint16 CmdSlvRun :1; Uint16 CmdSlvReset :1; Uint16 VbeParaMode :1; Uint16 Reserved :6; }; union uSTATUS { Uint16 all; struct sSTATUS_LIST bit; }; #pragma SET_DATA_SECTION(".Status") extern union uSTATUS Status; extern unsigned int FlagCanBeMasSlvChange; extern unsigned int FlagParaInvBuilup; //병렬운전시 Mas,Slv Inv 빌드업 확인 변수 extern int RemoteMode; extern int SetRemoteMode; #pragma SET_DATA_SECTION() #ifdef __cplusplus } #endif /* extern "C" */ #endif /* _STATUS_H_ */