Difference between revisions of "MC-Basic:BUS.CYCLETIME"

From SoftMC-Wiki
Jump to: navigation, search
(Added description and reference to EtherCAT)
m (Text replace - "CANOpen" to "CANopen")
Line 31: Line 31:
 
|LIMITATIONS=
 
|LIMITATIONS=
 
EtherCAT: Object 0x60c2 shall be updated according to Master Cycle Time use [[EtherCAT:EC_SET_CYCLETIME]] to control cycle time. <br>
 
EtherCAT: Object 0x60c2 shall be updated according to Master Cycle Time use [[EtherCAT:EC_SET_CYCLETIME]] to control cycle time. <br>
CANOpen: Object 0x60c2 shall be updated according to Master Cycle Time.<br>
+
CANopen: Object 0x60c2 shall be updated according to Master Cycle Time.<br>
 
|EXAMPLE=
 
|EXAMPLE=
 
?BUS[0].Cycletime<br>
 
?BUS[0].Cycletime<br>

Revision as of 08:27, 21 August 2014

Set or query automation bus cycle time.

Syntax

?BUS[<bus_number>].Cycletime
BUS[<bus_number>].Cycletime = <expression>

Availability

Since Version 4.9.11

Type

<return value>: Long
<bus_number>: Long
<expression>: Long, Double

Units

Microseconds

Scope

Configuration, Task or Terminal

Limitations

EtherCAT: Object 0x60c2 shall be updated according to Master Cycle Time use EtherCAT:EC_SET_CYCLETIME to control cycle time.
CANopen: Object 0x60c2 shall be updated according to Master Cycle Time.

Examples

?BUS[0].Cycletime
BUS[0].Cycletime = 2000