1

The Automated ScoreBook For /Softball Scoreboard Interface Data Layout

Overall layout (size=1623 bytes)

Offset Data Block 0 HEADER 8 TEAM (Visitor) 38 BATTER (Visitor #1) 113 BATTER (Visitor #2) 188 BATTER (Visitor #3) 263 BATTER (Visitor #4) 338 BATTER (Visitor #5) 413 BATTER (Visitor #6) 488 BATTER (Visitor #7) 563 BATTER (Visitor #8) 638 BATTER (Visitor #9) 713 (Visitor) 813 TEAM (Home) 843 BATTER (Home #1) 918 BATTER (Home #2) 993 BATTER (Home #3) 1,068 BATTER (Home #4) 1,143 BATTER (Home #5) 1,218 BATTER (Home #6) 1,293 BATTER (Home #7) 1,368 BATTER (Home #8) 1,443 BATTER (Home #9) 1,518 PITCHER (Home) 1,618 TRAILER

The Automated ScoreBook For Baseball/Softball - Scoreboard Data Layout 2

HEADER block (size=8)

Offset Field[size] 0 start-of-message (hex 02) [1] 1 frame[3] 4 fill[4]

TEAM block (size=30)

Offset Field[size] 0 team id[8] 9 team name[20]

BATTER block (size=75)

Offset Field[size] 0 V=visitor H=home[1] 1 player name[12] 14 uniform number[2] 17 avg[5] 23 slugging pct[5] 29 hits-ab (this game)[5] 35 at-bats[3] 39 runs scored[3] 43 hits[3] 47 runs batted in[3] 51 doubles[2] 54 triples[2] 57 home runs[2] 60 stolen bases[3] 64 defensive position[2] 67 [3] 71 walks[3]

The Automated ScoreBook For Baseball/Softball - Scoreboard Data Layout 3

PITCHER block (size=100)

Offset Field[size] 0 V=visitor H=home[1] 1 player name[12] 14 uniform number[2] 17 ERA[5] 23 Batting average against[5] 29 [5] 35 hits allowed[3] 39 runs allowed[3] 44 earned runs allowed[3] 47 walks allowed[3] 51 strikeouts[3] 55 doubles allowed[2] 58 triples allowed[2] 61 home runs allowed[2] 64 wild pitches[2] 67 balks[2] 70 batters[2] 73 wins[2] 76 losses[2] 79 saves[2] 82 appearances[2] 85 games started[2] 88 complete games[2] 91 shutouts[2] 94 combination (shared) shutouts[2] 97 games finished[2]

TRAILER block (size=5)

Offset Field[size] 0 checksum[4] 4 end of message (hex 03) [1]

The Automated ScoreBook For Baseball/Softball - Scoreboard Data Layout 4

NOTES:

Data transmitted via RS-232 serial port to scoreboard computer via null-modem cable Baud rate configurable 2400 bps - 38400 bps Comms parameters are 8 stop bits, 1 data bit, parity None Start of message is always hex 02 (STX) End of message is always hex 03 (ETX) All data fields are left-justified, null-terminated strings (no space padding to the right) Checksum is ASCII hex checksum (does not include header block or trailer block) All statistics data is current season-to-date unless noted otherwise Pitching stats are for current pitcher only Battings stats are for current batting lineup only

The Automated ScoreBook For Baseball/Softball - Scoreboard Data Layout