95
<SF
n,m
>
Save Frame
System
Description
Save the specified frame
n
to memory location
m
Parameters
n
= 0 or 1
- frame number
m
= 0 to 2
- memory location
Initial Value
None
Modes
All Modes
Notes
The save frame command allows the specified frame
n
to be saved to memory location
m
.
m
= 0 saves the frame m to EEprom area 0
m
= 1 saves the frame m to EEprom area 1
m
= 2 saves the frame m to scratchpad RAM
Saved frames are restored with the <RF
n
> command.
If more non-volatile frame storage is required, the <SL> Save Logo command can be used, but a
frame saved using this command is automatically displayed on power-on.
The scratchpad RAM area is also used by the following commands:
<DL><DG><RB><SL><RL><LH><LV><BD><DF>
Use of any of these commands will corrupt a saved image in scratchpad ram.
Detailed information about the use of frames can be found in the Frames Section (Page 7).
Uses
The <SF> command allows:
•
Complex screen backdrops to be saved, to which live data can then be added
•
Temporary frame storage while another message is displayed
•
Images to be moved between frames
•
Normally static frames to flash, by saving them and then restoring them with the <FL> and
<EF> attributes turned on. This is a simple way of indicating an alarm condition.
Example 1
<SD>
Start with the active frame and visible frame set to 0
<CS>
Clear frame 0
<F4>
Set the required font
<CA>
Let the display centre the text automatically
<WTFrame>
Write out the word “Frame”
<LN>
Down a row
<WT0>
Write out the number “0”
<AF1>
Switch to the hidden frame
<CS>
Clear the hidden frame
<WTFrame>
Write out the word “Frame”
<LN>
Down a row
<WT1>
Write out the text to the hidden frame; LCD display screen
unaltered
<SF0,1>
Save frame 0 to EEprom area 1
<SF1,2>
Save frame 1 to scratchpad RAM.
Visible frame
Hidden Frame