This commit is contained in:
backuppc
2025-11-05 14:28:32 +09:00
parent 77a9d40662
commit 1eb59a0127
5 changed files with 253 additions and 229 deletions

View File

@@ -41,13 +41,13 @@ This README provides a comprehensive overview of the `ENIGProtocol` library, mak
public enum DeviceType : byte
{
ACS = 0,
AGV1 = 10,
AGV2 = 11,
BUFFER1 = 20,
BUFFER2 = 21,
BUFFER3 = 22,
BUFFER4 = 23,
BUFFER5 = 24,
AGV1 = 10+1,
AGV2 = 10+2,
BUFFER1 = 20+1,
BUFFER2 = 20+2,
BUFFER3 = 20+3,
BUFFER4 = 20+4,
BUFFER5 = 20+5,
DOOR = 30,
}
```
@@ -82,6 +82,9 @@ public enum DeviceType : byte
- H -> E | Move : cmd(100) : 대상태그까지 이동(자동이동)
- Target[1] = {DeviceType}
- TagID[4] = 0000
- H -> E | Move : cmd(107) : 대상별칭까지 이동(자동이동)
- Target[1] = {DeviceType}
- TagID[4] = 0000
- H -> E | Stop : cmd(101) : 멈춤
- H -> E | Reset : cmd(102) : 오류 소거
- H -> E | Charge On: cmd(103) : 충전실행(충전기 이동 후 자동 충전 진행)

View File

@@ -4,7 +4,10 @@ using System.Text;
namespace ENIGProtocol
{
public enum AGVCommands
/// <summary>
/// host -> eq
/// </summary>
public enum AGVCommandHE : byte
{
Goto = 100,
Stop = 101,
@@ -14,4 +17,22 @@ namespace ENIGProtocol
MarkStop,
LiftControl
}
/// <summary>
/// eq -> host
/// </summary>
public enum AGVCommandEH : byte
{
Error = 1,
Arrived = 2,
ReadRFID = 3,
Status=9,
}
public enum AGVErrorCode : byte
{
PredictFix,
TurnTimeout,
TurnError,
}
}