store-howto-teaser-screen_04_1544x548 SAFEX Engineering.jpg

ctrlX SAFETY create User Groups

Dias
Community Moderator
Community Moderator
What are User Groups

User Groups are used when the same program parts are used multiple times. But, and this is important, they are not instances but always copies when they are used. If changes to a user group are made subsequently, these changes will not be automatically transferred to all previous copies. This means that User Groups should only be used multiple times, if the function has been clearly tested.

Example User Group EDM 1V00_

Since the existing EDM block is very special and therefore not suitable for every user, it is a good example for the application of User Groups.

Existing EDM BlockExisting EDM Block

EDM means External Device Monitoring. For example, a valve or a relay is controlled and a feedback input is expected in a certain monitoring time. If the feedback input is to late, an error is output and the control is taken back. Only when the problem, that caused the error, is turned off, can the error be acknowledged successfully. Otherwise, it will come back immediately after a reset.
This reset signal can be triggered, for example, via a functional input via a higher-level PLC and this is the main different to the existing EDM-Block.

User Group EDM Block with descriptionUser Group EDM Block with description

Each input and output of a user group should contain the name of the block so that it is always unique in a program. The names should also always end with an underscore _ because if a user group is used multiple times, a sequential number is still attached. This can be confusing if a name ends with a number (e.g., Input1 and Input2 will be Input11 and Input21 )

User Group EDM Block internal logicUser Group EDM Block internal logic

In this example, no Terminal In and Terminal Out are used because the logic is relatively simple. This makes the compilation smaller by fewer objects. However, this is not always possible, because otherwise there are to many crossing lines and the code becomes confusing. The discrepance time can be configured inside the logic.

Example User Group TimeMonitoredInputs 1V00_

Normally the inputs can be configured time-monitored. In this case, however, the monitoring time is set to 3s. If a shorter monitoring time is required, this can also be realized via a User Group.

Configuration of inputs as time montored inputsConfiguration of inputs as time montored inputs

User Group TimeMonitoredInputs 1V00_ with descriptionUser Group TimeMonitoredInputs 1V00_ with description

User Group TimeMonitoredInputs 1V00_ internal logicUser Group TimeMonitoredInputs 1V00_ internal logic

In this example, no Terminal In and Terminal Out are used because the logic is relatively simple. This makes the compilation smaller by fewer objects. However, this is not always possible, because otherwise there are too many crossing lines and the code becomes confusing. The discrepance time can be configured inside the logic.

Import of User Groups

The attached files can be imported via the Import Group function.

Import User GroupImport User Group

After the import you will find the imported group in the Library:

Imported Groups in the LibraryImported Groups in the Library

Special Hints to User Groups

User Groups can be locked, i.e. no changes can be made without unlocking them first.
If timers are used in a User Group and the cycle time is increased, for example, it may be that a subsequent compiling leads to an error. The timer are always a multiple of the cycle time the SAFEX, but these are not automatically adjusted. However, it is sufficient to click in and confirm with Enter and the times are correct again. This is also possible when the User Group is locked.

Dias
Dias
I`m a member of the ctrlX AUTOMATION Community and responsible for Safety Systems and PLC
Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist