228
Manual – IPOSplus®
17
Standard functions
Compiler – Functions
A variable structure containing the process data is defined in the Compiler by the
MCP-
DATA variable name;
:
The process data is coded according to MOVILINK.
A variable structure containing the parameter data is defined in the Compiler by the
MC-
PARADATA variable name;
:
Proceed as follows when making parameter settings:
1. Entry of service, index and data
2. Start the parameter setting process by setting StartPar to 1.
3. Wait for the service to be performed; end is indicated when StartPar is set to 0.
4. Evaluate ParaResult. If an error has occurred, the data value is invalid. If no error
occurred, the service was successful.
Argument
H
First variable of the variable structure
Example
See the function _MovCommOn (page 229)
Data structure for H":
H"+0
Contains the error code after connection, or zero if there was no error 0x05000002 indicates
the connection has timed out.
H"+1
H"+2
H"+3
H"+4
H"+5
H"+6
PO1 data of process data exchange
PI1 data of process data exchange
PO2 data of process data exchange
PI2 data of process data exchange
PO3 data of process data exchange
PI3 data of process data exchange
H*+0
Contains the error code after the parameter service has been performed, or contains zero if
there was no error The errors are coded according to MOVILINK.
H*+1
0: No action or parameter data exchange is complete.
1: Start of the parameter data exchange
H*+2
ML_S_RD = 1: Read service
ML_S_WR = 2: Write with storage in non-volatile memory
ML_S_WRV = 3: Writing without saving
H*+3
Index number of parameter to be revised or read
H*+4
Read data after read service. Data to be written in case of a write service.
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n