Delta Tau GEO BRICK LV 참조 매뉴얼
Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Variable and Command Summary
33
SENDP"{message}" – Transmit message over parallel bus interface
SENDR"{message}" – Transmit message over DPRAM ASCII interface
SENDA"{message}" – Transmit message over auxiliary serial interface
DISPLAY [{constant}] "{message}" – Send message to LCD display [starting at specified
SENDR"{message}" – Transmit message over DPRAM ASCII interface
SENDA"{message}" – Transmit message over auxiliary serial interface
DISPLAY [{constant}] "{message}" – Send message to LCD display [starting at specified
location]
DISPLAY {constant}, {constant}.{constant}, {variable} –- Send variable value to
LCD using specified location and format
ENABLE PLC{constant}[,{constant}...] – Enable operation of specified interpreted PLC
program[s], starting at top of program
DISABLE PLC{constant}[,{constant}...] – Disable operation of specified interpreted PLC
program[s]
PAUSE PLC{constant}[,{constant}...] – Suspend operation of specified interpreted PLC
program[s]
RESUME PLC{constant}[,{constant}...] – Enable operation of specified interpreted PLC
program[s], starting at paused point
ENABLE PLCC{constant}[,{constant}...] – Enable operation of specified compiled PLC
program[s]
DISABLE PLCC{constant}[,{constant}...] – Disable operation of specified compiled PLC
program[s]
PLC Program Commands
Conditions
IF ({condition}) – Conditionally execute following statements
WHILE ({condition}) – Execute following statements as long as condition true
AND ({condition}) – Forms compound condition with IF or WHILE
OR ({condition}) – Forms compound condition with IF or WHILE
ELSE – Execute following statements on previous false IF condition
ENDIF – Mark end of conditionally executed branch statements
ENDWHILE – Mark end of conditionally executed loop statements
WHILE ({condition}) – Execute following statements as long as condition true
AND ({condition}) – Forms compound condition with IF or WHILE
OR ({condition}) – Forms compound condition with IF or WHILE
ELSE – Execute following statements on previous false IF condition
ENDIF – Mark end of conditionally executed branch statements
ENDWHILE – Mark end of conditionally executed loop statements
Variable Value Assignment
I{data}={expression}
– assigns expression value to specified I-variable
P{data}={expression}
– assigns expression value to specified P-variable
Q{data}={expression}
– assigns expression value to specified Q-variable
M{data}={expression}
– assigns expression value to specified M-variable
Command Issuance
ADDRESS#n&n
– Modally address specified motor and/or coordinate system
ADDRESS#Pn
– Modally address motor specified in P-variable
ADDRESS&Pn
– Modally address coordinate system specified in P-variable
COMMAND"{command}" – Issue text command, no response
COMMAND^{letter} – Issue control character command, no response
COMMANDS"{command}" – Issue text command, respond to main serial port
COMMANDS^{letter} – Issue control character command, respond to main serial port
COMMANDP"{command}" – Issue text command, respond to parallel bus port
COMMANDP^{letter} – Issue control character command, respond to parallel bus port
COMMANDR"{command}" – Issue text command, respond to DPRAM ASCII port
COMMANDR^{letter} – Issue control character command, respond to DPRAM ASCII port
COMMAND^{letter} – Issue control character command, no response
COMMANDS"{command}" – Issue text command, respond to main serial port
COMMANDS^{letter} – Issue control character command, respond to main serial port
COMMANDP"{command}" – Issue text command, respond to parallel bus port
COMMANDP^{letter} – Issue control character command, respond to parallel bus port
COMMANDR"{command}" – Issue text command, respond to DPRAM ASCII port
COMMANDR^{letter} – Issue control character command, respond to DPRAM ASCII port