例如,一个DB1的SCL源程序的代码:
DATA_BLOCKDB1
//
//BlockComment。..
//
STRUCT
tag01:REAL;//Pressure
tag02:INT;//Tempreture
tag03:BOOL;//Highlimitalarm
tag04:WORD;//IW
END_STRUCT
BEGIN
tag01:=0.0;
tag02:=2;
tag03:=false;
tag04:=W#16#0;
END_DATA_BLOCK