^69 - The Room Status Port
This read/write port contains the state of all the room statuses.
For most of these statuses it will return a binary value of 0=Reset, 1=Set.
This port exists on the DDRC-GRMS-E only at this time. 8/24 |
Syntax
LDA ^69,x //Reads a current room status
STA ^69,x //Writes to a room status
Where x is the room status you want the state of.
SubPort |
Response Type |
^69,0x00 |
Do Not Disturb |
^69,0x01 |
Make Up Room |
^69,0x02 |
Laundry Pickup Request |
^69,0x03 |
Message Light |
^69,0x04 |
Voice Mail |
^69,0x05 |
Room Service Pickup Request |
^69,0x20 |
Housekeeping Room Status |
^69,0x21 |
Room Alarm/Notification |
^69,0x40 |
Occupied |
^69,0x41 |
Unoccupied |
^69,0x42 |
Check In |
^69,0x43 |
Check Out |
^69,0x44 |
Guest Language |
^69,0x45 |
Door Open/Closed |
^69,0x43 |
Check Out |
^69,0x43 |
Check Out |
^69,0x90 |
VIP Mode |
^69,0x92 |
Green Mode |
Example
Example showing using Do Not Disturb to prevent doorbell.
Task1()
{
Name="DND Check for Doorbell"
LDA ^69,0 //Get the do not disturb state
BNE END //If set don't ring, if unknown ring away
Preset(A=4,P=1) //Ring the doorbell
Delay(.2)
Preset(A=4,P=4) //Release the doorbell so it doesn't weld closed
END:
Null
}