NOTE: The described program is only an example and shows the use of the FB_SmgAddOnModule in combination with other function blocks.
It is not guaranteed that all possible operating situations are covered with all the parameter combinations.
Before you attempt to provide a solution (machine or process) for a specific application using the POUs found in the library, you must consider, conduct and complete best practices. These practices include, but are not limited to, risk analysis, functional safety, component compatibility, testing and system validation as they relate to this library.
|
IMPROPER USE OF PROGRAM ORGANIZATION UNITS |
oPerform a safety-related analysis for the application and the devices installed. oEnsure that the Program Organization Units (POUs) are compatible with the devices in the system and have no unintended effects on the proper functioning of the system. oUse appropriate parameters, especially limit values, and observe machine wear and stop behavior. oVerify that the sensors and actuators are compatible with the selected POUs. oThoroughly test all functions during verification and commissioning in all operation modes. oProvide independent methods for critical control functions (emergency stop, conditions for limit values being exceeded, etc.) according to a safety-related analysis, respective rules, and regulations. |
Failure to follow these instructions can result in death, serious injury, or equipment damage. |
The SoMotionGenerator (SMG) is an IEC reference generator for an axis that generates independent reference values over three channels and writes their sum onto the reference value of the axis. With these complex motion sequences, for example, the reproduction of differential gears or the superposition of motions are realized. The SMG is provided in the PD_SoMotionGenerator library.
NOTE: If you intend to use the SoMotionGenerator it might be helpful to already be familiar with the CAM Motion Editor.
NOTE: Please note that recovery scenarios (for example, warm start) are not handled by the SoMotionGenerator. They have to be implemented by the user.
Because of the various functions and parameters that the SMG offers, the use of it is also very complex.
The following auxiliary materials support the user when using the SMG:
oA reference part of the PD_SoMotionGenerator explains the tasks and the operating principles of the individual function blocks.
oThe "How To", that explains the use of the demo project SmgAddOnModuleExample.project, contains the sample program for a flying saw in more detail.
oThe demo project SmgAddOnModuleExample.project includes a template visualization:
In the demo project SmgAddOnModuleExample.project there is an example that explains the use of the SoMotionGenerator (SMG). It is delivered as of the seco package Vx.x.x.x.
After installing the corresponding seco package, the demo project is available (see also Installing components). It can be called up by selecting the project template SmgAddOnModuleExample via New Project > With Template > Tab General.
The equipment module SR_SmgAddOnModule is installed in the demo project. It uses the default axis module in the operation mode AdditionalMode. The operation mode AdditionalMode calls up the function block FB_SmgAddOnModule. This function block takes over control of the SMG and the communication for the application example. It is saved in the ExampleFBs directory of the demo project.
The following sub-chapter explains the use and the structure of the demo project SmgAddOnModuleExample.