Skip to content

"NameError: name 'AlarmCRBlockReq' is not defined" #7

@ChrisIdema

Description

@ChrisIdema

Hi. We are adding PROFINET functionality to one of our products. We use the P-Net stack from rt-labs.com.
We have the pn_dev demo running on a raspberry pi. Basic DCP communication seems to work (we can request the station name using the python library pnio_dcp). We don't have a running PLC program yet so we are looking for some code to test basic IO.
Now we are trying to use your project to set/get an IO, but we are having various run time errors.
First we updated some parameters such as the mac addresses, ethernet interface and station name.
Now we are having some issues.
We use scapy version 2.4.5, but that one is missing 'AlarmCRBlockReq':
NameError: name 'AlarmCRBlockReq' is not defined
newer releases add 'AlarmCRBlockReq' but removed the profinet files 'pnio_rpc':
NameError: name 'pnio_rpc' is not defined

  • Did you ever get it working?
  • If so, which scapy version did you use?

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