Hi,
I am trying to communicate with a Outback FlexMax 60 with this code and the python3 repo:
from pymate.matenet import MateNET, MateMXDevice
from time import sleep
import logging
log = logging.getLogger('mate')
log.setLevel(logging.DEBUG)
log.addHandler(logging.StreamHandler())
mate_bus = MateNET('COM4') # Windows
mate_mx = MateMXDevice(mate_bus, port=0) # 0: No hub. 1-9: Hub port
mate_mx.scan() # This will raise an exception if the device isn't found
This is what I get:
Send [Port0, Type=0x02, Addr=0x0000, Param=0x0000]
TX: [1] 0
TX: [0] b'\x02\x00\x00\x00\x00\x00\x02'
RETRY
TX: [1] 0
TX: [0] b'\x02\x00\x00\x00\x00\x00\x02'
RETRY
TX: [1] 0
TX: [0] b'\x02\x00\x00\x00\x00\x00\x02'
RETRY
Traceback (most recent call last):
File "C:\Users\francis.poisson\Desktop\pymate\test.py", line 13, in <module>
mate_mx.scan() # This will raise an exception if the device isn't found
File "C:\Users\francis.poisson\Desktop\pymate\pymate\matenet\mx.py", line 158, in scan
raise RuntimeError("No response from the MX unit")
RuntimeError: No response from the MX unit
And this is my scope measure:

Hi,
I am trying to communicate with a Outback FlexMax 60 with this code and the python3 repo:
This is what I get:
And this is my scope measure:
