EasyManua.ls Logo

Moeller MV4 Series - Receive TP2 Procedure Command; Special Note; Implementation Aids

Moeller MV4 Series
161 pages
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...
Communications Card Description ZB4-601-IF1, ZB4-609-IF1 4-44
Moeller 07/01 AWB-C2700-1347GB
8.16.9 Receive TP2 procedure command
Troubleshooting see also 6.16.4 and 6.16.7
ZB4-601/609-IF1 PLC REMARKS
STX (02h) Start transfer
ACK (06h) PLC ready
RECEIVE (44h) Data direction PLC –> ZB4-601/609-IF1
ADR_HI HI byte start address
ADR_LO LO byte start address
BYTE COUNT Number of data bytes
ETX (03h) End transfer
CHK Checksum (Addition of all bytes from RECEIVE to and incl. ETX)
STX (02h) Header correct, start transfer
DATA0_HI HI byte 1st Data word (1st Byte)
DATA0_LO LO byte 1st Data word (2nd Byte)
DATA1_HI HI byte 2nd Data word (3rd Byte)
DATA1_LO LO byte 2nd Data word (4th Byte)
... (max. number “BYTE COUNT”)
ETX (03h) End transfer
CHK Checksum (addition of all bytes from D_VAL to and incl. ETX)
8.16.10 Special note
The PLC should not be processing any time consuming functions during the transfer operation
(after ACK was sent) in order to ensure that data is not lost. The ZB4-601/609-IF1 sends in this phase
1 byte to the PLC every 1 ms.
Complex tasks should be processed before an ACK is sent in response to a transfer start
(ZB4-601/609-IF1 sends STX).
This is necessary since no hardware handshake is activated and therefore data can be overwritten.
8.16.11 Implementation aids
In order to simplify implementation, we have written programs for IBM-PCs which simulate your PLC and the
ZB4-601/609-IF1 itself.
TP.EXE/TP.PAS Exec and Source Code, Simulation of a PLC with TP1 Protocol
TP2EXE/TP2PAS Exec and Source Code, Simulation of a PLC with TP2 Protocol
TP2SIM.EXE Simulates an ZB4-601/609-IF1 with TP2 Protocol; Can be very useful in order
to test your own PLC driver with ZB4-601/609-IF1.
Further information is provided in the README file on diskette.

Table of Contents

Related product manuals