Siemens SIMATIC ET 200S Operating Instructions Manual page 121

Technological functions
Hide thumbs Also See for SIMATIC ET 200S:
Table of Contents

Advertisement

Integration into the User Program (Not for Modified User Data Interface)
Create block FC101 and integrate it in your control program (in OB1, for example). This
block requires the data block DB1 with a length of 16 bytes. The start address of the module
in the following example is 256.
STL
Block: FC101
Network 1: Presettings
0
L
DB1.DBD0
T
DB1.DBD4
T
SET
DB1.DBX4.0
S
Network 2: Write to the control interface
DB1.DBD0
L
PAD 256
T
DB1.DBD4
L
PAD 260
T
Network 3: Read from the feedback interface
PED 256
L
DB1.DBD8
T
PED 260
L
DB1.DBD12
T
Technological Functions
Operating Instructions, 02/2007, A5E00124867-05
3.3 Example: Start 1Count5V/500kHz
Description
//Delete control bits
//Open SW gate
//Write 8 bytes to the 1Count5V/500kHz
//Configured start address of the outputs
//Read 8 bytes from the 1Count5V/500kHz
//Configured start address of the inputs
1Count5V/500kHz
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents