8.6 Data Transfer by PLC
8.6.1 Settings
8.6.2 PLC Modules
8 – 30
PLC modules make it possible for the PLC to transfer data via the RS-232-C/
V.24 or RS-422/V.11 data interfaces. These modules, for example, permit
communication between two logic units at PLC level via the interface.
During data transfer, use of the interface is inhibited for the input/output
program of the user interface.
7 7 7 7
Select a standard operating mode, FE1 or FE2, or
7 7 7 7
Configure the data interface with MP5020.x to MP5040 in EXT3 mode.
MP5040
Data transfer rate in operating mode EXT3 (data transfer
through PLC)
Input:
0: 110 bps
1: 150 bps
2: 300 bps
3: 600 bps
4: 1200 bps
5: 2400 bps
6: 4800 bps
7: 9600 bps
8: 19 200 bps
9: 38 400 bps
10: 57 600 bps
11: 115 200 bps
With the following PLC modules you can operate the data interfaces from the
PLC:
n
Modules 9100 and 9101: Assign/release the data interfaces
n
Module 9102: Interrogate the status of the interface
n
Modules 9103 and 9104: Transmit and receive a string from the string
memory. The transmit and receive buffers for the PLC are 128 characters
long. Since every STRING ends with an END character, a STRING can only
be up to 127 characters long.
n
Modules 9105 and 9106: Transfer a block of binary values (bytes) from the
word memory
n
Module 9107: Read bytes from the receive buffer without erasing the buffer
STRINGS and binary data are transferred using ASCII characters.
HEIDENHAIN Technical Manual TNC 426, TNC 430