EasyManua.ls Logo

Compumatic MINIDART v3 - Message Format; Commands to Machine

Default Icon
79 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
-49-
ASSIGNMENT MESSAGES
The PC can send the following assignment
messages to the machine:
-Information with the name of player 1
-Information with the name of player 2
-Synchronization of flashes
-Hour synchronization message
-Match assignment
-Cancellation of a Match in a Machine
-Elimination or disqualification of a player
The last three provoke the machine to return
an additional message confirming that it
has been received. The PC, in case this
confirmation is not received should be sent
the command again.
12.4- MESSAGE FORMAT
In general, the message format that the
PC sends to the Machines is:
DLE LEN IDMACH COMMAND+DATA CRC
-DLE: The byte of fixed heading
that always has the value 10H.
-LEN: The total length, including
DLE and CRC.
-CRC: The sum of all the bytes of
the message (Len-1), excluding CRC.
-ID: The Machine number. So that
the machine ‘listens’ to a message,
the number of the programmed machine
in the test adjustment ‘Num Machine’
should coincide with the one sent here.
The valid values are 1 to 32.
-COMMAND+DATA: The codes of the
different commands that can be sent to
the machines.
The format of the answer of the machines
to the PC is:
ACK LEN IDMACH COMMAND+DATA
(IF THEY EXIST)
CRC
-ACK: The fixed heading byte in all
responses that always have the value 06H.
12.5- COMMANDS TO MACHINE
00H NN ST FLG
Message that the PC sends and that obligates
the machines to respond, serves as a presence
test and also informs of the status of the
machine.
-NN: The number of the machine that will
receive the message.
-ST: Status of the machine. This byte is
made up of two fields:
Bit 7: Activates / deactivates game
simulation. Should always be 0 during
the competition. If a 1 is transmitted in
this position, the machine will simulate
the receipt of darts and advance the
game quickly. (Note: Not all versions of
the MINIDART program incorporate this
function).
Bits 0 ..2: indicates status of the
machine:
Status :
000 - Machine Free.
(Blocked) (Not Assigned)
001 - Machine Assigned.
(Wait presentation)
010 - Machine Warm-up.
(After presentation)
011 - Machine in Play.
(Competition game)
100 - Game Over.
(Between games / busy)
101 - Machine Blocked.
(Forces the block)
110 - Machine for external use.
(Normal machine)
-FLG: In this message a byte called flg is
used, that is made up of the following bits:
bit 0: Activates / Deactivates the
sending of darts. If it is activated (1),
the machine will transmit the darts
that they player has thrown throughout
the game.
COMPETITION MANAGEMENT SYSTEM
12.4- MESSAGE FORMAT
12.5- COMMANDS TO MACHINE

Table of Contents