Configuration Tables
This section provides reference tables for configuring your ED device through the ASCII protocol.
BB: Baud Rate Settings
Use these codes when setting the baud rate via ASCII commands:
| Code | Baud Rate |
|---|---|
03 | 1200 |
04 | 2400 |
05 | 4800 |
06 | 9600 |
07 | 19200 |
08 | 38400 |
09 | 57600 |
0A | 115200 |
FF: Data Format Settings
The data format byte is structured as follows:
| Bit 7 | Bit 6 | Bit 5 | Bits 4-0 |
|---|---|---|---|
| CU | CS | CM | Reserved |
CS: Checksum Setting
| Value | Description |
|---|---|
0 | Disabled |
1 | Enabled |
CU: Counter Update
| Value | Description |
|---|---|
0 | Falling edge in the input signal |
1 | Rising edge in the input signal |
CM: Counter Mode
| Value | Description |
|---|---|
0 | 16 bit Counter |
1 | 32 bit Counter |
Counter Preservation
The counter value will be preserved until it is either cleared or restored to factory settings. The counter will be preserved when the device is rebooted or powered off and on.
Digital Input/Output Data Characters Format
Some ASCII commands require data to be sent to set the output lines. Other commands return the status of the input and output lines. The status is represented in 2-digit hexadecimal format.
Example Response Format
For the @AA command on the ED-588:
>(first 2 hex digits)(second 2 hex digits)
Device-Specific Data Format
| Device | First 2 Hex Digits | Range | Second 2 Hex Digits | Range |
|---|---|---|---|---|
| ED-588 | DOut 7 - DOut 0 | 00-FF | DIn 7 – DIn 0 | 00-FF |
| ED-516 | DIn 15 – DIn 8 | 00-FF | DIn 7 – DIn 0 | 00-FF |
| ED-527 | DOut 15 – DOut 8 | 00-FF | DOut 7 – DOut 0 | 00-FF |
| ED-538 | RL 0 – RL 3 | 00-0F | DIn 7 – DIn 0 | 00-FF |
| ED-038 | RL 0 – RL 2 | 00-07 | Din 2 – Din 0 | 00-07 |
| ED-008 | DOut 7 - DOut 0 | 00-FF | DIn 7 – DIn 0 | 00-FF |
| ED-204 | DOut 3 – Dout 0 | 00-0F | DIn 3 – DIn 0 | 00-0F |
| ED-004 | DOut 3 – Dout 0 | 00-0F | DIn 3 – DIn 0 | 00-0F |
Hexadecimal to Binary Conversion
For reference when interpreting I/O states:
| Hex | Binary | Active Lines |
|---|---|---|
00 | 0000 0000 | None |
0F | 0000 1111 | Lines 0-3 |
F0 | 1111 0000 | Lines 4-7 |
FF | 1111 1111 | All (0-7) |
55 | 0101 0101 | Lines 0,2,4,6 |
AA | 1010 1010 | Lines 1,3,5,7 |
Quick Reference
- Bit 0 = Line 0 (DIn 0 / DOut 0)
- Bit 1 = Line 1 (DIn 1 / DOut 1)
- Bit 7 = Line 7 (DIn 7 / DOut 7)
If the bit is 1, the line is high/on. If 0, the line is low/off.