EX-1280CはSerial over ethernetで制御しNode-REDからコマンドを送ります。
やりたいこと

Control Space Designerで作成したGainモジュール(BGM_CD_VOL)についてNode-REDから
- Levelを-60.5dBから12dBに変更すること
- MuteのTru/Falseの制御
- 上記2点のStatusを取得
以上をおこないたい。
Command

上記コマンドより
■Levelの操作とQuery
SA”BGM_CD_VOL”>1=3<CR> : これでBGM_CD_VOLのLevelを3.0dBに変更
GA”BGM_CD_VOL”>1<CR> : これでBGM_CD_VOLのLevelのQueryをかける
GA”BGM_CD_VOL”>1=3<CR> : EX-1280CからLevelについてのレスポンス
■Muteの操作とQuery
SA”BGM_CD_VOL”>2=O<CR> : BGM_CD_VOLのMuteをONにする
SA”BGM_CD_VOL”>2=F<CR> : BGM_CD_VOLのMuteをOFFにする
GA”BGM_CD_VOL”>2<CR> : BGM_CD_VOLのMuteのQueryをかける
GA”BGM_CD_VOL”>2=O<CR>: EX-1280CからMuteについてのレスポンス
これらをNode-REDで実装します。
Node-REDのフロー
■Levelの操作とQuery

[{"id":"4ba702df701f8000","type":"debug","z":"3ef7ef2110606386","name":"debug 9","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1160,"y":1240,"wires":[]},{"id":"e4fcfcfb12591339","type":"tcp request","z":"3ef7ef2110606386","name":"EX-1280C:10055","server":"192.168.10.41","port":"10055","out":"time","ret":"string","splitc":"100","newline":"","trim":false,"tls":"","x":1090,"y":1160,"wires":[["4ba702df701f8000"]]},{"id":"d976712c96c3dcef","type":"function","z":"3ef7ef2110606386","name":"GA\"BGM_CD_VOL\">","func":"msg.payload = Buffer.from('GA\"BGM_CD_VOL\">1\\r', 'ascii');\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":940,"y":1100,"wires":[["e4fcfcfb12591339"]]},{"id":"760b24a5fd596f5f","type":"inject","z":"3ef7ef2110606386","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":720,"y":1100,"wires":[["d976712c96c3dcef"]]},{"id":"cec7816b70c48b46","type":"function","z":"3ef7ef2110606386","name":"SA\"BGM_CD_VOL\">1=3","func":"msg.payload = Buffer.from('SA\"BGM_CD_VOL\">1=3\\r', 'ascii');\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":950,"y":1060,"wires":[["e4fcfcfb12591339"]]},{"id":"644f527d92831376","type":"inject","z":"3ef7ef2110606386","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":720,"y":1060,"wires":[["cec7816b70c48b46"]]}]

こちらがLevelを3.0dBにするコマンド

こちらがLevelを取得するQueryコマンドです。

ControlSpaceDesignerを接続状態にしてLevelを10.0にします。

Queryをかけると10.0が取得できました。
Node-REDからLevelを3.0dBにします。

ControlSpaceDesignerのLevelも3.0になりました。

Node-REDからQueryをかけて3.0が取得できました。
■Muteの操作とQuery

[{"id":"4ba702df701f8000","type":"debug","z":"3ef7ef2110606386","name":"debug 9","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1240,"y":1320,"wires":[]},{"id":"e4fcfcfb12591339","type":"tcp request","z":"3ef7ef2110606386","name":"EX-1280C:10055","server":"192.168.10.41","port":"10055","out":"time","ret":"string","splitc":"100","newline":"","trim":false,"tls":"","x":1150,"y":1240,"wires":[["4ba702df701f8000"]]},{"id":"418089692566fa54","type":"function","z":"3ef7ef2110606386","name":"SA\"BGM_CD_VOL\">2=O\\r","func":"msg.payload = Buffer.from('SA\"BGM_CD_VOL\">2=O\\r', 'ascii');\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1140,"wires":[["e4fcfcfb12591339"]]},{"id":"46f8379f4afdc7ae","type":"inject","z":"3ef7ef2110606386","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":760,"y":1100,"wires":[["418089692566fa54"]]},{"id":"85c1c4e0d13d5066","type":"inject","z":"3ef7ef2110606386","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":740,"y":1280,"wires":[["fb7199bf194de4b7"]]},{"id":"fb7199bf194de4b7","type":"function","z":"3ef7ef2110606386","name":"GA\"BGM_CD_VOL\">2=O\\r","func":"msg.payload = Buffer.from('GA\"BGM_CD_VOL\">2\\r', 'ascii');\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":900,"y":1320,"wires":[["e4fcfcfb12591339"]]},{"id":"464b0c526fcbc459","type":"function","z":"3ef7ef2110606386","name":"SA\"BGM_CD_VOL\">2=F\\","func":"msg.payload = Buffer.from('SA\"BGM_CD_VOL\">2=F\\r', 'ascii');\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":870,"y":1220,"wires":[["e4fcfcfb12591339"]]},{"id":"a3aa4a6c1bfdcd9d","type":"inject","z":"3ef7ef2110606386","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":760,"y":1180,"wires":[["464b0c526fcbc459"]]}]

まずはControlSpaceDesignerでMuteがFalseのとき、Node-REDからQueryをかけます。

Fと取得できたので、OFF(False)であることがわかりました。
今度はNode-REDからMuteをONにしてみます。

ControlSpaceDesignerのMuteもON(True)になることが確認できました。
まとめ
以上、SAコマンドやGAコマンドを使うことによって、GainノードのLavelを指定して、LevelやMuteをNode-REDから操作する方法を確認できました。