MC-Basic:BUS.CYCLETIME

From SoftMC-Wiki
Revision as of 09:12, 11 June 2014 by Rasty (talk | contribs) (Added description and reference to EtherCAT)
Jump to: navigation, search

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