Serial Communications 3104
REC
XXXXX
3-32
Å
01H 10H 00H 7CH 00H 02H 80H 10H
Exceptions
:
The instrument handles the following exceptions :
Illegal address
exception code = 02
address is not correct or number of
registers
overlaps
the
max
limit
(42).
Illegal value
exception code = 03
value is out of the limits or protected.
3.9
Allen Bradley DF1 (PLC-5)
The DF1 is a propietary protocol of Allen-Bradley. The protocol has been implemented
according to : Allen-Bradley “Reference Manual – Data Highway / Data Highway Plus
Protocol and Command Set”
The commands used to read or write the registers are : typed read (code 68h) and typed
write
(67h).
3.9.1 Read
Registers
Connect message
This message must be sent from Host to Slave before a request of sending data can be
performed.
HOST
(PLC)
SLAVE
(3104)
DLE
(10H)
Æ
SOH
(01H)
ADDRESS OF SLAVE
DLE (10H)
STX (02H)
ADDRESS OF SLAVE
ADDRESS OF HOST
COMMAND (OFH)
STS (00H)
TMS
(xxH)
TMS
(xxH)
FNC
(68H)
PACKET OFFSET (LOW)
PACKET OFFSET (HIGH)
TOTAL
TRANS
(LOW)
TOTAL
TRANS
(HIGH)
ADDRESS OF DATA (FIRST BYTE)
ADDRESS OF DATA (SECOND BYTE)
ADDRESS OF DATA (THIRD BYTE)
ADDRESS OF DATA (FOURTH BYTE)
SIZE OF DATA IN ELEMENTS (LOW)
SIZE OF DATA IN ELEMENTS (HIGH)
DLE (10H)
ETX (03H)
BCC
Æ
Å
DLE
(10H)
Å
ACK
(06H)
Ask data :
This message is sent from the Host to the Slave to request a certain number of data :
Summary of Contents for Ramsey Micro-Tech 3000 Series
Page 2: ......
Page 4: ...Revision History Preliminary December 2003 Manual first released ...
Page 14: ...Serial Communications 3104 REC XXXXX 2 2 Figure 2 1 COMM A Board ...
Page 16: ...Serial Communications 3104 REC XXXXX 2 4 Figure 2 3 Serial Connection RS232 ...
Page 17: ...Serial Communications 3104 REC XXXXX 2 5 Figure 2 4 Serial Connection RS485 ...
Page 20: ...Serial Communications 3104 REC XXXXX 2 8 Figure 2 5 Mother Board Area of Detail ...
Page 58: ......
Page 60: ......