Skip to content

Error message using PULSE_GEN FB

edited April 2019 in PLCnext Engineer

Dear Phoenix community,

I am having a problem using the Pulse_Gen function block,

i am receiving error messages

"the selected resource 'axc-f-2152-1:PLC' does not support the program organization unit 'ACTF'. and

"the selected resource 'axc-f-2152-1:PLC' does not support the program organization unit 'PULSE_GEN'.

Please refer the image under for more details on the error message. 

My intention to use this function block is, i want to generate a 1Hz pulse for 6 seconds long as long as the input active is.

i am using PLCnext Engineer 2019.0 LTS(build 3.13.543.0)

Thank you for your help in advance

With kind regards

Comments

  • Hello,

    This problem happens because the PULSE_GEN FB is part of the "Safety" set of function blocks, and these are not currently supported by the AXC F 2152.

     

    Capture

     

    This is confusing because the documentation for this FB states that the FB comes in two versions - PULSE_GEN for "standard" (non-safety) applications, and PULSE_GEN_S for safety applications. What this actually means, and what is not clear in the documentation, is that PULSE_GEN is for standard applications *in PLCs that support safety functions*.

    Unfortunately there is no equivalent to PULSE_GEN for the AXC F 2152 available as standard in PLCnext Engineer, so you will need to construct your own pulse generator from the FBs in the "Timer" folder, shown below.

     

    Capture1

    - Martin.

  • Dear Martin,

    Thank you for your fast reaction, i will do as you advised. i hope in the next release PLCNext this issue will be resolved.

    thank you again for the help.

    With kind regards,

    Berhan.

  • Hello,

    do we know in which PLCnE version is going to be solved?

    Thanks
  • Sorry, I don't understand what is left to be solved.

    The documentation for the PULSE_GEN function block is now clear:
    Available as standard (non-safety-related) and safety-related type (*_S). For the safety-related type, the safety-related data types (SAFE*) are expected at the formal parameters.
    NOTE: Both the standard and the safety-related type are only available in safety-related code (SNOLD), i.e. in a safety application executed by a Safety PLC.
    It should now be possible to use the PULSE_GEN function block in safety-related code in an AXC F 2152 that has the AXC F XT SPLC 1000 left-side extension module attached.
  • Hi Martin,

    What I understand is that the non safety FB should be working in a non safety project, f.i. with AXC 2152 (without safety license and without SPLC), shouldn´t it?

    BR.
  • No, that's not necessarily the case for these types of functions, and the documentation is clear that this is not the case for this function block:
    "Both the standard and the safety-related type are only available in safety-related code (SNOLD), i.e. in a safety application executed by a Safety PLC."
    If the requirement is for a version of PULSE_GEN that can be used in a standard PLCnext Engineer project, then this will need to be achieved another way, e.g. requesting that this function be added to PLCnext Engineer (through your normal channels), or searching the PLCnext Store for a suitable solution, or writing this function block yourself. It's not a bug in PLCnext Engineer.
Sign In or Register to comment.