Supported platforms: CODESYS 3.5 SAFETY

 

NVRAMGETSIZE (External FUN)

Description

This function obtains NvRAM addressing parameters.

 

Limitations

-

 

Inputs

Input variable name

Data type

Range

Description

i_NvRAMIndex

DWORD

Depends on HW. Indexing starts from 0.

NvRAM index for which memory information is requested.

i_MemDAdr

POINTER TO MEMORYDIMENSION

≠0

Pointer for NvRAM information. On return contains NvRAM start address, NvRAM end address and NvRAM total size.

Return value

Data type

Description

BYTE

Returns always 0.

 

Example code

Application parameter NVMem implementation is included in SSeriesHardware library.

It is recommended to use non-volatile memory using Multitool Creator code template.

See also

 

 

 

Source file topic100455.htm

Last updated 13-Jun-2024