3 symbolic variable names, Symbolic variable names, Busserver s7 – Lenze Drive Server Bus server S7 getting started User Manual
Page 50

Busserver S7
L
111
Busserver S7 DE/EN 1.0
6.5.3
Symbolic variable names
Symbolic variable names are used in the “LenzeDriveServer” example project. These names are saved
in the symbol table.
Input parameters:
Symbol
Address
Data type Comment
Enable
M10.0
BOOL
TRUE = Enable drive
QSP
M10.1
BOOL
TRUE = Set quick stop
Reset
M10.2
BOOL
TRUE = Reset TRIP in the drive
TriggerRead
M10.6
BOOL
TRUE = Start reading a parameter
TriggerWrite
M10.7
BOOL
TRUE = Start writing a parameter
Code
MW202
WORD
Lenze code number of the parameter
Subcode
MB201
BYTE
Lenze sub-code number of the parameter
WriteValue
MD204
DINT
Value to be transmitted (FIX32)
ControlWord
MW24
WORD
Control word according to DRIVECOM specification
•
Bit0 ... Bit4 are hidden and cannot be written.
PB-Address
MB200
BYTE
PROFIBUS address of the drive
TimeOutTimer_OPC T1
TIMER
Timer for monitoring the drive
DB-OPC-Server
DB80
DB80
Data block for parameter data jobs via OPC
S7-Parameter
DB81
DB81
Data block for parameter data jobs from the PLC
Output parameters:
Symbol
Address
Data type Comment
RDY
M30.0
BOOL
TRUE = Drive is ready for operation
TRIP
M30.1
BOOL
TRUE = TRIP set in the drive
BUSY
MB150
BYTE
TRUE = Parameter data jobs are still being processed
ActualValue1
MW32
INT.
Actual process value
Setpoint1
MW20
INT.
Setpoint process value
ReadValue
MD224
DINT
Read value (FIX32)
StatusWord
MW36
WORD
Status word according to DRIVECOM specification
WriteStatus
MB210
BYTE
Status of the function
FC90 (FC Parameter) when writing a
parameter
ReadStatus
MB220
BYTE
Status of the function
FC90 (FC Parameter) when reading a
parameter
WriteResult
MD214
DINT
Error code displayed when writing a parameter was not
successful
Value
MD228
DINT
Contains parameter W_Value within the read routine; can be
ignored when reading a parameter
We recommend the use of symbolic variable names for clarity. However, they are not compulsory.
Show/Hide Bookmarks