Skip to content

We need some system variables of AXC F 2152

Hello Sir,

We need some system variables of AXC F 2152.

for example:

PLCMODE_RUN,

PLCMODE_ON,

PLCMODE_STOP...

We have customers who need to do status testing, none of which.

How can we solve this problem?

Thanks!

 

Comments

  • Hello,

    The PLC state is available from the IPlcManagerService2 RSC service - which is accessible from PLCnext components written in C++.

    Where would you like to see this information?

    ~ Martin.

  • Hello Sir,

    We are clear about this, but the customer thinks it is too troublesome. They need to call it directly in plcnext engineer.

  • OK. I am not sure what your customer wants. Where exactly does the customer want to see this information? In PLCnext Engineer? On a HMI screen? In an OPC UA client? Somewhere else?

    ~ Martin.

  • Hello Sir,

    They need the system variables to trigger the corresponding function block initialization, and also need to be displayed on the SCADA.

  • Thanks for clarifying.

    You might be able to achieve this using one or more Event Tasks in PLCnext Engineer:

    2020 02 19 9 51 02

    For exampe, you can use the "Stop" event to trigger a task that executes a program that sets a variable indicating the PLC state. If this variable is marked with the "OPC" attribute, then the value of this variable can be displayed on a SCADA system via the corresponding OPC UA tag.

    ~ Martin.

  • Hello Sir,

    We will inform the customer after the test and persuade the customer to adopt other methods.

    Thank you very much !

     

Sign In or Register to comment.