Skip to content

Read DB2 values #1

@DaveyGiesen

Description

@DaveyGiesen

Dear agrippa1994,

I would like to read a value from a Siemens S7-1200.
For example: "DB2.DBW36"
I use the following code:

client.read("DB2.DBW36", defaultValue: DWORD(0)) {
                    NSLog("Read value \($0)")
                }

It is a DEC value in the PLC, what is the correct code to get the value?

Greetings, Davey

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