MC-Basic:BUS.BAUDRATE

From SoftMC-Wiki
Revision as of 07:09, 4 March 2018 by Rasty (talk | contribs) (Added example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

Syntax

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

Availability

Since Version 4.9.11

Type

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

Default

CAN 1 mbps

Scope

Configuration, Task or Terminal

Limitations

  • Supported in:

SERCOS II
CANopen

Examples

?BUS[0].Baudrate
BUS[0].Baudrate = 1000000 ' set 1 mbps bit rate