
31 / 60
NTI AG / LinMot
4.3.11 Curves write curve setpoint data to RAM
Write the curve setpoint data to RAM. This has to be repeated until the whole setpoint
data block is written.
FUNCTION_BLOCK ADSWRITE
Direction Name
Type
Description
Input
NETID
T_AmsNetId AoE NetID
Input
PORT
T_AmsPort
ADS Port
Input
IDXGRP
UDINT
0057h (LinMot Service ID)
Input
IDXOFFS
UDINT
Curve ID to write
Input
LEN
UDINT
Always 4 bytes
Input
SRCADDR
DWORD
ADR(write_buffer (4bytes))
Input
WRITE
BOOL
Rising edge starts reading
Input
TMOUT
TIME
Timeout value
Output
BUSY
BOOL
Indicates reading active/finished
Output
ERR
BOOL
Indicates reading error
Output
ERRID
UDINT
Error ID
4.3.12 Curves read presence list
Read out the presence list which curves are defined.
FUNCTION_BLOCK ADSREAD
Direction Name
Type
Description
Input
NETID
T_AmsNetId AoE NetID
Input
PORT
T_AmsPort
ADS Port
Input
IDXGRP
UDINT
005Eh (LinMot Service ID)
Input
IDXOFFS
UDINT
IDOff :
0: curves 1..32
32: curves 33..64
64: curves 65..96
96: curves 96..100
Input
LEN
UDINT
Always 4 bytes
Input
SRCADDR
DWORD
ADR(write_buffer (4bytes))
Input
WRITE
BOOL
Rising edge starts reading
Input
TMOUT
TIME
Timeout value
Output
BUSY
BOOL
Indicates reading active/finished
Output
ERR
BOOL
Indicates reading error
Output
ERRID
UDINT
Error ID