EasyManuals Logo

Xinje XDH Series User Manual

Xinje XDH Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #324 background imageLoading...
Page #324 background image
323
BOOL; //BOOL Quantity
INT8U; //8 bits unsigned integer
INT8S; //8 bits signed integer
INT16U //16 bits unsigned integer
INT16S //16 bits signed integer
INT32U //32 bits unsigned integer
INT32S //32 bits signed integer
FP32; // single precision floating
FP64; //double precision floating
Examples: #defineDHD*(INT32S*)&HD //DHD means double word HD
#define FFW*(FP64*)&D //FFW means double precision floating numbers
#define DDW*(long long* )&D //DDW means four words register
Explanation: DHD is 32-bit signed integer. DHD[0] represents a 32-bit signed integer power-
off holding register composed of HD0 and HD1.
Predefined macros: #define true 1
#define false 0
#define TRUE 1
#define FALSE 0
There is no non editable option for the export of header files, others are the same as the
source files.
In C, there are two rules for referencing header files, #include “xx.h”and #include
<xxx.h>. when using the header file in the PLC project, it needs to use #include ”xxx.h in
source file.
Do not use Marco definition #define SysRegAddr in the header file, this Marco definition
is ineffective in the header file, which only can be used in source file.
8-4 Import and Export the Functions
1
Export
(1) Function: Export the function as the file, then other PLC program can import to use;
tudonghoatoancau.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XDH Series and is the answer not in the manual?

Xinje XDH Series Specifications

General IconGeneral
BrandXinje
ModelXDH Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals