Difference between revisions of "MC-Basic:BUS.CYCLETIME"
Line 1: | Line 1: | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
− | |||
− | |||
|SYNTAX= | |SYNTAX= | ||
Line 21: | Line 19: | ||
|UNITS= | |UNITS= | ||
− | + | Microseconds | |
|DEFAULT= | |DEFAULT= | ||
Line 33: | Line 31: | ||
|EXAMPLE= | |EXAMPLE= | ||
?BUS[0].Cycletime<br> | ?BUS[0].Cycletime<br> | ||
− | BUS[0]. | + | BUS[0].Cycletime = 2000 |
|SEE ALSO= | |SEE ALSO= |
Revision as of 12:52, 27 March 2014
Syntax
?BUS[<bus_number>].Cycletime
BUS[<bus_number>].Cycletime = <expression>
Type
<return value>: Long
<bus_number>: Long
<expression>: Long, Double
Units
Microseconds
Scope
Configuration, Task or Terminal
Examples
?BUS[0].Cycletime
BUS[0].Cycletime = 2000