Technical data
Programming
CPU 317T: Technology Functions
5-16 A5E00251798-03
5.9 Symbolic programming with FC 400 "DB2INT"
Use FC 400 "DB2INT" of the "S7-Tech" if you want to use the symbolic name of
the technology block for calling the technology functions.
The figure below shows how FC 400 "DB2INT" is used:
1. Define a variable of the type INT (here: "TECH_DB").
2. Call FC 400 "DB2INT" by means of the "CALL" command.
3. Set the symbolic name of the technology DB at the input parameter Dbref.
4. Set the defined variable value at output parameter RET_VAL.
5. Next, use the "CALL" command (here: FB 401 "MC_Power") to call the
technology function.
6. Set the value of the defined variable at input parameter Axis (for other FB, at
the input parameters Master, Slave, CamSwitch, MeasureInput or CamTable).