-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f251439
commit c4c9929
Showing
4 changed files
with
224 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
MID=$1 | ||
SID=$2 | ||
|
||
echo "" | ||
echo "#########################################################" | ||
echo "Reading EL70xx status at master id $MID and slave id $SID:" | ||
echo "" | ||
echo "Saturated:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x1 | ||
|
||
echo "Over temperature:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x2 | ||
|
||
echo "Torque overload:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x3 | ||
|
||
echo "Under voltage:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x4 | ||
|
||
echo "Over voltage:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x5 | ||
|
||
echo "Short circuit A:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x6 | ||
|
||
echo "Short circuit B:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x7 | ||
|
||
echo "No control power:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x8 | ||
|
||
echo "Misc error:" | ||
ethercat upload -m $MID -p $SID --type uint8 0xA010 0x9 | ||
echo "" | ||
echo "#########################################################" | ||
echo "" |
Oops, something went wrong.