PMAC Quick Reference Guide Appendix C – PMAC On-Line (Immediate) Commands 85 M{constant}- >TWD:{address} BCD thumbwheel-multiplexer M- Variable definition M{constant}[..{constant}]- >TWD[:]{muxaddr},{offs et},{size}[.{dp}],{format} M{constant}- >TWR:{addr},{off .} Resolver thumbwheel-multiplexer M- Variable definition M{constant}[..{constant}]- >TWR[:]{muxaddr}, {offset} M{constant}- >TWS:{address} Serial thumbwheel-multiplexer M- Variable definition M{constant}[..{constant}]- >TWS[:]{muxaddr} M{constant}- >X/Y:{address} Short word M-Variable definition M{constant}[..{constant}]- > X[:]{address},{offset}[,{w idth}[,{format}]] M{constant}[..{constant}]- > Y[:]{address},{offset}[,{w idth}[,{format}]] MACROAUX Report or write MACRO auxiliary parameter value MACROAUX {NodeNum}{ParamNum} [={constant}] MX{NodeNum} {ParamNum}[={constant}] MACROAUXREAD Read MACRO auxiliary parameter value MACROAUXREAD{Nod eNum}{ParamNum} {Variable} MXR{NodeNum} {ParamNum}{Variable} MACROAUXWRITE Write MACRO auxiliary parameter value MACROAUXWRITE {NodeNum}{ParamNum} {Variable} MXW{NodeNum} {ParamNum}{Variable} MACROSLV{command } {node#} Send command to Type 1 MACRO slave MACROSLAVE {command}{node #} MS{command}{node #} MACROSLV{node#}, {slave variable} Report Type 1 MACRO auxiliary parameter value MACROSLAVE {node #},{slave variable} MS{node #},{slave variable} MACROSLV{node#}, {slave var}={const} Set Type 1 MACRO auxiliary parameter value MACROSLAVE {node #},{slave variable}={constant} MS{node #},{slave variable}={constant} MACROSLVREAD Read (copy) Type 1 MACRO auxiliary parameter value MACROSLVREAD {node #},{slave variable},{PMAC variable} MSR{node #},{slave variable},{PMAC variable} MACROSLVWRITE Write (copy) Type 1 MACRO auxiliary parameter value MACROSLVWRITE {node #},{slave variable},{PMAC variable} MSW{node #},{slave variable},{PMAC variable} MFLUSH Clear pending synchronous M- Variable assignments MFLUSH O{constant} Open loop output O{constant} OPEN PLC Open a PLC program buffer for entry OPEN PLC {constant} OPEN PROGRAM Open a fixed motion program buffer for entry OPEN PROGRAM {constant} OPEN PROG {constant} OPEN ROTARY Open all existing rotary motion program buffers for entry OPEN ROTARY OPEN ROT P Report motor position P P{constant} Report the current P-Variable value(s) P{constant}[..{constant}] P{constant}={exp ression} Assign a value to a P-Variable P{constant}[..{constant}]= {expression} PAUSE PLC Pause specified PLC program(s) PAUSE PLC {constant}[,{constant}...] PAU PLC {constant}[,{constant}...]