Integration into the User Program
(not for modified user data interface)
1. Create block FC101 and integrate it in your control program (in OB1, for example).
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
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.
2.3 Example: Start 1Count24V/100kHz
Description
//Delete control bits
//Open SW gate
//Write 8 bytes to the 1Count24V/100kHz
//Configured start address of the outputs
//Read 8 bytes from the 1Count24V/100kHz
//Configured start address of inputs
1Count24V/100kHz
17