Definitions And Constants - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

User interfaces (API)
7.8 Data types
7.8.4

Definitions and constants

The following identifiers are used in the API:
Table 7- 389 Definitions - Native C++
Identifier
DINSTANCE_NAME_MAX_LENGTH
DSTORAGE_PATH_MAX_LENGTH
DTAG_NAME_MAX_LENGTH
DTAG_ARRAY_DIMENSION
DCONTROLLER_NAME_MAX_LENGTH
DCONTROLLER_SHORT_DESIGNATION_MA
X_LENGTH
DALARM_NOTIFICATION_MAX_DIAG_EVE
NTS
DPROCESS_EVENT_NAME_MAX_LENGTH
DPROCESS_EVENTS_MAX_ITEMS
DMODULE_STATE_OK
DMODULE_STATE_ERROR
DMODULE_STATE_MAINT_DEMANDED
DMODULE_STATE_MAINT_REQUIRED
Table 7- 390 Constants - .NET (C#)
Identifier
RuntimeCon-
stants.InstanceNameLength
RuntimeCon-
stants.StoragePathMaxLength
RuntimeCon-
stants.TagNameMaxLength
RuntimeCon-
stants.TagArrayDimension
RuntimeCon-
stants.ControllerNameMaxLength
RuntimeCon-
stants.ControllerShortDesignatio
nMaxLength
ModuleState.Ok
ModuleState.Error
ModuleState. MaintenanceDemanded
ModuleState. MaintenanceRequired
306
Value
Description
64
The unique name of an instance must be less than
this value.
130
The maximum path length to the virtual memory
card. Including ZERO termination.
300
The maximum length of the name of a PLC tag.
Including ZERO termination.
6
The maximum number of dimension for a multi-
dimensional field.
128
The maximum length of the controller name. In-
cluding ZERO termination.
32
The maximum length of the abbreviation of the
controller (CPU type). Including ZERO termination.
100
The maximum number of diagnostic events that
are sent in a diagnostic alarm.
123
The maximum length of the name for the process
event. Including NULL termination.
256
The maximum number of configurable process
events.
0
AlarmNotification: Module status OK
1
AlarmNotification: Module status faulty
2
AlarmNotification: Maintenance demanded
4
AlarmNotification: Maintenance required
Value
Description
64
The unique name of an instance must be less than
this value.
130
The maximum path length to the virtual memory
card. Including ZERO termination.
300
The maximum length of the name of a PLC tag.
Including ZERO termination.
6
The maximum number of dimension for a multi-
dimensional field.
128
The maximum length of the controller name. In-
cluding ZERO termination.
32
The maximum length of the abbreviation of the
controller (CPU type). Including ZERO termination.
0
AlarmNotification: Module status OK
1
AlarmNotification: Module status faulty
2
AlarmNotification: Maintenance demanded
4
AlarmNotification: Maintenance required
Function Manual, 12/2017, A5E37039512-AB
S7-PLCSIM Advanced

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents