Difference between revisions of "MC-Basic:BUS.BAUDRATE"
(Added example) |
|||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:BUS.BAUDRATE}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 7: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
+ | Since Version 4.9.11 | ||
|DESCRIPTION= | |DESCRIPTION= | ||
Line 22: | Line 24: | ||
|DEFAULT= | |DEFAULT= | ||
− | + | CAN 1 mbps | |
|SCOPE= | |SCOPE= | ||
Line 28: | Line 30: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | * | + | *Supported in:<br> |
+ | SERCOS II<br> | ||
+ | CANopen | ||
|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