Difference between revisions of "EtherCAT:EC MASTER OPMODE"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:EtherCAT:EC MASTER OPMODE to EtherCAT:EC MASTER OPMODE: Global renaming of Axystems: namespace into (Main):)
m (Text replace - "Axystems:" to "")
Line 1: Line 1:
{{Axystems:Template:EtherCAT-Function
+
{{Template:EtherCAT-Function
  
 
|DESCRIPTION=
 
|DESCRIPTION=

Revision as of 09:13, 22 May 2014

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

Input

None

Output

None

Return Value

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

Declaration

public function EC_MASTER_OPMODE as long

Examples

retVal = EC_MASTER_OPMODE