Difference between revisions of "MC-Basic:BUS.BAUDRATE"
(Added example) |
|||
Line 1: | Line 1: | ||
− | {{Languages}} | + | {{Languages|MC-Basic:BUS.BAUDRATE}} |
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 24: | Line 24: | ||
|DEFAULT= | |DEFAULT= | ||
− | + | CAN 1 mbps | |
|SCOPE= | |SCOPE= | ||
Line 36: | Line 36: | ||
|EXAMPLE= | |EXAMPLE= | ||
?BUS[0].Baudrate<br> | ?BUS[0].Baudrate<br> | ||
− | BUS[0].Baudrate = | + | BUS[0].Baudrate = 1000000 ' set 1 mbps bit rate |
|SEE ALSO= | |SEE ALSO= |
Latest revision as of 07:09, 4 March 2018
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