Constants
slmp.constants
SLMP 4E binary constants and command/device definitions.
Classes
Command
Bases: IntEnum
Command list from SH080956ENGN 5.1.
Source code in slmp\constants.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
DeviceCode
dataclass
Device code and number radix.
Source code in slmp\constants.py
115 116 117 118 119 120 121 | |
DeviceUnit
Bases: IntEnum
Device unit (bit or word).
Source code in slmp\constants.py
28 29 30 31 32 | |
FrameType
Bases: str, Enum
SLMP frame type (3E or 4E).
Source code in slmp\constants.py
14 15 16 17 18 | |
ModuleIONo
Bases: IntEnum
Request destination module I/O No. from SH080956ENGN 4.2.
Source code in slmp\constants.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | |
PLCSeries
Bases: str, Enum
Series option for subcommand compatibility.
Source code in slmp\constants.py
21 22 23 24 25 | |