Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ ELSE
BP.nBeamClass := cFailSafeBC;
END_IF
BP.nBCRange := TO_WORD(BP.nBeamClass);

ffBeamClassReadback(i_xOK:=fbMPS_BeamClass.bValid, io_fbFFHWO:=FFO);
// i_xOK is TRUE if we get a valid reading from epics or we are in NC mode, then we ignore the invalid reading.
ffBeamClassReadback(i_xOK:= (fbMPS_BeamClass.bValid OR BP.nMachineMode = 0) , io_fbFFHWO:=FFO);

BP.xValid R= NOT fbMPS_BeamClass.bValid;]]></ST>
</Implementation>
</POU>
</TcPlcObject>
</TcPlcObject>
2 changes: 1 addition & 1 deletion lcls-twincat-pmps/PMPS/PMPS.tmc
Original file line number Diff line number Diff line change
Expand Up @@ -31620,7 +31620,7 @@ request loop (two arbiters elevating to each other), or there is a RequestAdd, R
</Property>
<Property>
<Name>ChangeDate</Name>
<Value>2025-07-29T11:12:16</Value>
<Value>2025-12-16T08:53:46</Value>
</Property>
<Property>
<Name>GeneratedCodeSize</Name>
Expand Down