EasyManuals Logo

Xinje XD Series User Manual

Xinje XD 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

Other manuals for Xinje XD Series

Questions and Answers:

Question and Answer IconNeed help?

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

Xinje XD Series Specifications

General IconGeneral
Input Voltage24V DC
Storage Temperature-20°C to 70°C
Protection ClassIP20
TypePLC
SeriesXD
Programming LanguageLadder Logic, Instruction List
Communication InterfaceRS232, RS485
Power Supply24V DC
Digital InputsAvailable (number varies by model)
Digital OutputsAvailable (number varies by model)
Analog InputsAvailable (number varies by model)
Analog OutputsAvailable (number varies by model)
Output TypeRelay, Transistor
Number of InputsVaries by model (see Digital Inputs and Analog Inputs)
Number of OutputsVaries by model (see Digital Outputs and Analog Outputs)
Operating Temperature0°C to 50°C
Humidity5% to 95% (non-condensing)