Technical data

Table Of Contents
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
26-1
26 IEC Functions
26.1 Overview
You can copy the following International Electrotechnical Commission (IEC)
functions from the STEP 7 library "S7libs\Stdlib30" to your program directory.
Name IEC Block Family Function
FC3 D_TOD_DT Convert Combine DATE and TIME_OF_DAY to DT
FC6 DT_DATE Convert Extract the DATE from DT
FC7 DT_DAY Convert Extract the day of the week from DT
FC8 DT_TOD Convert Extract the TIME_OF_DAY from DT
FC33 S5TI_TIM Convert Data type conversion S5TIME to TIME
FC40 TIM_S5TI Convert Data type conversion TIME to S5TIME
FC16 I_STRNG Convert Data type conversion INT to STRING
FC5 DI_STRNG Convert Data type conversion DINT to STRING
FC30 R_STRNG Convert Data type conversion REAL to STRING
FC38 STRNG_I Convert Data type conversion STRING to INT
FC37 STRNG_DI Convert Data type conversion STRING to DINT
FC39 STRNG_R Convert Data type conversion STRING to REAL
FC9 EQ_DT DT Compare DT for equal
FC12 GE_DT DT Compare DT for greater than or equal
FC14 GT_DT DT Compare DT for greater than
FC18 LE_DT DT Compare DT for smaller than or equal
FC23 LT_DT DT Compare DT for smaller than
FC28 NE_DT DT Compare DT for unequal
FC10 EQ_STRNG String Compare STRING for equal
FC13 GE_STRNG String Compare STRING for greater than or equal
FC15 GT_STRNG String Compare STRING for greater than
FC19 LE_STRNG String Compare STRING for smaller than or equal
FC24 LT_STRNG String Compare STRING for smaller than
FC29 NE_STRNG String Compare STRING for unequal
FC21 LEN String Length of a STRING variable
FC20 LEFT String Left part of a STRING variable
FC32 RIGHT String Right part of a STRING variable
FC26 MID String Middle part of a STRING variable
FC2 CONCAT String Combine two STRING variables
FC17 INSERT String Insert in a STRING variable
FC4 DELETE String Delete in a STRING variable
FC31 REPLACE String Replace in a STRING variable