User Tools

Site Tools


rascii-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rascii-en [2019/03/08 08:06] – [Commands] rjversluisrascii-en [2022/12/11 00:48] (current) – obsolete trouble shooting section removed rainerk
Line 3: Line 3:
 [[:english|Content]] -> [[:english#command_stations|Command Stations]] ->  **[[rascii-en|RASCII]]**  [[:english|Content]] -> [[:english#command_stations|Command Stations]] ->  **[[rascii-en|RASCII]]** 
  \\  \\
-{{:arduino:uno-decspec-en.png}}{{:arduino:rascii-monitor-en.png}}\\+{{:arduino:uno-decspec-en.png?300}}{{:arduino:rascii-monitor-en.png?300}}\\ 
 + 
 + \\ 
 +=====Setup===== 
 +{{:rascii:rascii-setup-en.jpg?400}} 
 +====Options==== 
 +===Ping=== 
 +A Ping command will be sent with this interval in ms.\\ 
 +Disabled in case of zero.\\ 
 +The Ping can be used as "Dead man's switch".\\
  
  \\  \\
Line 23: Line 32:
 The info text may not contain any of the prefixes. This will make the message invalid and will be rejected.\\ The info text may not contain any of the prefixes. This will make the message invalid and will be rejected.\\
  
- \\+====Serial Monitor==== 
 +Serial monitor input is a way to provide easy setting up a unit, for example the WiFi settings.\\ 
 +The input should be read until a linefeed has been detected, and do not have a length field. 
 +=== Help=== 
 +|< >| 
 +^ Prefix ^ Remark ^ 
 +|  ?  | Should show help regarding monitor commands. |
  
 +===CV===
 +|< >|
 +^ Prefix ^ Example ^ Remark ^
 +|  *  | ''*ssid=myhome'' | The help function should list up all possible settings. |
 +
 +
 + \\
 =====HEXA===== =====HEXA=====
 HEXA is the Hexadecimal-ASCII representation of a binary number.\\ HEXA is the Hexadecimal-ASCII representation of a binary number.\\
Line 83: Line 105:
 |  4 |  #  | Set config | The board configuration. |  | |  4 |  #  | Set config | The board configuration. |  |
 |  5 |  #  | Reset config | none |  | |  5 |  #  | Reset config | none |  |
-|  6 |  #  | Get CV | CV number | A CV number and value response. | +|  6 |  #  | Get CV | CV-High, CV-Low | A CV number and value response. | 
-|  7 |  #  | Set CV | CV number, value | A remark. |+|  7 |  #  | Set CV | CV-High, CV-Low, value | A remark. |
 |  10 |  #  | Digital output | Address, port, on/off | - | |  10 |  #  | Digital output | Address, port, on/off | - |
-|  11 |  #  | Analog output | Address, Port, value | |+|  11 |  #  | Analog output | Address, Port, value | Value can be brightness, followed by three bytes RGB. |
 |  12 |  #  | Accessory | Address, Port, aspect((0=straight, 1=turnout)) | - | |  12 |  #  | Accessory | Address, Port, aspect((0=straight, 1=turnout)) | - |
-|  13 |  #  | Mobile speed | Address-High, Address-Low, direction, speed | - | +|  13 |  #  | Mobile speed | Address-High, Address-Low, direction/speed((dir=0x80, speed=0x7F)) | - | 
-|  14 |  #  | Mobile function | Address-High, Address-Low, function, value | +|  14 |  #  | Mobile function | Address-High, Address-Low, function, value, lights, fx Lights and FX(32bit) are for information only and optional. 
-|  15 |  #  | Mobile CV get | Address-High, Address-Low, CV-High, CV-Low | A CV number and value response. | +|  37 |  #  | PT ON | none | A remark. | 
-|  16 |  #  | Mobile CV set | Address-High, Address-Low, CV-High, CV-Low, value | - | +|  38 |  #  | PT OFF | none | A remark. | 
-|  126 |  #  | Poll RS485 | none | Queued event, reply or an ACK if the queue is empty+|  39 |  #  | Accessory CV get | Address-High, Address-Low, CV-High, CV-Low | A CV number and value response. | 
-|  127 |  #  | Acknowledge | Code | none |+|  40 |  #  | Accessory CV set | Address-High, Address-Low, CV-High, CV-Low, value | A remark. |
  
  \\  \\
Line 113: Line 135:
 ====Arduino==== ====Arduino====
   * https://gitlab.com/rocrail/Arduino/tree/master/libraries/RASCII   * https://gitlab.com/rocrail/Arduino/tree/master/libraries/RASCII
 +  * {{:arduino:rascii.zip}}
  
  \\  \\
- 
-=====Trouble shooting===== 
-====Windows crash nach Rocrail start==== 
-Some Windows configurations will crash at Rocrail server startup if the Arduino is connected by USB and the following option is not set:\\ 
-  * __**[[:rocrailini-controller-en#no_device_check_at_startup|No device check at startup]]**__ 
- 
- 
- 
-  
rascii-en.1552028797.txt.gz · Last modified: 2019/03/08 08:06 by rjversluis