FSoE Safety PDU komutu, PDU’ların anlamını belirler.
FSoE standardında aşağıdaki komutlar tanımlanmıştır:
| Komut | Açıklama |
|---|---|
0x36 | ProcessData |
0x2A | Reset |
0x4E | Session |
0x64 | Connection |
0x52 | Parameter |
0x08 | FailSafeData |
Kaynak: ETG.5100 S (D) V1.2.0, bölüm 8.1.2: Safety PDU commands, EtherCAT Technology Group (ETG)’ten talep üzerine temin edilebilir
C++ temsili
SafetyPDUCommand.h
enum class SafetyPDUCommand : uint8_t {
ProcessData = 0x36,
Reset = 0x2A,
Session = 0x4E,
Connection = 0x64,
Parameter = 0x52,
FailSafeData = 0x08
};Python temsili
safety_pdu_command.py
from enum import IntEnum
class SafetyPDUCommand(IntEnum):
ProcessData = 0x36
Reset = 0x2A
Session = 0x4E
Connection = 0x64
Parameter = 0x52
FailSafeData = 0x08If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow