L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 27

Advertising
background image

L-force | PLC Designer

Lenze Specific Functions

DMS 4.1 EN 03/2011 TD29

25

Designator / Data type

Info / Setting options

sDataW / STRING(255)

Value to be written (string) - Table "Relationship between the inputs and
outputs and the data type"

byDataW / BYTE

Value to be written (1*byte) - Table "Relationship between the inputs and
outputs and the data type"

wDataW / WORD

Value to be written (2*byte) - Table "Relationship between the inputs and
outputs and the data type"

dwDataW / WORD

Value to be written (4*byte) - Table "Relationship between the inputs and
outputs and the data type"


Outputs

Designator / Data type

Value / Meaning

bDone / BOOL

TRUE if operation concluded successfully

bBusy / BOOL

TRUE as long as the operation is being executed free of errors

bError / BOOL

TRUE if an error has occurred

dwErrorID / DWORD

Greater than 0 if an error has occurred

eDataRType / L_DMVT

Returned type of parameter that has been read
{L_DM_VT_EMPTY, LDM_VT_I4, ...}

sDataR / STRING(255)

Value that has been read (string) - Table "Relationship between the inputs
and outputs and the data type"

byDataR / BYTE

Value that has been read (1*byte) - Table "Relationship between the inputs
and outputs and the data type"

wDataR / WORD

Value that has been read (2*byte) - Table "Relationship between the inputs
and outputs and the data type"

dwDataR / DWORD

Value that has been read (4*byte) - Table "Relationship between the inputs
and outputs and the data type"


Relationship between the inputs and outputs and the data type

Input, output

Data type

sDataR, sDataW

L_DM_VT_BSTR

byDataR, byDataW

L_DM_VT_I1, L_DM_VT_UI1

wDataR, wDataW

L_DM_VT_I2, L_DM_VT_UI2

dwDataR, dwDataW

L_DM_VT_I4, L_DM_VT_UI4, L_DM_VT_DATE

Advertising