desktop_station_s_serial_communication_specification
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
desktop_station_s_serial_communication_specification [2016/04/30 07:17] – [How to use this topic] yaasan | desktop_station_s_serial_communication_specification [2016/10/01 06:38] – [Parameter meaning] yaasan | ||
---|---|---|---|
行 9: | 行 9: | ||
===== How to communicate ===== | ===== How to communicate ===== | ||
- | The following table describes serial communication configuration. | + | The following table describes serial communication configuration. |
+ | シリアル通信設定は以下のとおりです。 | ||
|Parity | None | | | |Parity | None | | | ||
行 20: | 行 21: | ||
Desktop Station sends to Arduino with DSmain or DCC/MM2 shield | Desktop Station sends to Arduino with DSmain or DCC/MM2 shield | ||
+ | コマンドの構造は、「コマンド名(引数1, | ||
===== Command list ===== | ===== Command list ===== | ||
行 31: | 行 32: | ||
|getS88| S88 decoder count | getS88(2)\n | | |getS88| S88 decoder count | getS88(2)\n | | ||
|setLocoConfig| CV Address, CV No, CV Value | setLocoConfig(49152, | |setLocoConfig| CV Address, CV No, CV Value | setLocoConfig(49152, | ||
+ | |getLocoConfig| CV Address, CV No | getLocoConfig(49152, | ||
===== Parameter meaning ===== | ===== Parameter meaning ===== | ||
行 43: | 行 45: | ||
|Locomotive Direction | 1-2 | 1:FWD, 2:REV | | |Locomotive Direction | 1-2 | 1:FWD, 2:REV | | ||
|Accessory address | 0-65535 | See the following address description.| | |Accessory address | 0-65535 | See the following address description.| | ||
- | |Turnout Direction | 0-1 | 1:Straight, 0: diverging| | + | |Turnout/ |
|S88 decoder count | 0-32 | Set connected S88 decoder count.| | |S88 decoder count | 0-32 | Set connected S88 decoder count.| | ||
|CV Address| 0 or 49152 | Set 0 (MM2, under developing) or 49152 (DCC).| | |CV Address| 0 or 49152 | Set 0 (MM2, under developing) or 49152 (DCC).| | ||
- | |CV No | 0-255 | Locomotive' | + | |CV No | 0-1023| Locomotive' |
|CV Value | 0-255 | Locomotive' | |CV Value | 0-255 | Locomotive' | ||
desktop_station_s_serial_communication_specification.txt · 最終更新: 2023/12/26 21:00 by yaasan