Skip to content

【seek help!】cannot cnonnect s7-200 through ubuntu 14.04 #1

@jerry-zhu93

Description

@jerry-zhu93

Hello , I have some issue that cannot slove. I ran the test case with ./testPPI -e /dev/ttyUSB0 through ubuntu 14,04.But I got nothing, it cannot "read" and "write". Do u have this problem? daveConnectPLC(dc) function sent connect order with 68 15 15 68 02 00 6C 32 01 00 ........16,PLC has responsed E5,that‘s right.But in testPPI,"got:0x10". Then PC sent 10 02 00 5C 5E 16 to execute "read" order, but I got nothing response code.And then, PC sent 68 1B 1B 68 02 00 6C 32 .......16 to “read” daveOutputs, PLC responsed 10 00 02 02 04 16 CD FC not what I need.This case can be run prefectly in windows,but cannot in linux.Is this a bug?Plz help me ,3K!

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