FC_SetParameter

 

FC_SetParameter - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Write parameter.

Description

This function writes the parameter addressed by i_stLogAdr.

NOTE: The processing time of this function is usually some 10 milliseconds if a parameter of type ES is to be written. There must be a one-time increase in the times for the cycle check of the task in which the function is executed. For example FC_CycleCheckTimeSet(500, 2)

Interface

Input

Data type

Description

i_stLogAdr

ST_LogicalAddress

Logical address of the parameter

i_dwBuffer

DWORD

Buffer address

i_diSize

DINT

Buffer size in bytes

Return Value

Data type

Description

DINT

0: OK

Otherwise: Error detected