Files
2025-11-25 20:14:41 +09:00

45 lines
852 B
Plaintext

IO
01:VERSION(0~255)
10:DEVICE_ID
01:DICount(0~255)
01:DOCount(0~255)
---------------------12byte-----------
##Command Area
02:Command Device
02:Command Code
04:Command Value
---------------------20byte-----------
01:Status
0 : init(초기화여부)
1 : error
02:StatusCode(-32767~32767)
32:DIValue (dicount에 따라서 가변됨 dicount/8)
32:DOValue (docount에 따라서 가변됨 docount/8)
---------------------87byte-----------
MOT
01:VERSION(0~255)
10:DEVICE_ID
01:Axis Count(0~255)
---------------------12byte----------------
02:Status
0 : init(초기화여부)
1 : error
02:StatusCode(-32767~32767)
---------------------16byte----------------
축별로 데이터가 순환된다. 총10byte로 구성 됨
01:Axis No
01:Axist Status
0 : Servo On
1 : Inposition
2 : N-Limit
3 : P-Limit
4 : Origin Sensor
5 : HomeSet
7 : Emergency
04:Current Position
04:Command Position