EasyManuals Logo
Home>Delta>Control Systems>EtherCAT

Delta EtherCAT User Manual

Delta EtherCAT
481 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
Operating MRAM on PAC EtherCAT Programming Guide
30-4 March, 2017
30
30.3 _ECAT_Master_MRAM_Write_DWord_Data
Syntax
U16 PASCAL _ECAT_Master_MRAM_Write_DWord_Data(U16 CardNo, U32 Index, U32
DataNum, U32 *Data)
Purpose
Write the U32 data (DWord) to the specified address of MRAM in PAC.
Note: Delta MH1 and MP1 series PAC provide 128K byte retentive memory space. The API allows Double
Word type data to access the retentive memory. Index 0 will occupy byte 0, byte 1, byte 2 and byte 3, index
1 occupies byte 2, byte 3, byte 4 and byte 5 and so on. The memory will conflict with the index space, thus,
when the index value is odd, error will occur.
Parameter
Name Data type Property Description
CardNo U16 Number Card number
Index U32 Value
Range: 0 ~ 65535
Odd numbers are not allowed.
DataNum U32
Quantity
Data number to be written into the memory
Data U32*
Data array
Data array to be written into the memory
Example
U16 Status = 0;
U16 CardNo = 16;
U32 data [3] = { 1, 2, 3};
// Write data to the last three data space of retentive memory.
U32 Index=65530, DataNum=3;
Status= _ECAT_Master_MRAM_Write_DWord_Data(CardNo, Index, DataNum, data);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta EtherCAT and is the answer not in the manual?

Delta EtherCAT Specifications

General IconGeneral
BrandDelta
ModelEtherCAT
CategoryControl Systems
LanguageEnglish

Related product manuals