CAS40 protocol – Serial protocol used by pre-1996 calculators¶
The CAS40 variant of the CASIOLINK protocol is the earliest protocol used by CASIO calculators over serial links.
Note
The term was coined by Thomas Touhey, combining “CAS”, the start of “CASIOLINK” and also the name of the community tool from that time (see CaS command-line reference), and 40, the size in bytes of the headers used in the protocol.
This protocol is usually present over Serial transport. Serial settings are selected manually on both the sender and the receiver, and stay the same until the communication ends. Available serial settings on the reference implementations of this protocol are the following:
Speed: 1200, 2400, 4800 or 9600 bauds.
Parity: even, odd or none.
Stop bits: 2.
See the following sections for more details regarding the protocol.
- CAS40 packet format
- CAS40 data types
\x17\x17
AL End\x17\xFF
EndA1
Dynamic GraphAA
Dynamic Graph in BulkAD
All Variable MemoriesAL
AllAM
Variable MemoriesBU
BackupDC
Color ScreenshotDD
Monochrome ScreenshotDM
Defined MemoriesEN
Single Editor ProgramEP
Single Password Protected Editor ProgramF1
Single FunctionF6
Multiple FunctionsFN
Single Editor Program in BulkFP
Single Password Protected Editor Program in BulkG1
Graph FunctionGA
Graph Function in BulkGF
FactorGR
RangeGT
Function TableM1
Single MatrixMA
Single Matrix in BulkP1
Single Numbered ProgramPD
Polynomial EquationPZ
Multiple Numbered ProgramsRT
Recursion TableSD
Simultaneous EquationsSR
Paired Variable DataSS
Single Variable Data
- CAS40 flows