mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Add plc series types to support FP7 and EcoLogiX
- add new checksum calculation for Mewtocol 7
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
- What is the HW information byte for?
|
||||
- What are the last bytes of the EXRT message for?
|
||||
|
||||
# Actual Readouts
|
||||
# Mewtocol Init
|
||||
|
||||
| PLC TYPE | CPU Code | Machine Code | HW Information|
|
||||
|--------------|--------------|--------------|---------------|
|
||||
@@ -94,4 +94,44 @@ FP-XH 16k C14R
|
||||
| 81 | Op mode |
|
||||
| 00 | Link unit |
|
||||
| 60 | Error flag |
|
||||
| 0000 | Self diag error |
|
||||
| 0000 | Self diag error |
|
||||
|
||||
# Mewtocol-7 Com
|
||||
|
||||
## Getting the status of the plc
|
||||
|
||||
`%EE#RT`
|
||||
|
||||
Normal plc would return the default, see above.
|
||||
|
||||
The FP7 series returns:
|
||||
|
||||
`%EE$RT0000000100000000`
|
||||
|
||||
> This indicates that the device uses the Mewtocol 7 format
|
||||
|
||||
When trying to use EXRT the FP7 returns not supported
|
||||
|
||||
[R] `%EE#EX00RT00`
|
||||
|
||||
[S] `%EE!42`
|
||||
|
||||
Then request the status from the PLC using Mewtocol 7
|
||||
|
||||
[R] `>@EEE00#30STRD00`
|
||||
|
||||
[O] `>@EEE00$30STRD`
|
||||
|
||||
|Reponse Byte|Description|
|
||||
|-------------|-----------|
|
||||
| 00 | Read status (always 0) |
|
||||
| 07 | series code: 7 = FP7 |
|
||||
| 10 | model code: 3 = CPS41E, 4 = CPS31E, 5 = CPS31, 6 = CPS41ES, 7 = CPS31ES, 8 = CPS31S, 9 = CPS21, 10 = ElC500 |
|
||||
| 0000 | user special order code (Not important) |
|
||||
| 0453 | latest cpu version = 4.53 |
|
||||
| 0453 | communication cpu version = 4.53 |
|
||||
| 0453 | operation cpu version = 4.53 |
|
||||
| 01 | op mode = 4.53 |
|
||||
| 00 | error flag |
|
||||
| 0000 | self diag error |
|
||||
| 00 | sd card information |
|
||||
Reference in New Issue
Block a user