Download TELE-Network

Transcript
Operating instructions Tele-Network
8.6.2 Setup of the ASCII-TELE-flag
Example: FW 12 (can be divided into FB 12 and FB 13)
FW 12
FB 12
direction of sending
FB 13
transmission status
Direction of sending
0100H
in the flag word (absolutely 00 in the LOW-byte also with PLC-TELE in
order to delete the status; otherwise, the TELE-LINK does not accept
the command) Î send the data module that was described in the
communication DB. The number of the bytes that have to be sent can
be found in the communication DB.
0200H
The plc is ready to receive data. This means that the received lines are
only written in the plc if this command is there. Only one line including
CR is written. After that, TELE inputs into the command flag 0AH which
means - 020AH. This means for the plc that data has been received.
After this data has been processed, 0200H can be input again. If there
are still lines in the TELE, these are sent to the plc. The following is
then in the target
DW: Number of the received bytes in KF-format
DW: from here in KC the signs
Transmission status
01h:
02h:
03h:
04h:
05h:
06h:
07h:
08h:
command is ready without mistakes
command is being executed, but you have to check for TIMEOUT, the
command should be executed after 45 seconds
source module does not exist or is too short
target module does not exist or is too short
mistake; the command has to be repeated
configuration DM does not exist
parameter fault
the partner device is not an ASCII-subscriber
© 2003 - 2011 by PI + TIS
117