Difference between revisions of "EtherCAT:EC MASTER OPMODE"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Axystems:" to "")
m
Line 2: Line 2:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This function prints a string to standard output and returns the master's mode of operation.
+
This function prints a string to a standard output and returns the master's mode of operation.
  
 
|INPUT=
 
|INPUT=
Line 11: Line 11:
  
 
|RETURN VALUE=
 
|RETURN VALUE=
Master's operational state according to the following interpretation:<br/>
+
Master operational state according to the following:<br/>
 
"INIT"  - 0x01<br/>
 
"INIT"  - 0x01<br/>
 
"PREOP"  - 0x02<br/>
 
"PREOP"  - 0x02<br/>

Revision as of 14:42, 13 January 2015

This function prints a string to a standard output and returns the master's mode of operation.

Input

None

Output

None

Return Value

Master operational state according to the following:
"INIT" - 0x01
"PREOP" - 0x02
"SAFEOP" - 0x04
"OP" - 0x08

Declaration

public function EC_MASTER_OPMODE as long

Examples

retVal = EC_MASTER_OPMODE