Wnvram Command; Rnvram Command; Wnvrambit Command (In A Bit Unit) - Brother HL-1050 Technical Reference Manual

Hide thumbs Also See for HL-1050:
Table of Contents

Advertisement

2.4.

WNVRAM Command

Syntax:
@PJL WNVRAM ADDRESS=address DATA=data<LF>
Range of values
address : 0-n ( n: depends on the NV-RAM size)
data
: 0-255
Comment:
This is to write the value that was set for "data" to the NV-RAM where addressed by "address". This command
must be execute in the superuser mode only. The main purpose of using this command is to re-write the NV-
RAM information a NV-RAM clear cartridge, which is available for the other models. However, this is useful
for changing the NV-RAM settings concerning the engine control at the factory production line.
2.5.

RNVRAM Command

Syntax:
@PJL RNVRAM ADDRESS=address<LF>
Range of values
address : 0-n (n: depends on the NV-RAM size)
Response:
@PJL RNVRAM ADDRESS<CR><LF>
ADDRESS=<CR><LF>
DATA=data<CR><LF>
<FF>
Range of the read data
address : 0-n (n: depends on the NV-RAM size)
data
: 0-255
Comment:
This is to read the value of an NV-RAM address as selected by "address". This command is executable in both
the normal mode and the superuser mode.
2.6.

WNVRAMBIT Command (in a bit unit)

Syntax:
@PJL WNVRAMBIT ADDRESS=bitaddress+size DATA<LF>
Range of values
address : 0-n (n: depends on the NV-RAM size)
size
: 1-32
data
: 0-4294967296 (long word)
Comment:
This command must be executed in the superuser mode. The bit address is placed as the upper word of the
address and the bit length is placed at the lower word. The value of "data" is written as addressed by "address".
When any values are out of above range, writing to the NV-RAM cannot be done. Any "data" that cannot be
described by "size" cannot be written to the NV-RAM.
Example:
@PJL WNVRAMBIT ADDRESS=65539 DATA=2<LF>
APPENDIX E REFERENCE LIST OF HL-1660e/2060/2400C PJL COMMANDS - 5
(the same "address" set as above)
(the retrieved data)
0x00010003: bitaddress 1, size 3
99/08/03

Advertisement

Table of Contents
loading

Table of Contents