
33
Read Product I.D.
This command returns an identifier specific to the addressed Sensoray product. The product
identifier specifies the Sensoray product model number; the value 518 will be returned by a
model 518 sensor coprocessor.
COMMAND: (240), (4), (0)
RESPONSE: (ProductID_MSB), (ProductID_LSB)
EXAMPLE:
‘ This code fragment reads and prints the coprocessor product identifier.
CALL Send518byte (BasePort%, 240)
CALL Send518byte (BasePort%, 4)
CALL Send518byte (BasePort%, 0)
ID% = Read518word (BasePort%)
PRINT USING “This product is a Sensoray Model ####”, ID%
Comentarios a estos manuales