65
<GB
n
>
Graphic Block
System
Description
This command specifies the graphics block that can be accessed through the GRAPHIC_DATA
register when using the Modbus protocol
Parameters
n
= 0 to 16
- Block segment number
Initial Value
n
= 0
Modes
All Screen Modes
Notes
This command has no purpose if the Modbus protocol is not being used. A command error will be
returned if an invalid attempt to use it is made.
Because of the register size, a maximum of 64 bytes of data may be sent over in a single transaction.
Graphics data sent to and received by the display often need to be much larger than this, so the data
has to be split into 64 byte segments.
The <GBn> parameter specifies which block of 64 bytes is being sent or read from the display
Graphics commands will ignore any data past the end of file in a block and data in any higher
numbered blocks
Uses
The <GB> command allows:
•
The data length limitations in transferring graphics data to be overcome
Example
<GB0>
Set Graphics Block 0
Read/Write first 64 bytes of data to the display using the
GRAPHIC_DATA parameter
<GB1>
Set Graphics Block 1
Read/Write the next 64 bytes of data to the display using the
GRAPHIC_DATA parameter
<GB2>
Set Graphics Block 2
and so on until all the data has been transferred
<DG>
Now issue the command to process all previously transmitted
blocks.
Gotchas!
Can only be used in conjunction with the Modbus protocol
Make sure that the section on Graphics Transfer (Page 13) is read and understood
See Also
DF
Download Font
DG
Download Graphic
DS
Download Screen
US
Upload Screen