Skip to content

Conversation

@andygarcha-adc
Copy link

This PR updates README as well as a new file I made called docs.md for an exercise. Happy to delete that if you'd like, it was moreso just a practice in documentation.


This uses Python async/await syntax to asynchronously communicate with
a ClickPLC. For example:
This uses Python ≥3.5's async/await syntax to asynchronously communicate with
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I explicitly removed this reference recently so I don't have to keep updating the numbers. Any modern python has await at this point

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, I'l remove this.

from clickplc import ClickPLC

async def get():
async def foo():
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand what you mean with foo and bar, but let's stick with the more descriptive name. If you don't like using get twice, maybe get and get_serial?

$ clickplc the-plc-ip-address tags-filepath
```

### Warning with Serial Connection
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK the ClickPLC doesn't support RS-485 only RS-232. The wiring is physically different.

Image

(Aside: Not sure if you've had any exposure to the Productivity series, but they have both.)

Clarify your heading from a generic "warning" to something more specific - "exclusive access" or "interaction with Click Programming Software." Also, the last 2.5 sentences are wordy; see if you can reduce them.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: Apparently some models actually do. Never mind

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the "Click PLUS" models do have both as options.

```

Currently, the following datatypes are supported:
All of the following datatypes are supported:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woohoo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants