Casio QT 6600 Reference Manual - Page 51

Arrangement key function and scheduler

Page 51 highlights

2-7. Arrangement key function and scheduler The arrangement key function provides a macro command function for the QT-6600 system. Any operation that can be performed using the keyboard of the QT-6600 can be programmed to the arrangement file (file 038 ~ 438). Any operation programmed to the arrangement file can be performed by pressing the arrangement key (function code 044). Multi operations can be programmed into one arrangement program, and also entry of a numeric parameter can be included anywhere in the arrangement program. For example, when an arrangement program is programmed for executing fixed totalizer Z consolidation for all terminal and the program is linked to an arrangement key, that operation can be executed simply by pressing the arrangement key or attaching the iButton key to the receiver. The scheduler function is provided for scheduled execution of arrangement key operation. Execution of every specified time, as well as scheduled execution, can be performed using this function. The scheduler file (file 062) must be reserved to use the scheduler function. 2-7-1. Arrangement key function The arrangement file and arrangement keys must be reserved for the QT-6600 to use the arrangement key function. The arrangement file is used to store the arrangement programs. An arrangement file record is 24 bytes long, and a maximum of 9999 records can be reserved. Arrangement programs are programmed using character data, and multiple arrangement programs can be programmed in the arrangement file. Multiple arrangement keys can be preset on the keyboard, and each key can be linked to an arrangement program. The linked arrangement program is then called and executed by pressing the arrangement key. The following table shows the command parameters of the arrangement key function that can be interpreted and executed by the QT-6600. Command parameters can only be separated by spaces. Note that spaces cannot be included within the command parameter. Details of command parameters and their functions are explained next. 1) Number input There are two methods to enter a number in an arrangement program. - Constant number input Preset a fixed number (constant value) enclosed in parentheses in the arrangement program. Example: To enter "1234" → preset (1234) - Input of a single number when the arrangement program is executed. A single number can be entered using the arrangement key. The number entered can be used at any position and any time in the arrangement program. Generally, an input number is temporarily stored in the work area (number entry buffer) reserved for data processing, and is cleared after the processing is performed. With the arrangement key function, a parameter save buffer is provided for saving the contents of the number entry buffer. When a "%GET" command is encountered in an arrangement program during processing, the data in the number entry buffer is saved to the parameter save buffer. Set "%PUT" command to use the data saved in the parameter buffer. The "%PUT" command can be used to load the data saved in the parameter save buffer into the numeric entry buffer. These commands may be included as often as necessary. The data in the parameter save buffer is changed only when a "%GET" command is processed. QT-6600 Reference Manual R-51

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240

R-51
QT-6600 Reference Manual
2-7. Arrangement key function and scheduler
The arrangement key function provides a macro command function for the QT-6600
system. Any operation that can be performed using the keyboard of the QT-6600 can be
programmed to the arrangement file (file 038 ~ 438). Any operation programmed to the
arrangement file can be performed by pressing the arrangement key (function code 044).
Multi operations can be programmed into one arrangement program, and also entry of a
numeric parameter can be included anywhere in the arrangement program.
For example, when an arrangement program is programmed for executing fixed totalizer
Z consolidation for all terminal and the program is linked to an arrangement key, that
operation can be executed simply by pressing the arrangement key or attaching the i-
Button key to the receiver.
The scheduler function is provided for scheduled execution of arrangement key operation.
Execution of every specified time, as well as scheduled execution, can be performed using
this function.
The scheduler file (file 062) must be reserved to use the scheduler function.
2-7-1.
Arrangement key function
The arrangement file and arrangement keys must be reserved for the QT-6600 to use the
arrangement key function.
The arrangement file is used to store the arrangement programs. An arrangement file
record is 24 bytes long, and a maximum of 9999 records can be reserved. Arrangement
programs are programmed using character data, and multiple arrangement programs can
be programmed in the arrangement file.
Multiple arrangement keys can be preset on the keyboard, and each key can be linked to
an arrangement program. The linked arrangement program is then called and executed by
pressing the arrangement key.
The following table shows the command parameters of the arrangement key function that
can be interpreted and executed by the QT-6600.
Command parameters can only be separated by spaces.
Note that spaces cannot be included within the command parameter.
Details of command parameters and their functions are explained next.
1)
Number input
There are two methods to enter a number in an arrangement program.
Constant number input
Preset a fixed number (constant value) enclosed in parentheses in the arrangement
program.
Example: To enter
1234
preset
(1234)
Input of a single number when the arrangement program is executed.
A single number can be entered using the arrangement key. The number entered can be
used at any position and any time in the arrangement program.
Generally, an input number is temporarily stored in the work area (number entry buffer)
reserved for data processing, and is cleared after the processing is performed. With the
arrangement key function, a parameter save buffer is provided for saving the contents
of the number entry buffer. When a
%GET
command is encountered in an
arrangement program during processing, the data in the number entry buffer is saved
to the parameter save buffer. Set
%PUT
command to use the data saved in the
parameter buffer. The
%PUT
command can be used to load the data saved in the
parameter save buffer into the numeric entry buffer. These commands may be included
as often as necessary. The data in the parameter save buffer is changed only when a
%GET
command is processed.