EX-1280CをSerial over ethernetで制御する方法を検証中です。
Hello World

ControlSpace designerでデバイスのSerial CommunicationsのEnable Serial over IPのチェックをいれてPortNumberを設定します。

ターミナルソフトのHerculesを使い、TCP Clientで接続。

IP<CR>をHEXであらわす ”49 50 0D”をSendするとIPアドレスが返ってきます。
これで、EX-1280CがTCPで通信できることが確認できました。
WireSharkで確認

上記の通信をWiresharkでキャプチャしました。
18についてはHerculesで送った通信で、

このように、49 50 0dでIP<CR>が送られています。

次に、EX-1280C(192.168.10.41:10055)からデータが返ってきました。

DATAはEX-1280CのIPアドレスで確認がとれました。
Node-REDからIP\rを送る

[{"id":"4ba702df701f8000","type":"debug","z":"3ef7ef2110606386","name":"debug 9","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":620,"y":1160,"wires":[]},{"id":"3ae7e33a4df4f70b","type":"function","z":"3ef7ef2110606386","name":"IP","func":"msg.payload = Buffer.from('IP\\r', 'ascii');\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":450,"y":1000,"wires":[["e4fcfcfb12591339"]]},{"id":"900db303a407de15","type":"inject","z":"3ef7ef2110606386","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":380,"y":940,"wires":[["3ae7e33a4df4f70b"]]},{"id":"e4fcfcfb12591339","type":"tcp request","z":"3ef7ef2110606386","name":"EX-1280C:10055","server":"192.168.10.41","port":"10055","out":"time","ret":"string","splitc":"10","newline":"","trim":false,"tls":"","x":550,"y":1080,"wires":[["4ba702df701f8000"]]}]
Node-REDでフローを作成しました。

functionノードの中身はこのようにしておくります。

debugにはこのようにIPアドレスが表示されました。