Post Reply 
A shorter Pause (PSE) in a program
01-31-2018, 01:32 AM
Post: #1
A shorter Pause (PSE) in a program
I am writing an HP 41 program to control an AirTherm ATC-0010 relay actuator. The purpose is to randomly activate channels 1 through 8. Part of the program adjusts the speed of the actuations using flag branching to control the speed:

08 LBL 00
09
the random channel selection part of the program
23
24 FS? 01
25 XEQ 01
26 FS? 02
27 XEQ 02
28 FS? 03
29 EXQ 03
30 GTO 00

31 LBL 01
32 RTN
33 LBL 02
34 PSE
35 RTN
36 LBL 03
37 PSE
38 PSE
39 RTN
40 END

I would like to insert an operation between lines 31 & 32 which functions as a half pause.

As it is written the program runs the ATC-0010 at the following speeds:
32 cycles a minute with no flags
30 cycles a minute with flag 1 set
18 cycles a minute with flag 2 set
14 cycles a minute with flag 3 set

I would like to get flag 1 cycle time in the 20s. The stack needs to be undisturbed after the operation since the pseudo random routine I am using relies on Y: 0, X: seed. The other cycle times are about right for the purpose.

Is there such a beast?

Steve
In order of appearance: HP 41CV, CMT-MCGPS, HP 41CX, DM 41, DM 42
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A shorter Pause (PSE) in a program - 4ster - 01-31-2018 01:32 AM



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