Protech Systems PA-6822 User Manual page 72

Table of Contents

Advertisement

-VFD API
OpenVFD
Open the VFD Port.
Purpose
Set VFD Baud Rate; MB-4103 default baud rate is 9600;
Value
True (1) on success, False (0) on failure
Return
CloseVFD
Close the VFD Port.
Purpose
True (1) on success, False (0) on failure False (0)
Return
SendCommand
Send Command to VFD.
Purpose
VFD Command Code. ESC/POS Command.
Value
True (1) on success, False (0) on failure False (0)
Return
Example
VFD – Clear VFD Command (EPSON Command)
//Initialize a VFD class instance
VFD
VFD_Control
VFD_Control.
byte[] data =
data[0] = 0x0C;
VFD_Control.SendCommand(data);
VFD_Control.
PA-6822 SERIES USER MANUAL
Public Boolean OpenVFD (int BuadRate)
Public Boolean CloseVFD( );
Public Boolean SendCommand
=
new
OpenVFD(9600);
new
byte[1];
CloseVFD();
(byte[] data
VFD();
Chapter 3 Software
);
Page 71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents