additional driver variables |
S7_NT -> Creating variables -> Driver variables -> additional driver variables |
Show all Hide all |
In addition to the standard driver variables, the driver also defines the following ones. The file S7DrvVar.DBF contains the definitions of these variables.
S7Device
Offset: 1000 Type: String, Size 63, read only.
Contains the name of the selected device.
S7Vfd
Offset: 1001 Type: String, Size 63, read only.
Contains the name of the selected VFD.
S7EABlkLen
Offset: 1002 Type: Word, read only.
The currently configured I/O block size.
S7ErrRdTimeout
Offset: 1003 Type: DWORD, read only.
The currently configured read timeout.
S7LastErrNo
Offset: 1004 Type: DWORD, read only.
Contains the error number of the Softnet connection.
S7LastErrMsg
Offset: 1005 Type: String, Size 63, read only.
Contains the plain text for S7LastErrNo.