4
5
MSE-630A
1.
Introduction.......................................................... 1
2.
Installation............................................................ 1
3. MSE
Utility........................................................... 2
4.
Specifications........................................................ 3
5. Command
Set........................................................ 4
6. Sample
Program.................................................... 5
Index
High/Low Coercivity Tracks 1&2&3
Magstripe Card Encoder
5. Command Set
Command Functional Description
Remark
Code
Hex 7F
Warm Reset
Hex 1B
Abort
Hex 4D
Red LED On
Hex 6D
Red LED Off
Hex 4C
Green LED On
Hex 6C
Green LED Off
Hex 28
Yellow LED On
Hex 29
Yellow LED Off
Hex 59
Buzzer On
Hex 79
Buzzer Off
Hex 50
Arm to Read
Hex 51
Read T1, Standard T1 Format
Hex 52
Read T2, Standard T2 Format
Hex 53
Read T3, Standard T3 Format
Hex 71
Read T1, Non-Standard Track Format
1 Parameter
Hex 72
Read T2, Non-Standard Track Format
1 Parameter
Hex 73
Read T3, Non-Standard Track Format
1 Parameter
Hex 55
Read T1, Custom Data Format
1 Parameter
(5, 6, or 7 Bits)
Hex 56
Read T2, Custom Data Format
1 Parameter
(5, 6, or 7 Bits)
Hex 57
Read T3, Custom Data Format
1 Parameter
(5, 6, or 7 Bits)
Hex 40
Arm to Write with RAW
Hex 41
Write T1, Standard T1 Format
Hex 42
Write T2, Standard T2 Format
Hex 43
Write T3, Standard T3 Format
Hex 61
Write T1, Non-Standard Track Format
1 Parameter
Hex 62
Write T2, Non-Standard Track Format
1 Parameter
Hex 63
Write T3, Non-Standard Track Format
1 Parameter
Hex 45
Write T1, Custom Data Format
1 Parameter
(5, 6, or 7 Bits)
Hex 46
Write T2, Custom Data Format
1 Parameter
(5, 6, or 7 Bits)
Hex 47
Write T3, Custom Data Format
1 Parameter
(5, 6, or 7 Bits)
Hex 3B
Set Write Density for Specified Track
2 Parameters
Hex 4F
Set 210 BPI for T1&T3
Hex 6F
Set 75 BPI for T1&T3
Hex 4E
Set 210 BPI for T2
Hex 6E
Set 75 BPI for T2
Hex 77
Set BPC for T1&T2&T3
3 Parameters
Hex 7B
Set Hi-Co
Hex 7C
Set Lo-Co
Hex 5D
Arm to Erase
Hex 5A
Erase T1
Hex 5B
Erase T2
Hex 5C
Erase T3
Miscellaneous Commands:
Read Commands:
Write Commands:
Erase Commands:
6. Sample Program
The following code fragment demonstrates how to
encode 7BPC
data on track 3.
(Communications Setup)
MSComm1.Output ="c" & "1"
mStart = Timer
Do While MSComm1.InBufferCount = 0
DoEvents
If Timer - mStart > 1 Then
MsgBox "Device time out"
Exit Sub
End If
Loop
buf = MSComm1.Input
If buf = "^" Then
MSComm1.Output = T3 & Chr(&H4)
mStart = Timer
Do While Timer - mStart < 0.5
DoEvents
Loop
buf = MSComm1.Input
If buf = "^" Then
buf = MSComm1.Input
buf = MSComm1.Input
MSComm1.Output = "@"
mStart = Timer
Do While MSComm1.Input <> "^"
DoEvents
If Timer - mStart > 0.3 Then
Command1_Click
Exit Sub
End If
Loop
Do While MSComm1.Input <> "^"
DoEvents
Loop
MsgBox "O.K."
Else
MsgBox "Transmit Data Error", vbCritical
End If
Else
MsgBox "Can't Excute", vbCritical
End If
If MSComm1.PortOpen = True Then MSComm1.PortOpen =
False
MSComm1.CommPort = 1
MSComm1.Settings = "9600,o,7,1"
MSComm1.PortOpen = True
Dim T3 as String
T3 = "ENCODE 7-BIT DATA ON TRACK3"
Initialization
Build Track Record
Issue Write Command
Next Page >>
PDF Version |
Product Specifications |
Operation Guide
| Software Utility
Magstripe Product Index:
Swipe
Card Reader |
ISO & JIS-II combo | Dual
Side |
Barcode Magstripe Combo |
Encoder |
OEM Module |
Portable Magstripe
| FAQ
TYSSO Product
Links:
Barcode Scanner |
Magstripe Card Reader
/ Writer |
POS Customer Display
Touchscreen POS System |
Cash Drawer |
Serial-Ethernet Converter |
Links to Other Sites
Home
|
Products |
Contact