Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add controller-based conditional around the Inform TIMER instruction #168

Merged
merged 1 commit into from
Sep 29, 2023
Merged
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
6 changes: 6 additions & 0 deletions src/InformCheckerAndGenerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ const char* rosInitJobLines[] =
"NOP",
"DOUT OT#(890) OFF",
"DOUT OT#(889) OFF",
#if defined(YRC1000) || defined(DX200) //DX2 and YRC use two digit precision on the TIMER
"TIMER T=0.05",
#elif defined(YRC1000u) || defined(FS100) //FS and YRCu use three digit precision on the TIMER
"TIMER T=0.050",
#else
#error Validate the precision of the TIMER instruction on the teach pendant and update this accordingly
#endif
"DOUT OT#(889) ON",
"WAIT OT#(890)=ON",
"DOUT OT#(890) OFF",
Expand Down
Loading