Skip to content

Custom Macros in Fanuc adapter #26

@smtpl-iiotian

Description

@smtpl-iiotian

@wsobel , I tried with below cases but the adapter remains in Stopped state after the initial Running state. Refering fanuc_adapter.cpp as in below link.

if (numbers[0] == '[')

For an event i.e., path macro, adapter.ini was kept as
[macros]
[cycletime=803]
devices.xml was kept as
DataItem category="EVENT" id="dev_01_cycletime_01" name="cycletime" type="CYCLETIME"

For a sample, adapter.ini was updated to
[macros]
cycletime=803
devices.xml was updated as
DataItem category="SAMPLE" id="dev_01_cycletime_01" name="cycletime" subType="ACTUAL" type="CYCLETIME"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions