This command will obtain the following information about a Flyway.
-
Power consumption (Watts)
-
CPU Temperature (Celsius)
-
Amplifier Temperature (Celsius)
-
Motor Temperature (Celsius)
Fieldbus Interface
PMC_GetFlywayStatus
Inputs
|
Name
|
Data Type
|
Description
|
|
Execute
|
BOOL
|
Execution of the function block begins on a rising edge of this input. |
|
FlwID
|
BOOL
|
ID of the Flyway. |
|
PM_Controller
|
PMControllerType
|
Data structure that specifies which PMC to connect to. There should be only 1 instance of this variable for each connected PMC. |
Outputs
|
Name
|
Data Type
|
Description
|
|
Valid
|
BOOL
|
TRUE: output values have been successfully read. FALSE: unable to obtain output values. |
|
Busy
|
BOOL
|
Function block is active and must continue to be called. |
|
Aborted
|
BOOL
|
Command aborted by another command. |
|
Error
|
BOOL
|
If there is an error in processing the command, then Error = TRUE, otherwise, FALSE. |
|
ErrorID
|
UINT
|
0x0: All OK. Otherwise, please see Fieldbus Reply Codes. |
|
Power
|
REAL
|
Flyway power consumption in watts
|
|
CPUTemp
|
REAL
|
CPU Temperature in Celsius, to the nearest degree
|
|
PATemp
|
REAL
|
Amplifier Temperature in Celsius, to the nearest degree
|
|
MTemp
|
REAL
|
Motor Temperature in Celsius, to the nearest degree
|
|
CPUTempFloat
|
REAL
|
CPU Temperature in Celsius, floating point (~0.1 degree resolution)
|
|
PATempFloat
|
REAL
|
Amplifier Temperature in Celsius, floating point (~0.1 degree resolution)
|
|
MTempFloat
|
REAL
|
Motor Temperature in Celsius, floating point (~0.1 degree resolution)
|
Ethernet Interface
FlywayPhysicalStatus GetFlywayPhysicalStatus(int flywayID)
Parameters
|
Name
|
Type
|
Description
|
|
flywayID
|
int
|
ID of the Flyway. |
Returns
|
Name
|
Type
|
Description
|
|
FlywayPhysicalStatus.PmcRtn
|
PMCRTN enum
|
ALLOK (0): Command Accepted. Otherwise, please see Ethernet Reply Codes. |
|
FlywayPhysicalStatus.powerConsumptionW
|
float
|
Flyway power consumption in watts
|
|
FlywayPhysicalStatus.cpuTempC
|
float
|
CPU Temperature in Celsius
|
|
FlywayPhysicalStatus.amplifierTempC
|
float
|
Amplifier Temperature in Celsius
|
|
FlywayPhysicalStatus.motorTempC
|
float
|
Motor Temperature in Celsius
|
Conditions
|
Operating Conditions
|
|
Preconditions
|
None
|
|
Postconditions
|
Flyway physical status is provided in the output
|
Description
This command will obtain the following information about a specific Flyway.
-
Power consumption (watts)
-
CPU Temperature (Celsius)
-
Amplifier Temperature (Celsius)
-
Motor Temperature (Celsius)