Industrial pc | parameter setting & configuration – Lenze PC-based Automation Industrial PC User Manual
Page 62

Industrial PC | Parameter setting & configuration
Programming with the »PLC Designer«
Accessing IPC parameters from the PLC
62
L
2.5 EN - 01/2012
Outputs
[8-1]
Connection between the inputs and outputs and the data type
wDataW
WORD
Value to be written (2*byte) - table
[8-1]
dwDataW
WORD
Value to be written (4*byte) - table
[8-1]
Identifier/data type
Value/meaning
bDone
BOOL
TRUE if operation has been completed successfully
bBusy
BOOL
TRUE as long as the operation is running without errors
bError
BOOL
TRUE if an error has occurred
dwErrorID
DWORD
Greater 0 if an error has occurred
eDataRType
LDM_tVT
Returned type of the parameter read
{LDM_VT_EMPTY, LDM_VT_I4, ...}
sDataR
STRING(255)
Value read (string) - table
[8-1]
byDataR
Byte
Value read (1*byte) - table
[8-1]
wDataR
WORD
Value read (2*byte) - table
[8-1]
dwDataR
DWORD
Value read (4*byte) - table
[8-1]
Input, output
Data type
sDataR, sDataW
LDM_VT_BSTR
byDataR, byDataW
LDM_VT_I1, LDM_VT_UI1
wDataR, wDataW
LDM_VT_I2, LDM_VT_UI2
dwDataR, dwDataW
LDM_VT_I4, LDM_VT_UI4, LDM_VT_DATE
Identifier/data type
Information/possible settings