(41) JETLOG Program
02-25-2022, 04:33 PM (This post was last modified: 02-25-2022 04:35 PM by WrongWay.)
Post: #21
 WrongWay Junior Member Posts: 42 Joined: Dec 2020
RE: (41) JETLOG Program
(02-25-2022 10:14 AM)Ángel Martin Wrote:
(02-20-2022 12:15 AM)WrongWay Wrote:  Yes, this should be GTO "C"

I wouldn't think so, that would mean that the following two program steps are never executed:

SF 03
GTO "C"
FS? 00
GTO 01

LBL 00
...

It's probably more likely to be this, changing SF 03 with FS? 03:

FS? 03
GTO C
FS? 00
GTO 01
LBL 00
...

right?

Looking at the listing right now on my 41CV
Code:
 11 X=0? 12 GTO 00 13 SF 03 14 GTO C 15 FS? 00 16 GTO 01

It could be a typo but im not sure how changing it would affect the program. and looking more into the code, Flag 3 is set but never checked, there is never a FS? 03 instruction
02-26-2022, 08:56 AM
Post: #22
 Ángel Martin Senior Member Posts: 1,345 Joined: Dec 2013
RE: (41) JETLOG Program
(02-25-2022 04:33 PM)WrongWay Wrote:
(02-25-2022 10:14 AM)Ángel Martin Wrote:  I wouldn't think so, that would mean that the following two program steps are never executed:

SF 03
GTO "C"
FS? 00
GTO 01

LBL 00
...

It's probably more likely to be this, changing SF 03 with FS? 03:

FS? 03
GTO C
FS? 00
GTO 01
LBL 00
...

right?

Looking at the listing right now on my 41CV
Code:
 11 X=0? 12 GTO 00 13 SF 03 14 GTO C 15 FS? 00 16 GTO 01

It could be a typo but im not sure how changing it would affect the program. and looking more into the code, Flag 3 is set but never checked, there is never a FS? 03 instruction

So do you see how lines 15 and 16 in your code are never executed, right?
Maybe F03 was meant to be set by the user before running the program, to denote cruising flight condition.... but I guess we'll never really know.
02-26-2022, 08:04 PM
Post: #23
 WrongWay Junior Member Posts: 42 Joined: Dec 2020
RE: (41) JETLOG Program
(02-26-2022 08:56 AM)Ángel Martin Wrote:  So do you see how lines 15 and 16 in your code are never executed, right?
Maybe F03 was meant to be set by the user before running the program, to denote cruising flight condition.... but I guess we'll never really know.

Oh I totally agree and it maybe worth a test to see the results if flag 3 is set prior to execution.
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)