EasyManua.ls Logo

Xinje XD5 - Edit the Func Blocks

Xinje XD5
389 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
Loading...
299
b) Not editable: Don’t export the source code, if import the file, it’s not editable;
2. Import
Function: Import the existing Func Block file, to use in the PLC program.
Choose the Func Block, right click ‘Import Func Block from Disk’, choose the correct file,
and then click OK.
8-5Edit the Func Blocks
Example: Add D0 and D1 in PLC’s registers, and then assign the value to D2;
(1) In ‘Project’ toolbar, new create a Func Block, here we name the Func Block as ADD_2,
then edit C language program;
(2) Click ‘compile' after edition.
According to the information shown in the output blank, we can search and modify the
grammar error in C language program. Here we can see that in the program there is no ‘;’ sign
behind W [2] =W [0] + W [1].
The information list

Table of Contents

Related product manuals