Use this P1 reference for TouchWin alarm display/list, real-time events, historical events, recipe download/upload, CSV import/export, HMI internal objects, and common HMI data cautions.
Source anchors:
报警显示 for value limit warning.报警列表, trigger coil, message content, CSV import/export format such as PLC.1.M[0].PSB, PSW, PFW objects and communication counters/settings.| Feature | Best for | Trigger/source |
|---|---|---|
报警显示 |
Simple numeric limit warning on one displayed value. | Register value above/below configured limit. |
报警列表 |
Standard active alarm list. | Bit/coil trigger, default rising-edge behavior. |
实时事件显示 |
Current event stream and operator messages. | Bit/event trigger. |
历史事件显示 |
Stored event records with time/confirmation data. | Bit/event trigger plus HMI internal storage. |
Use 报警显示 when one value needs a visual warning:
报警显示.Do not rely only on HMI display flashing for machine protection. PLC logic should own interlocks and safe stop behavior.
Use 报警列表 for a maintenance/operator alarm page.
Recommended PLC allocation:
| Address range | Purpose |
|---|---|
M500~M599 |
Active alarm bits. |
M600~M699 |
Alarm acknowledge/reset commands. |
D500~D549 |
Alarm detail values, if needed. |
TouchWin alarm message setup:
PLC.1.M[0] where PLC is the port, 1 is station, and M[0] is the object.CSV use:
.CSV.Use real-time events for operator prompts and historical events for traceability.
Rules:
PSW/PFW storage intentionally and document the address range.Recipe concept: a recipe is a group of similar structured parameters stored and transferred together. TouchWin can download recipe data from HMI to PLC registers and upload PLC register values back into the HMI recipe database.
Typical use:
| Item | Example |
|---|---|
| Recipe index | PSW40 or a user-selected HMI register. |
| PLC target range | D1000~D1019 process parameters. |
| Download command | HMI recipe download component writes selected recipe to PLC. |
| Upload command | HMI recipe upload component reads current PLC values into HMI recipe storage. |
Workflow:
配方下载 for HMI-to-PLC transfer.配方上载 if operators need to save tuned PLC parameters back into recipes.Common internal objects:
| Object | Meaning |
|---|---|
PSB |
HMI internal bit object. |
PSW |
HMI internal word object. |
PFW |
HMI Flash/internal persistent word object. |
Useful examples from the manual:
PSB14: communication shielding flag.PSB15: communication failure flag.PSB30: first scan after download.PSB31: first scan after power-on.PSW1: current screen number.PSW40: recipe index.PSW60~PSW73: communication success/failure/timeout/error counters for ports.PFW20+: communication-port parameter storage.Do not casually write internal PFW communication settings in a running project. Some settings need power cycle or can affect communication behavior.
PFW/PSW capacity.