Post Reply 
Time Module Clear Alarm
03-17-2023, 02:53 PM
Post: #2
RE: Time Module Clear Alarm
I did a fast check on the HHC 2022 USB key and did not found a program that does this.

But it should not be that complicated to create.

You need to ...
  1. read the current curtain position (read register c) into X
  2. save X into a data register or keep it in the stack
  3. lower the curtain to 0C0 (update register c)
  4. scan data register to find the alarm I/O buffer (ID F)
  5. once found, clear the data registers related to the alarm buffer
  6. get the original curtain position (from the stack or data register)
  7. restore curtain position to the original location (update register c)

Another method ...
  1. read the current curtain position (read register c) into X
  2. save X into a data register or keep it in the stack
  3. lower the curtain to 0C0 (update register c)
  4. scan data register to find the alarm I/O buffer (ID F)
  5. change ID F to a ID that you do not have a module that will claim it at startup
    (let say ID C, used by the HP-IL development module and assuming that you do not have that module plugged-in)
  6. get the original curtain position (from the stack or data register)
  7. restore curtain position to the original location (update register c)
  8. power cycle (OFF then ON)
    → at power on the buffer will be cleared by the system because the ID will not be claimed by the ON (xFF9) polling point.

Keep in mind that most system registers and all I/O buffers content must be managed as NNN.

Sylvain
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Time Module Clear Alarm - Hiwi - 03-17-2023, 10:46 AM
RE: Time Module Clear Alarm - Sylvain Cote - 03-17-2023 02:53 PM
RE: Time Module Clear Alarm - Hiwi - 03-17-2023, 04:48 PM
RE: Time Module Clear Alarm - Sylvain Cote - 03-17-2023, 07:01 PM
RE: Time Module Clear Alarm - Dol - 03-17-2023, 07:08 PM
RE: Time Module Clear Alarm - Sylvain Cote - 03-17-2023, 08:03 PM
RE: Time Module Clear Alarm - rprosperi - 03-17-2023, 09:00 PM
RE: Time Module Clear Alarm - Hiwi - 03-17-2023, 10:29 PM
RE: Time Module Clear Alarm - Sylvain Cote - 03-17-2023, 11:39 PM
RE: Time Module Clear Alarm - Hiwi - 03-20-2023, 10:01 AM
RE: Time Module Clear Alarm - Hiwi - 03-21-2023, 11:02 AM
RE: Time Module Clear Alarm - Sylvain Cote - 03-23-2023, 04:52 PM
RE: Time Module Clear Alarm - rprosperi - 03-23-2023, 08:28 PM
RE: Time Module Clear Alarm - Sylvain Cote - 03-29-2023, 03:37 AM



User(s) browsing this thread: