# Communicate with OMRON PLC using peripheral port? (USB B type)

**URL:** <https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848>\
**Category:** Hardware\
**Created:** [10 September 2021 09:42 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848 "2021-09-10T09:42:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanj](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@Vanj](https://discourse.nodered.org/u/Vanj)\
**Post date:** [10 September 2021 09:42 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/1 "2021-09-10T09:42:26Z")

</div>

Hello, Good day!  
I want to ask if possible to use peripheral port(USB type B) as communication to read and write data in PLC? I have this CJ2M CPU11 PLC, the ports available are 1 RS232C (connected to HMI) and 1 peripheral port.  
I have raspi3 connected to peripheral port and un-till now I cant get any data(serial port node).

please help me!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 September 2021 09:46 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/2 "2021-09-10T09:46:03Z")

</div>

If you have an ETN21 or EIP21 card you can easily access data over Ethernet/FINS with [node-red-contrib-omron-fins](https://flows.nodered.org/node/node-red-contrib-omron-fins)

If not, hold tight a few days as I am updating `node-red-contrib-omron-fins` to aid communication with hostlink/serial protocols

---

<div class="post-metadata">

**Author:** ![Vanj](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@Vanj](https://discourse.nodered.org/u/Vanj)\
**Post date:** [10 September 2021 23:55 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/4 "2021-09-10T23:55:42Z")

</div>

Hi steve-Mcl, thank you for your response,  
No RS232, no Rs485 , no Ethernet port. Only peripheral port is available.  
I just want to ask if I can use hostlink/serial protocols with peripheral port using USB B type cable.  
currently I am trying to get data using serial port node and omronplc node. but still no luck..

---

<div class="post-metadata">

**Author:** ![Vanj](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@Vanj](https://discourse.nodered.org/u/Vanj)\
**Post date:** [11 September 2021 09:00 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/5 "2021-09-11T09:00:23Z")

</div>

hi steve-Mcl, one question, if I can able to read/write data from/to HMI? is there protocol for that sir?  
please response.

thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 November 2021 09:01 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/6 "2021-11-10T09:01:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [9 January 2022 16:13 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/7 "2022-01-09T16:13:57Z")

</div>



---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [9 January 2022 16:18 UTC](https://discourse.nodered.org/t/communicate-with-omron-plc-using-peripheral-port-usb-b-type/50848/8 "2022-01-09T16:18:43Z")

</div>

> [@Vanj](#):
>
> I am trying to get data using serial port node and omronplc node

> [@Steve-Mcl](#):
>
> I am updating `node-red-contrib-omron-fins` to aid communication with hostlink/serial protocols

Hi @Vanj I have added a beta version of `node-red-contrib-omron-fins` which includes `c-mode` nodes.

> **[node-red-contrib-omron-fins](https://www.npmjs.com/package/node-red-contrib-omron-fins/v/1.0.0-beta-0)**
>
> OMRON FINS Ethernet protocol functions 'Read' and 'write' for communicating with OMRON PLCs from node-red. Latest version: 0.5.0, last published: 2 years ago. Start using node-red-contrib-omron-fins in your project by running \`npm i...

To install...

```bash
cd ~/.node-red
npm i node-red-contrib-omron-fins@1.0.0-beta-0

```

I dont have access to a peripheral / hostlink cable or PLC to test so would be grateful if you could test it and feedback. Ask here if you have questions on usage.
