Skip to content

Commit

Permalink
Add DS desc
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssandstrom committed Sep 27, 2024
1 parent bd5101e commit 46045e1
Show file tree
Hide file tree
Showing 5 changed files with 412 additions and 355 deletions.
5 changes: 5 additions & 0 deletions db/core/ecmcDS-idx.template
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,8 @@ record(ai,"$(P)MCU-Cfg-DS${Index}-PrvObjId") {
field(DESC, "DS number of next DS")
field(VAL, "$(PREV_OBJ_ID=-1)")
}

record(stringin,"$(Name)$(DESC_NAME)") {
field(DESC, "DS Info")
field(VAL, "${DESC=PLC ${index}}")
}
4 changes: 2 additions & 2 deletions db/core/ecmcDS.substitutions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
file ecmcDS-idx.template
{
pattern { DS_DATAINDEX_ACT, DS_DATA_ACT , DS_STAT, DS_TYPE, DS_STAT_, DS_FULL, DS_CLEAR_CMD }
{ DS$(Index2Char)-DataIdAct, DS$(Index2Char)-DataAct, DS$(Index2Char)-Stat, DS$(Index2Char)-Type, DS$(Index2Char)-Stat_, DS$(Index2Char)-Full, DS$(Index2Char)-ClrCmd }
pattern { DS_DATAINDEX_ACT, DS_DATA_ACT , DS_STAT, DS_TYPE, DS_STAT_, DS_FULL, DS_CLEAR_CMD, DESC_NAME }
{ DS$(Index2Char)-DataIdAct, DS$(Index2Char)-DataAct, DS$(Index2Char)-Stat, DS$(Index2Char)-Type, DS$(Index2Char)-Stat_, DS$(Index2Char)-Full, DS$(Index2Char)-ClrCmd, DS$(Index2Char)-Desc }
}
23 changes: 23 additions & 0 deletions hugo/content/manual/knowledgebase/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,29 @@ chapter = false
{{% children %}}
---

## Overview panel
For an overview of an ecmc system, the ecmcMain.ui panel is a good starting point.
The ecmcMain.ui covers most parts of an ecmc system:
* ecmc_rt thread diagnostics:
- Jitter
- Cycle time
* EtherCAT:
- Status
- Lost frames
- Slave count
- master Id
- Links to dedicated sub panels for each slave type.
* Links to all configured objects:
- motion expert panels
- PLC objects
- plugin objects
- data storage objects

The ecmcMain.ui is started with the following syntax:
```
caqtdm -macro "IOC=<ioc_name>" ecmcMain.ui
```

## Knowledge base
Due to the complexity an EtherCAT bus topology can assume, troubleshooting can be challenging.
This guide should provide the basic means to diagnose simple errors and is by no means complete!
Expand Down
Loading

0 comments on commit 46045e1

Please sign in to comment.