# PFC200 with 750-658 CAN Gateway - Unresponsive

**URL:** <https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222>\
**Category:** CODESYS\
**Tags:** pfc200, codesys\
**Created:** [September 22, 2024, 11:24pm UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222 "2024-09-22T23:24:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Catch22.FMX](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@Catch22.FMX](https://www.wago.community/u/Catch22.FMX)\
**Post date:** [September 22, 2024, 11:24pm UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222/1 "2024-09-22T23:24:44Z")

</div>

Hi all,

I am in a tricky situation regarding a function that I am attempting to implement in my Codesys 3.5 project. So I am reverting to the Wago community for some wisdom, thanks in advance for any ideas or leads.

I have a PFC200, the 8210 variant with many 750 cards including a 750-658. I have the latest installation of Codesys approved by Wago, and the up to date ESI and library files. I am running two 354 Ethercat slaves, and all works perfectly. Also Modbus TCP is up an running.

However, I have no CAN data coming through, even after adding the correct “FbModuleConfigurationAndStatus” Function block, along with any of the FBs to read frames, either in Transparent mode or Mapped mode.

I have confirmed I have data on IO-Check, and tried Transparent and Mapped mode, etc…All good there, data is showing. But in Codesys, nothing, nada.

I spent a extensive time making sure I have the correct libraries and data types (as I had compiling errors before), that’s resolved.

Now when I execute the FbModuleConfigurationAndStatus it reads the 250Baud rate, Can mode (transparent), 29Bit extended, etc…correctly as I set in IO-Check, but it times out and throws the output “xError”, but does not give any error diagnostic information.

When I go to the 658 on the Kbus module list, I see that the configuration variables (K-Bus IEC Objects) show default values (wrong Baud rate, mode), certainly not what I have setup in IO-Check.

I believe I am pointing to the right device in the FB, as I read the baud and mode correctly, but somethings not right.

Attached are some images. Any advice is greatly appreciated, as I’m going round in circles now.

 ![Screenshot 2024-09-22 233939](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/41d573f36ae37d79b55181bc0a2880f89835557a.jpeg)

---

<div class="post-metadata">

**Author:** ![quenorha](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/quenorha/32/429_2.png) [@quenorha](https://www.wago.community/u/quenorha)\
**Post date:** [September 23, 2024, 5:42am UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222/2 "2024-09-23T05:42:23Z")

</div>

In WAGO I/O Check, could you try to enable Control Mode and then disable it ?

---

<div class="post-metadata">

**Author:** ![Catch22.FMX](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@Catch22.FMX](https://www.wago.community/u/Catch22.FMX)\
**Post date:** [September 23, 2024, 8:30am UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222/3 "2024-09-23T08:30:36Z")

</div>

Thank you for your prompt response Quentin.

I tried as you suggest, and no improvement. I also installed additional libraries so see if there was something missing that was not being flagged.

I tried all combos again of setting the Can port open, running the configuration block and then resetting it, also tried closing. I then tried rebooting and just the configuration block and the frame Rx All block. I cannot think of any other combination of sequencing of what I have in the POU.

Attached is a screengrab of my libraries installed.

Its strange seems like it cannot read/write to the device on the Kbus, or that it is not initialized. However when putting the controller in Stop, and opening the 658 configuration page in IO-Check it works as expected. Then reversing the steps and trying in the Codesys project, nothing.

 ![Screenshot 2024-09-23 102501](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/e2e595cca8048b72edf16037483b0bbe8e2f1ecd.jpeg)

---

<div class="post-metadata">

**Author:** ![WagoIcard](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagoicard/32/1508_2.png) [@WagoIcard](https://www.wago.community/u/WagoIcard)\
**Post date:** [September 26, 2024, 3:00am UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222/4 "2024-09-26T03:00:49Z")

</div>

At first glance i don’t see anything weird.  
Since the module work in I/O check i think you have a good module and configuration of it also good cabling.  
Next i see the config function block is in error and only display the default data.  
Could you test this:  
Have the [CanL2Open] in one line.  
The [CanComsConfig] in another one.  
And the [RxFrame] in also another one.

The enable the [CanComsConfig] with the CanL2Open.xValid]  
and the [RxFrame] with a [CanL2Open.xValid AND CanComsConfig.xDone]  
Maybe there is a weird thing there.

Here is what i used in my project:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/d6afe304722a3240575f97c10c9f79486e7d69e8.png)  
WAGO\_CAN\_Layer2\_Device is the name I given to the 750-658.

---

<div class="post-metadata">

**Author:** ![Catch22.FMX](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@Catch22.FMX](https://www.wago.community/u/Catch22.FMX)\
**Post date:** [December 18, 2024, 2:21pm UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222/5 "2024-12-18T14:21:17Z")

</div>

Thank you Wagolcard for the response, In the end I solved the issue with some support from another source, we made a ST FB to decode the data. Which is a similar solution to what you proposed.

To provide some info back to the community, here is a screenshot of what we came up with, which is pretty much the original instructed guidelines from the library.

Thanks again for the thoughts and time to respond.

 ![Screenshot 2024-12-18 151803](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/b/b68c78cc54a4edd2431ea57e04c3231e74c512ee.jpeg)

---

<div class="post-metadata">

**Author:** ![WagoIcard](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagoicard/32/1508_2.png) [@WagoIcard](https://www.wago.community/u/WagoIcard)\
**Post date:** [December 19, 2024, 12:28am UTC](https://www.wago.community/t/pfc200-with-750-658-can-gateway-unresponsive/1222/6 "2024-12-19T00:28:13Z")

</div>

No problem, I am glad the problem has been solved.
