Automating with STEP 7 in LAD and FBD