Download TPSB CONTROLLER BOARD USER MANUAL

Transcript
4.13 User flash memory commands
ERASE USER FLASH SECTOR
Erases a section of user flash memory and sends a carriage return when the operation is complete.
ASCII
Decimal
GS @ n
1D 40 n
29 64 n
Value of n
49
Hexadecimal
n = 49 (ASCII n = 1)
This command erases all 64K Flash memory sectors allocated to logo storage.
Those sectors should be erased when the logo definition area is full and the driving application is attempting to
define new logos. All logo definitions are erased and must be redefined.
Important: While erasing flash memory, all communication is disabled. The printer responds to the application
only when the erase sequence is completed. After sending the Erase User Flash Sector (1D 40-n) command,
an application should wait for the printer response before sending new data. Otherwise, data will be lost. If an
application is unable to receive data, it should wait a minimum of five seconds after sending the Erase User
Flash Sector (1D 40 n) command before sending data.
RETURN USER FLASH MEMORY ALLOCATION STATUS
Returns the amount of Flash memory available in user section.
ASCII
Decimal
US w n
1F 77 n
31 119 n
Value of n
49
Hexadecimal
Returns the number of bytes available as a zero terminated ASCII string. Each digit is coded in decimal.
TPSB controller board User’s Manual
Page 50 / 59
FDE 31 08 398 Issue Z