Getting Started
Start Here
Use this package when you want the shortest Python path to Mitsubishi SLMP communication through the public high-level API.
Recommended first path:
- Install
slmp-connect-python. - Set
plc_seriesandframe_typeexplicitly. - Open one connection with
open_and_connect. - Read one safe
Dword. - Write only to a known-safe test word or bit after the first read is stable.
First PLC Registers To Try
Start with these first:
D100D200:FD300:LD50.3M1000
Do not start with these:
- module/extension routing
- large chunked reads
- future-tracked families such as
G,HG,LTS,LTC,LSTS,LSTC,LCS,LCC,LZ
Minimal Connection Pattern
from slmp import SlmpConnectionOptions
options = SlmpConnectionOptions(
host="192.168.250.100",
port=1025,
plc_series="iqr",
frame_type="4e",
)
First Successful Run
Recommended order:
read_typed(client, "D100", "U")write_typed(client, "D100", "U", value)only on a safe test wordread_named(client, ["D100", "D200:F", "D50.3"])
Common Beginner Checks
If the first read fails, check these in order:
- correct host and port
- correct frame type
- correct PLC series
- start with
Dinstead of a routed, module, or future-tracked family