A PX automation station has the following operating states:
- STOP: The D-MAP program is stopped.
- RUN: The D-MAP program runs.
- KOMA: The automation station is in a prolonged sleep mode.
The following figure shows the operating states and the associated transitions:
Operating states
Mains off
- No power supply
STOP
- I/O scan active
- Ready for wiring test (only possible without D-MAP program loaded) (PXM20, for PTM modules only)
- D-MAP program processing stopped
- Communication with XWP: Complete reset, complete loading and delta loading allowed
- BACnet communication with Desigo CC and PXM20: ReadProperty, WriteProperty, Who-Has, COVs, EventNotification, AcknowledgeAlarm GetEventInformation
- COVs: For values changed by the operator, values cannot be changed by the program
- Alarming: Alarm monitoring inactive, no new alarms or events are generated (the device info object can still generate alarms and system events). Notification of saved alarms and events is possible if recipient lists are set up. GetEventInformation and AcknowledgeAlarm possible.
- Primary server in the STOP state: Primary server is not active, that is, no life check, no time synchronization and no replication of global objects
- Backup server in the STOP state: The backup server is not active, that is, no time synchronization and no replication of global objects by primary server. The backup server will not accept changes to global objects by a client.
RUN
- I/O scan active
- Wiring test not allowed
- D-MAP program processing active
- Communication with XWP: Complete reset and complete loading not allowed, delta loading allowed
- BACnet communication with Desigo CC and PXM20: ReadProperty, WriteProperty, Who-Has, COVs, EventNotification, AcknowledgeAlarm GetEventInformation.
- COVs: For values changed by the program and operator
- Alarming: Alarm monitoring active, notification of alarms and events, GetEventInformation and AcknowledgeAlarm
- Primary server in the RUN state: Primary server is active, that is, life check, time synchronization and replication of global objects
- Backup server in RUN state: The backup server is active, that is, time synchronization and replication of global objects by primary server. The backup server does not accept changes of global objects by a client.
COMA
- I/O scan not active
- Communication with XWP not active
- BACnet communication not active
- Wiring test not possible
- D-MAP program processing stopped
Transitions
1 Power failure
Power failure
2 Power restoration STOP
Power restoration. Operating state before power failure was STOP.
Actions (cold start response):
- Cold start I/O scan: Default values for output modules
- Cold-start variable function blocks: Volatile variables are initialized with initial value. Non-volatile variables retain their last value.
The STOP state is reached when the I/O scan is finished.
3 Power restoration RUN
Power restoration. Operational status before power failure was RUN.
Actions (cold start response):
- Cold start I/O scan: Default values for output modules
- Cold-start variable function blocks: Volatile variables are initialized with initial value. Non-volatile variables retain their last value.
- System event: Power restoration.
D-MAP processing starts when the first I/O scan is finished.
4 RUN Cmd
Explicit command via dialog in XWP or BACnet (DeviceObject, Out of service property [OoServ])
Actions (warm start action):
- Implicit warm start I/O scan: I/O scan continues to run
- Implicit warm-start variables function blocks: All variables retain their last value
- System event: Change to operating state
D-MAP processing starts.
5 STOP Cmd
Explicit command via dialog in XWP or BACnet (DeviceObject, Out of service property [OoServ])
Actions:
- System Event: Change to operating state
- Stop D-MAP processing at the end of current cycle
I/O scan continues.
6 Restart
Restart of the automation station due to software error.
Actions (cold start response):
- Cold start I/O scan: Default values for output modules
- Cold start function block variables: Volatile variables are initialized with initial value. Non-volatile variables retain their last value.
The STOP state is reached when the I/O scan is finished.
7 Restart
Restart of the automation station due to software error.
Actions (cold start response):
- Cold start I/O scan: Default values for output modules
- Cold start function block variables: Volatile variables are initialized with initial value. Non-volatile variables retain their last value.
- System event: Restart
D-MAP processing starts when the first I/O scan is finished.
8 Reset
Explicit reset of automation station via hardware push button.
Actions (cold start response):
- Cold start I/O scan: Default values for output modules
- Cold start function block variables: Volatile variables are initialized with initial value. Non-volatile variables retain their last value.
The STOP state is reached when the I/O scan is finished.
9 Reset
Explicit reset of automation station via hardware switch.
Actions (cold start response):
- Cold start I/O scan: Default values for output modules
- Cold start function block variables: Volatile variables are initialized with initial value. Non-volatile variables retain their last value
- System event: Reset
D-MAP processing starts when the first I/O scan is finished.
10, 11 Fatal Error
Restart due to fatal error in the software or in the D-MAP program. Criterion: Same error occurs three times within 15 minutes.
Actions (cold start response):
- Stop I/O scan If possible: Loss of hardware output values for compact and modular automation stations
- Stop BACnet communication
- Stop XWP communication
D-MAP processing is stopped.
12 Reanimation
Only possible by deleting the D-MAP program (press ForceFWDownload pin and reset the automation station).
Actions (cold start response):
- Change of required operating state to STOP
- Cold start I/O scan: Default values for output modules
The STOP state is reached when the I/O scan is finished.
13 Complete reset
Deletion of D-MAP program on automation station with XWP.
- Cold start I/O scan: Default values for output modules
D-MAP program data including system and event queue is deleted.
14 Load
Complete loading of a new D-MAP program.
- Before downloading, a complete reset must be carried out.
Function block variables are loaded with initialized values.
15 Delta download
D-MAP program changes are loaded.
16 Power restoration - COMA
Power restored. Operating state before power failure was COMA.
Actions (cold start response):
- Stop I/O scan
- Stop BACnet communication
- Stop XWP communication
D-MAP processing is stopped.
Summary
Every time the automation station restarts (Powerfail, Reset) a cold start is carried out.
The operating state is stored as a non-volatile variable.
The operating state is mapped as follows to the system status [SysSta] property of the device object:
Operating mode | System status property [SysSta] |
---|---|
STOP (no D-MAP program loaded) | DOWNLOAD_REQUIRED |
STOP (D-MAP program loaded) | NON_OPERATIONAL |
RUN (D-MAP program loaded) | OPERATIONAL |