Difference between revisions of "EtherCAT:EC MASTER OPMODE"

From SoftMC-Wiki
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Languages|EtherCAT:EC_MASTER_OPMODE}}
 
{{Template:EtherCAT-Function
 
{{Template:EtherCAT-Function
  
Line 12: Line 13:
 
|RETURN VALUE=
 
|RETURN VALUE=
 
Master operational state according to the following:<br/>
 
Master operational state according to the following:<br/>
"INIT"   - 0x01<br/>
+
'''INIT'''   - 0x01<br/>
"PREOP" - 0x02<br/>
+
'''PREOP''' - 0x02<br/>
"SAFEOP" - 0x04<br/>
+
'''SAFEOP''' - 0x04<br/>
"OP"     - 0x08<br/>
+
'''OP'''     - 0x08<br/>
  
 
|DECLARATION=
 
|DECLARATION=

Latest revision as of 17:48, 5 May 2017

Language: English  • 中文(简体)‎

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