Read Omron CJ2M PLC using RS485 (serial ; NOT FINS)

Hi. I am getting a list of error messages when using Omron C-mode response. Need help on this.

Below is my flow:

[
    {
        "id": "cfea0554f6f26498",
        "type": "tab",
        "label": "Flow 3",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "b026669094492a69",
        "type": "C-Mode Command",
        "z": "cfea0554f6f26498",
        "name": "CP2E",
        "plcSeries": "CSJP",
        "hostNumber": "1",
        "headerCode": "RD",
        "p1": "20",
        "p2": "1",
        "p3": "",
        "x": 310,
        "y": 140,
        "wires": [
            [
                "c1a4dbfe61b7aeee"
            ]
        ]
    },
    {
        "id": "09145cf523d6f79f",
        "type": "C-Mode Response",
        "z": "cfea0554f6f26498",
        "name": "",
        "x": 650,
        "y": 100,
        "wires": [
            [
                "c6b0c58683bdf2fd"
            ]
        ]
    },
    {
        "id": "b7aa09c6bb45d34b",
        "type": "inject",
        "z": "cfea0554f6f26498",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "1",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 150,
        "y": 120,
        "wires": [
            [
                "b026669094492a69"
            ]
        ]
    },
    {
        "id": "c6b0c58683bdf2fd",
        "type": "debug",
        "z": "cfea0554f6f26498",
        "name": "debug 10",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 780,
        "y": 180,
        "wires": []
    },
    {
        "id": "c1a4dbfe61b7aeee",
        "type": "serial request",
        "z": "cfea0554f6f26498",
        "name": "",
        "serial": "5f558d3bfc5eee56",
        "x": 460,
        "y": 120,
        "wires": [
            [
                "09145cf523d6f79f"
            ]
        ]
    },
    {
        "id": "5f558d3bfc5eee56",
        "type": "serial-port",
        "serialport": "COM11",
        "serialbaud": "9600",
        "databits": "7",
        "parity": "even",
        "stopbits": "2",
        "waitfor": "",
        "dtr": "none",
        "rts": "none",
        "cts": "none",
        "dsr": "none",
        "newline": "\\n",
        "bin": "false",
        "out": "char",
        "addchar": "",
        "responsetimeout": "10000"
    }
]

Place a debug node on the output of the serial request node - What response do you see from the PLC?

image
This is what I see, now the buffer parser is also showing an error

Recording #11

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