Skip to content

S7.Net.PlcException:“索引超出了数组界限。 #564

@kerwinxu

Description

@kerwinxu
        
            Plc plc = new Plc(CpuType.S7200Smart, "127.0.0.1",0,2);
            plc.Open();
            // 

            DataItem dataItem = DataItem.FromAddress("I0.3");
            DataItem dataItem1 = DataItem.FromAddress("M0.0");

            // 
            List<DataItem> dataItems = new List<DataItem>();
            dataItems.Add(dataItem);
            dataItems.Add(dataItem1);
            plc.ReadMultipleVars(dataItems);

error :S7.Net.PlcException:“索引超出了数组界限。”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions