MC-Basic:BUS.CYCLETIME

From SoftMC-Wiki
Revision as of 08:27, 21 August 2014 by Lisa (talk | contribs) (Text replace - "CANOpen" to "CANopen")
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