Skip to content

How to use PacketDesc() ? #8

@jinyistudio534

Description

@jinyistudio534

I refer to ESI/XML to midify old class to as following.

class EASYCAT32(EBPFTerminal):
compatibility = {(1946, 14614238)}
# input PDO
input0 = PacketDesc(1, 0,'B')
input1 = PacketDesc(1, 1,'B')
input2 = PacketDesc(1, 2,'B')
input3 = PacketDesc(1, 3,'B')
input4 = PacketDesc(1, 4,'B')
input5 = PacketDesc(1, 5,'B')
input6 = PacketDesc(1, 6,'B')
input7 = PacketDesc(1, 7,'B')
# output PDO
output0 = PacketDesc(0, 0,'B')
output1 = PacketDesc(0, 1,'B')
output2 = PacketDesc(0, 2,'B')
output3 = PacketDesc(0, 3,'B')
output4 = PacketDesc(0, 4,'B')
output5 = PacketDesc(0, 5,'B')
output6 = PacketDesc(0, 6,'B')
output7 = PacketDesc(0, 7,'B')

Sorry, I really don’t know how to use the SyncManager you mentioned?
Can you please teach me how to write a program. Let output1 = input2 😵😵

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions