Difference between revisions of "MC-Basic:BUS.BAUDRATE"
(Added example) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:BUS.BAUDRATE}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 23: | Line 24: | ||
|DEFAULT= | |DEFAULT= | ||
− | + | CAN 1 mbps | |
|SCOPE= | |SCOPE= | ||
Line 31: | Line 32: | ||
*Supported in:<br> | *Supported in:<br> | ||
SERCOS II<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