EasyManuals Logo

Delta DVP-15MC Series User Manual

Delta DVP-15MC Series
972 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 #429 background imageLoading...
Page #429 background image
DVP-15MC Series Motion Controller Operation Manual
8-342
_8
Boolean
Bit string Integer
Real
number
Time, date
POINTER
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
Data
Length
OutOrder
CRC16
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
CRC16 instruction is used to calculate the CRC value of the specified data.
The instruction performs the calculation of the CRC value according to the starting address specified by
Data and number of bytes specified by Length.
The calculation result is put in the output parameter CRC16. The arrangement for the bytes of the CRC
value is specified by OutOrder.
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software if any
input variable is omitted.
Programming Example
The variable table and program
Variable name
Address
Data type
Current value
CRC_EN
BOOL
TRUE
IN_Data
%MB100
ARRAY[1..6] OF BYTE
[16#01,16#03,16#10,16#01,16#00,16#02]
IN_Length
UINT
6
IN_OutOrder
BOOL
FALSE
OUT_CRC
WORD
16#910B
When CRC_EN changes from FALSE to TRUE, the CRC16 instruction checks the 6 bytes
[16#01,16#03,16#10,16#01,16#00,16#02] in IN_Data.
The calculation result is 16#910B which is put in OUT_CRC.
CRC
EN ENO
Data Out
Length
OutOrder
ADR(IN_Data[1])
IN_Length
IN_OutOrder
OUT_CRC
CRC EN_

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-15MC Series and is the answer not in the manual?

Delta DVP-15MC Series Specifications

General IconGeneral
BrandDelta
ModelDVP-15MC Series
CategoryController
LanguageEnglish

Related product manuals