EasyManua.ls Logo

Siemens SIMATIC S7 - Page 507

Siemens SIMATIC S7
866 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...
Libraries
9.4 Open user communication library
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
507
Example
This is an example usage of the ISO_CONNECT instruction:
STEP7-Micro/WIN SMART always uses pointers to pass a string to the ISO_CONNECT
instruction for the RemTsap and the LocTsap. If you use a constant string (as in the example
above), STEP7-Micro/WIN SMART automatically creates the string and the pointer. If you
wish to create strings in a Data Block and then pass a pointer to one of these strings, you
would follow these steps:
1. In the Data Block, create the strings:
VB100 "machine_1"
VB120 "machine_2"
2. Use "&VB100" or "&VB120" (without the quote marks) for the TSAP parameters on the
ISO_CONNECT instruction.

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals