
Libraries
9.4 Open user communication library
S7-200 SMART
498
System Manual, V2.3, 07/2017, A5E03822230-AF
9.4
Open user communication library
The STEP 7-Micro/WIN SMART Open User Communication (OUC) library instructions
create the tables required by the OUC instructions (Page 217) (TCON, TSEND, TRECV, and
TDCON). The library instructions build the table as needed, call the OUC instruction, and
then present you the status values on the outputs of the library instruction. The CPU uses
library memory to create a table to pass to the OUC instructions. The Open User
Communication library requires 50 bytes of V memory.
The library instructions are as follows:
●
TCP_CONNECT: Create a TCP connection.
●
ISO_CONNECT: Create an ISO-on-TCP connection.
●
UDP_CONNECT: Create a UDP connection.
●
TCP_SEND: Send data instruction for TCP and ISO-on-TCP connections.
●
TCP_RECV: Receive data instruction for TCP and ISO-on-TCP connections.
●
UDP_SEND: Send data instruction for UDP connections.
●
UDP_RECV: Receive data instruction for UDP connections.
●
DISCONNECT: Terminate the connection for all protocols.
Note
The CPU models CPU CR20s, CPU CR30s, CPU CR40s, and CPU CR60s have no
Ethernet port and do not support any functions related to the use of Ethernet
communications.
Note
Only call the library functions from either the main program or from interrupt routines, but not
both.
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...