Download PMACPanel User Manual

Transcript
or not dangerous. The text in the indicator says what the indicator is “Warning Following Error” either way.
•
In Position: This indicator is Red when the motor is Not In Position - the
bit is FALSE. Its text says - “Not In Position”. The indicator is Green and
says “In Position” when the motor is in position - the bit is TRUE. Imagine
a situation where motor Not In Position means its moving, therefore your
program is running, and that is good. Do you now make the indicator
Green?
•
Home in Progress: This is Gray when there is no Home in Progress. This
doesn’t mean that the motor has been homed. When the motor is homing,
the indicator is Green. It may well be that you want this to be Red when the
motor is homing. The choice is yours.
PmacTutor9 - Motor I-Variable Configuration
In PmacTutor6, the general architecture for developing supervisory VIs for
modifying individual I-Variables was introduced. In this exercise four VIs to
encapsulate the most common motor I-Variables are introduced. This type of
hierarchical I-Variable architecture is used throughout PMACPanel.
78
•
PmacMotorIVarPID - Follow PMACPanel's standard I-Variable VI
architecture. When Set/Get is TRUE the PID I-Variables for the specified
Motor Number are set. Otherwise they are fetched from PMAC and
provided by Output Motor I-PID Cluster with New Output TRUE. Set/Get
is not required and defaults to a Get operation.
•
PmacMotorIVarMove - Follow PMACPanel's standard I-Variable VI
architecture. When Set/Get is TRUE the movement I-Variables for the
specified Motor Number are set. Otherwise they are fetched from PMAC
and provided by Output Motor I-Move Cluster with New Output TRUE.
Set/Get is not required and defaults to a Get operation.
•
PmacMotorIVarSafety - Follow PMACPanel's standard I-Variable VI
architecture. When Set/Get is TRUE the safety I-Variables for the specified
Motor Number are set. Otherwise they are fetched from PMAC and
provided by Output Motor I-Safety Cluster with New Output TRUE.
Set/Get is not required and defaults to a Get operation.
Chapter 4 – Application Basics