manticore+-+budi prakosa

Roland Modela MDX-20 serial dump

12.08.2011 (12:23 pm) – Filed under: Uncategorized ::

cad.py source code
def rml_move(event):
#
# move Roland Modela
#
units = 1016*cad.inches_per_unit # 40/mm
x = float(string_rml_x_move.get())
y = float(string_rml_y_move.get())
ix = int(units*x)
iy = int(units*y)
filename = "move.rml"
file = open(filename, 'wb')
file.write("PA;PA;!PZ0,400;VS10;!VZ10;!MC0;PU%d,%d;!MC0;"%(ix,iy))
file.close()
send_to_file("move.rml")
os.remove("move.rml")

portmon result from modela 4
0.00298481 spoolsv.exe IOCTL_SERIAL_SET_LINE_CONTROL VCP0 SUCCESS StopBits: 1 Parity: NONE WordLength: 8
0.00000160 spoolsv.exe IOCTL_SERIAL_SET_CHAR VCP0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13
0.00295889 spoolsv.exe IOCTL_SERIAL_SET_HANDFLOW VCP0 SUCCESS Shake:1a Replace:80 XonLimit:2048 XoffLimit:512
0.00000128 spoolsv.exe IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:200 RM:0 RC:5000 WM:0 WC:30000
0.00000192 spoolsv.exe IOCTL_SERIAL_SET_TIMEOUTS VCP0 SUCCESS RI:0 RM:0 RC:0 WM:0 WC:3600000
0.00037918 spoolsv.exe IRP_MJ_WRITE VCP0 SUCCESS Length 94: ^DF;!MC0;V15.0;^PR;Z0,0,2420;^PA;!PZ0,0;V15.0;Z4064,4064,2420;Z4

padi project diagram

08.08.2011 (3:49 am) – Filed under: Uncategorized ::

Tumblr kvijukjs131qzqrfuo1 500