New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pyldsdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyldsdk

Python Logix Designer SDK

pipPyPI
Version
0.0.2
Maintainers
1

pyldsdk

PyLDSDK (Python Logix Designer SDK) is a simple wrapper for some of the features available in Rockwell Automation's Logix Designer SDK v1.01.00.

Use at your own risk.

Installation

To install from pip:

pip install pyldsdk

To upgrade from pip:

pip install pyldsdk --upgrade

Since I cannot redistribute the C# client packaged with the Logix Designer SDK, there is a second step required to get started. Copy all of the following files to a common directory (ex: C:\YourDllPath). Then when using pyldsdk, reference that path (and more specifically the *CSClient.dll) as shown in the Examples section.

There is probably a better way, but I found it easiest to compile any of the SDK's sample projects and copy these from the resulting Debug folder.

FtspAdapter.exe
Google.Protobuf.dll
Grpc.Core.Api.dll
Grpc.Net.Client.dll
Grpc.Net.Common.dll
Microsoft.Extensions.Logging.Abstractions.dll
Newtonsoft.Json.dll
RockwellAutomation.LogixDesigner.LogixProject.CSClient.dll

Basic Examples

Use the download function to transfer an *.ACD file to the PLC:

from pyldsdk import LogixProject
proj = LogixProject('C:\\YourDllPath\\RockwellAutomation.LogixDesigner.LogixProject.CSClient.DLL')
proj.download('C:\\YourFolder\\YourProgram.ACD', 'YourDriver\\YourControllerIpAddress')

Use the upload function to transfer an *.ACD file from the PLC:

from pyldsdk import LogixProject
proj = LogixProject('C:\\YourDllPath\\RockwellAutomation.LogixDesigner.LogixProject.CSClient.DLL')
proj.upload_new('C:\\YourFolder\\YourProgram.ACD', 'YourDriver\\YourControllerIpAddress')

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts