image/svg+xml
Subpacket 1
1 bytePackettype
0 or 1 bytesNumber of payloadbytes unlessfixed lenght defined by packet type
1 byteTarget deviceaddress 1-255 or 0 if broadcast to all devices
0-120 bytesPayload datamade ofsubpackets
2 byteCRC checksum
2 bitssubpackettype andlenght
6, 14, 22 or 30 bitsValue data(write / read valueof parameter)
Subpacket N
2 bitssubpackettype andlenght
6, 14, 22 or 30 bitsValue data(write / read valueof parameter)
. . .
SimpleMotion V2 outbound or inbound packet
3 - 125 bytes total
Packet typesOutbound (host to devices):- execute payload subpackets instantly- place payload subpackets in buffer executed by timed fashion- get device clock value (used to sync buffered execution)Inbound (device to host)- Return data packets (one type for each outbound type), these contain payload data (read values) or clock value
Subpacket typesOutbound- set parameter address where next values are written to, 2 bytes long- write parameter value, 3 or 4 bytes longInbound- SM bus status value, 1 byte long- read parameter value, 2, 3 or 4 bytes longEach outbound subpacket will give one inbound subpacket in return when devicesends the response to a SM packet. Content of inbound subpackets are defined bywritable parameters SMP_RETURN_PARAM_ADDR and SMP_RETURN_PARAM_LEN.
SimpleMotion V2 Protocol