Skip to content

Commit

Permalink
Merge branch 'safety2'
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssandstrom committed Mar 11, 2024
2 parents 0336690 + b102349 commit 20ac65b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions db/core/ecmcMotorRecord.template
Original file line number Diff line number Diff line change
Expand Up @@ -325,3 +325,27 @@ record(ai,"$(PREFIX)$(MOTOR_NAME)-HomPos-RB") {
record (asyn, "$(PREFIX)$(MOTOR_NAME)-$(MOTOR_PORT)-asyn")
{
}

#- If axis is in interlock then set motor STOP
record(bo,"$(PREFIX)$(MOTOR_NAME)-TrgStpFwd"){
#field(PINI, "1")
field(SCAN, "Passive")
field(OUT, "$(PREFIX)$(MOTOR_NAME).STOP PP")
field(DOL, "$(PREFIX)$(MOTOR_NAME)-SumIlockFwd CP")
field(ZSV, "OK")
field(OSV, "STOP")
field(VAL, "1")
field(OMSL, "closed_loop")

}

record(bo,"$(PREFIX)$(MOTOR_NAME)-TrgStpBwd"){
#field(PINI, "1")
field(SCAN, "Passive")
field(OUT, "$(PREFIX)$(MOTOR_NAME).STOP PP")
field(DOL, "$(PREFIX)$(MOTOR_NAME)-SumIlockBwd CP")
field(ZSV, "OK")
field(OSV, "STOP")
field(VAL, "1")
field(OMSL, "closed_loop")
}

0 comments on commit 20ac65b

Please sign in to comment.