Writing FC (functions) in SCL to move the values from PLC Tags to DB