On Wed, Jun 6, 2012 at 7:44 PM, Tony Duell <ard at p850ug1.demon.co.uk> wrote:
Of my 858/859
CPU's, some are CP7R and some are CP7RA. I don't know
what the difference between these two is. The difference between the
858 and the 859 is whether a front panel with lamps and toggle
switches is fitted (858) or a front panel with fluorescent hexadecimal
displays and pushbuttons (859).
In the P854, there are 2 RS232 serial ports on the CPU boards. I think
they use 8251 USARTs, and are controleld by the processor microcode. One
is used for the console terminal, the other commnicates with the
frontpanel, which is a keypad thing wit ha pair of VF displays. There's a
microcontrolelr (an 8748 I think) on the frontpanel board.
Is the P859 like this? Does the P858 lights-and-swithces panel
communicate over an serial link. If so, I'd love to know more....
Yes. It's a serial link, and the protocol is the same between the FRCP
(854 and 859, pushbutton/fluorescent) and ERCP (858,
lights-and-switches, looks identical to the panel on the P856).
Do you ahve nay docuemtnaion which includes eitehr the
source code for
the panel micrcontrolelr firmware or the communications protocol?
The firmware is not included as far as I can tell, but the
communications protocol is described as follows:
4800 baud, 1 start bit, 8 data bits, 2 stop bits (no parity)
Address: Bx Bx Bx Bx Bx Bx (where x x x x x x are the 6 hex characters
of the address)
Register address: 3x
Data: 3x 3x 3x 3x
Switches:
MCL: 40
LR: 41
RR: 42
RST: 43
IPL: 44
LM(1): 45
LM(2): 55
INT: 46
RM(1): 47
RM(2): 57
LA:48
INST: 49
RPA: 4A
RUN: 4B
PACC: 4C
PWR: 4D
POFF: 4F
TEST: 4E
master-to-panel functions:
RUNZ0 (Run -> Idle): 40
RUNZ1 (Idle -> Run): 41
TEST: 42
This is from the P858, P859 reference manual.
Cheers,
Camiel