MC-Basic:SERCOS.BAUDRATE

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This property is used to set the SERCOS data transmission baud rate. Set this value before initializing the SERCOS ring.

For the current SERCON version, check print from the terminal: ?SYSTEM.SERCONVERSION. It must return 2 for SERCON 410B Version or 16 for SERCON 816 Version.

Short form

Ser.Brat

Syntax

Sercos.BaudRate = <value>

?Sercos.BaudRate

Availability

All versions

Type

Long

Range

2, 4, 8, 16   for SERCON 816 Version

Units

Mbps (mega bits per second)

Default

2

Scope

Configuration, Task or Terminal

Limitations

  • The property is only set in SERCOS communication phase 0
  • Not supported in EtherCAT system

Examples

sercos.BaudRate = 4

?sercos.BaudRate

See Also