Hello,
I try to configure my Caparoc PN PM with plcnext and Caparoc_basic 2.0, but i got some problems.
I got a axc f 2152, a caparoc PN PM and 2x E4 10amp .
My web interface is correctly set, i got information from the caparoc (V,Amps,…) but i cannot switch channels on the E4 breaker.
Can you help me?
Thank you.
Hello Aure,
did you use the valid flag to unlock the process data for controlling the channel status?
Without switching this bit to true the status will be ignored by the CAPAROC modules.
Here the valid flag will be set by the function block.
Best regards
Timo Beßler
Application Specialist
Application & Technical Support
Business Unit System Protection Technologies
Phoenix Contact GmbH & Co. KG
Flachsmarktstrasse 8
D-32825 Blomberg
Germany
www.phoenixcontact.com
Hello Timo,
Thank you for the reply,
I do that,
but the problem still the same. Must i change a parameters somewhere else?
Thank you.
Can you give a screen shot showing PLCnext Engineer when it’s online to the controller, showing that the Internal Validity bit and the Switch bit are both set to 1 for at least one of the channels?
The Process Data variable that is highlighted in the screen shot is an output byte , as described in the Caparoc data sheet that Timo posted.
In the screen shot, that process data variable is connected to a PLC variable of type BOOL. That’s possible because a bool is smaller than a byte, but it means that only one bit in the output byte can be set or reset by the PLC variable.
Please try connecting that process data item to a PLC variable of type BYTE, so you can set both the Validity bit and the Switch bit in the output process data.
I tried to create a new variable and set byte to 1 but nothing change.
should I do something else?
Thank you for your help.
Setting a byte value to 1 is the same as setting bit 0 in that byte to 1.
Here is the layout of the Output process data bytes:
What happens when you set both bit 0 and bit 7 to 1?
That can be achieved by setting the byte value to (binary) 10000001, or (hexadecimal) 81.
No worries.
You only need to set one or more of the Output bytes to 0x81, which you appear to have done:
Can you post a screen shot in debug mode, showing that the online value of one or more of those output bytes is in fact 0x81 ?
Does that then close the switch on the Caparoc module?
Aure:
I have a Caparoc PN set up & running.
The first thing I did was map a variable to the control channel – in this case, my variable is caparoc_pm_pn_Control_channel_5.
Process Data Mapping.jpg
In order to “enable” switching the channel on / off, you have to turn on bit 7. I did this in ladder logic by tying a coil to caparoc_pm_pn_Control_Channel_5.%x7
Set Bit 7.jpg
Now, on my HMI, I have a toggle push button that is tied to caparoc_pm_pn_Control_Channel_5.%x0.
Toggle Channel Control.jpg
Hopefully this helps,
SFW










