Danfoss VLT Series Programming Manual page 191

Integrated servo drive isd 510 system
Hide thumbs Also See for VLT Series:
Table of Contents

Advertisement

Programming
6.5.4.20 DD_ReadParameter_ISD51x
This function block asynchronously reads general objects
from the object dictionary of the axis if the Enable input is
set. For the index and sub-index of the parameters, see
chapter 7 Servo Drive Parameter Description.
The output data is read from the device and is therefore
not immediately available.
DD_ReadParameter_ISD51x
AXIS_REF_-
Axis
ISD51x
BOOL
Enable
UINT
Index
USINT
Subindex
UDINT
pBu er
UDINT
Bu erSize
Illustration 6.44 DD_ReadParameter_ISD51x
Variable
Data
Default
name
type
value
VAR_IN_OUT
Axis
AXIS_REF_ISD51x
VAR_INPUT
Enable
BOOL
FALSE
Index
UINT
0
Subindex
USINT
0
pBuffer
UDINT
0
BufferSize
UDINT
0
VAR_OUTPUT
Valid
BOOL
Busy
BOOL
Error
BOOL
MG36D102
Programming Guide
Valid
BOOL
Busy
BOOL
Error
BOOL
ErrorInfo
DD_ERROR_-
ISD51x
AbortCode
DWORD
DataLength
UDINT
Description
Reference to the axis.
See
chapter 6.5.4.1 AXIS_REF_IS
D51x.
Get the value of the
parameter continuously
while enabled.
Index of the object to be
read.
Sub-index of the object to
be read.
Pointer to a buffer where
the read data will be
placed (use ADR()
function).
Maximum size of the read
data (size of the provided
buffer given in byte; use
SIZEOF() function)
The function block has a
valid output.
The function block is not
finished and new output
values are to be expected.
An error has occurred
within the function block.
Danfoss A/S © 01/2017 All rights reserved.
Variable
Data
Default
name
type
value
ErrorInfo
DD_ERROR_ISD51x
AbortCode
DWORD
DataLength
UDINT
Table 6.22 DD_ReadParameter_ISD51x
6.5.4.21 MC_WriteParameter_ISD51x
This function block modifies the value of the specified
parameter.
It can take some time to write the data to the axis.
MC_WriteParameter_ISD51x
AXIS_REF_-
Axis
ISD51x
BOOL
Execute
INT
ParameterNumber
DWORD
Value
Illustration 6.45 MC_WriteParameter_ISD51x
Variable
Data
Default
name
type
value
VAR_IN_OUT
Axis
AXIS_REF_ISD51x
VAR_INPUT
Execute
BOOL
FALSE
Parameter-
INT
0
Number
Value
DWORD
0
VAR_OUTPUT
Done
BOOL
Busy
BOOL
Description
Error identification and
instance identifier.
See chapter 6.5.2.3 Error
Indication.
SDO abort code if there is
an error. Available in the
list of constants:
SdoAbortCodes.
Length of the read data
[Byte].
Done
BOOL
Busy
BOOL
Error
BOOL
ErrorInfo
DD_ERROR_ISD51x
AbortCode
DWORD
Description
Reference to the axis.
See
chapter 6.5.4.1 AXIS_REF_IS
D51x.
Write the value of the
parameter at rising edge.
Number of the parameter.
See Table 6.20. All other
numbers are not allowed
and lead to an error.
New value of the specified
parameter.
The function block has a
valid output.
The function block is not
finished and new output
values are to be expected.
189
6
6

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents