Samsung 275C User Manual - Page 54

<Function 0&gt, <Function 1&gt

Page 54 highlights

GS ( C [Name] [Format] [Description] Edit NV user memory ASCII GS ( C pL pH m fn b [c1, c2] [d1...dk] Hex 1D 28 43 pL pH m fn b [c1, c2] [d1...dk] Decimal 29 40 67 pL pH m fn b [c1, c2] [d1...dk] Deletes, stores, and transmits data in the NV user memory area based on the functions defined in the table below. Also sends status information for the amount of space used in NV RAM and the amount of space still available. - The function code (fn) specifies the function. fn 0, 48 1, 49 2, 50 3, 51 4, 52 5, 53 6, 54 Function Function 0 Function 1 Function 2 Function 3 Function 4 Function 5 Function 6 Description Deletes specified record Stores data in specified record Sends data stored in specified record Sends capacity currently being used Sends available capacity Transmits the key code of the record stored in the NV user memory Cancels all records stored in the NV user memory - pL and pH specify the bytes following parameter pH (m and [a1 b1] ... [ak bk]) as (pL + (pH x 256)). - The other parameters are explained under each of the functions. GS ( C pL pH m fn b c1 c2 [Format] [Range] [Description] ASCII GS ( C pL pH m fn b c1 c2 Hex 1D 28 43 05 00 00 fn 00 c1 c2 Decimal 29 40 67 5 0 0 fn 0 c1 c2 (pL + pH x 256) = 5 (pL = 5, pH = 0) m = 0 fn = 0, 48 b = 0 32 ≤ c1 ≤ 126 32 ≤ c2 ≤ 126 Deletes the specified record stored in the NV user memory. The deleted area becomes an "unused" area available for storage. GS ( C pL pH m fn b c1 c2 d1...dk [Format] [Range] [Description] ASCII GS ( C pL pH m fn b c1 c2 d1...dk Hex 1D 28 43 pL pH 00 fn 00 c1 c2 d1...dk Decimal 29 40 67 pL pH 0 fn 0 c1 c2 d1...dk 6 ≤(pL + pH x 256) ≤65535 (0≤ pL ≤255, 0≤ pH ≤255) m = 0 fn = 1, 49 b = 0 32 ≤ c1 ≤ 126 32 ≤ c2 ≤ 126 32 ≤ d ≤ 254 k = (pL + pH x 256) -5 Stores data (d1... dk) in the record specified by parameters c1 and c2 (the key code ID numbers). - When the specified record already exists, the data is overwritten. - A terminator is automatically assigned. 4-18

  • 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

4-18
GS ( C
[Name]
Edit NV user memory
[Format]
ASCII
GS
(
C
p
L
p
H
m
fn
b
[c1, c2]
[d1...dk]
Hex
1D
28
43
p
L
p
H
m
fn
b
[c1, c2]
[d1...dk]
Decimal
29
40
67
p
L
p
H
m
fn
b
[c1, c2]
[d1...dk]
[Description]
Deletes, stores, and transmits data in the NV user memory area based on the functions defined in
the table below. Also sends status information for the amount of space used in NV RAM and the
amount of space still available.
- The function code (
fn
) specifies the function.
fn
Function
Description
0, 48
Function 0
Deletes specified record
1, 49
Function 1
Stores data in specified record
2, 50
Function 2
Sends data stored in specified record
3, 51
Function 3
Sends capacity currently being used
4, 52
Function 4
Sends available capacity
5, 53
Function 5
Transmits the key code of the record stored in the NV user memory
6, 54
Function 6
Cancels all records stored in the NV user memory
-
p
L
and
p
H
specify the bytes following parameter
p
H
(
m
and [
a1
b1
] ... [
ak
bk
]) as (
p
L
+ (
p
H
x 256)).
- The other parameters are explained under each of the functions.
GS ( C
p
L
p
H
m fn b c1 c2
<Function 0>
[Format]
ASCII
GS
(
C
p
L
p
H
m
fn
b
c1
c2
Hex
1D
28
43
05
00
00
fn
00
c1
c2
Decimal
29
40
67
5
0
0
fn
0
c1
c2
[Range]
(
p
L
+
p
H
x 256) = 5
(
p
L
= 5,
p
H
= 0)
m
= 0
fn
= 0, 48
b
= 0
32
c1
126
32
c2
126
[Description]
Deletes the specified record stored in the NV user memory. The deleted area becomes an “unused”
area available for storage.
GS ( C
p
L
p
H
m fn b c1 c2 d1...dk
<Function 1>
[Format]
ASCII
GS
(
C
p
L
p
H
m
fn
b
c1
c2
d1...dk
Hex
1D
28
43
p
L
p
H
00
fn
00
c1
c2
d1...dk
Decimal 29
40
67
p
L
p
H
0
fn
0
c1
c2
d1...dk
[Range]
6
(
p
L
+
p
H
x 256)
65535
(0
p
L
255, 0
p
H
255)
m
= 0
fn
= 1, 49
b
= 0
32
c1
126
32
c2
126
32
d
254
k
= (
p
L
+
p
H
x 256) -5
[Description]
Stores data (
d1... dk
) in the record specified by parameters
c1
and
c2
(the key code ID numbers).
- When the specified record already exists, the data is overwritten.
- A terminator is automatically assigned.