Note: When assigning tags in this way, there is a risk of a mix-up with the global tags from the tag table. The previously presented procedure using drag and drop from the interface description should therefore be used preferentially. Multiple conditions are to be able to stop the conveyor. An OR block is therefore needed at the R1 input of the SR flip-flop. First, click the R1 input of the SR flip-flop so that the input line has a blue background. Click the icon in your logic toolbar to insert an OR logic operation. The OR block has 2 inputs initially. In order to logically combine an additional input tag, click the yellow star of the OR block. Add input tags #Stop, #Safety_shutoff_active and #Automatic_mode_active to the 3 inputs of the OR block. Negate the input connected to parameter #Automatic_mode_active by selecting it and clicking . Do not forget to click . The finished function block "MOTOR_AUTO" [FB1] in FBD is shown below. Under "General" in the properties of the block, you can change the "Language" to LAD (Ladder Logic) (Properties General Language: LAD) The program has the following appearance in LAD.
Note: When assigning tags in this way, there is a risk of a mix-up with the global tags from the tag table. The previously presented procedure using drag and drop from the interface description should therefore be used preferentially. Multiple conditions are to be able to stop the conveyor. An OR block is therefore needed at the R1 input of the SR flip-flop. First, click the R1 input of the SR flip-flop so that the input line has a blue background. Click the icon in your logic toolbar to insert an OR logic operation. The OR block has 2 inputs initially. In order to logically combine an additional input tag, click the yellow star of the OR block. Add input tags #Stop, #Safety_shutoff_active and #Automatic_mode_active to the 3 inputs of the OR block. Negate the input connected to parameter #Automatic_mode_active by selecting it and clicking . Do not forget to click . The finished function block "MOTOR_AUTO" [FB1] in FBD is shown below. Under "General" in the properties of the block, you can change the "Language" to LAD (Ladder Logic) (Properties General Language: LAD) The program has the following appearance in LAD.
SCE_EN_032-200%20FB-Programming_S7-1500_R1703.docx