EtherCAT:EC SET BUS CYCLETIME

From SoftMC-Wiki
Revision as of 12:06, 4 January 2015 by Nigeller (talk | contribs) (Created page with "{{Template:EtherCAT-Function |DESCRIPTION= This function sets the motion bus cycle time. It is invoked from within the context of EC_SETUP.PRG...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function sets the motion bus cycle time. It is invoked from within the context of EC_SETUP.PRG before EC_SET_CYCLE and EC_STARTMASTER are invoked.

Input

Motion cycle time: 4000us, 2000us, 1000us, 500us or 250us. If 500us or 250us cycle time is chosen, add to /FFS0/FWCONFIG the line: hpetfreq = 2000

Output

None

Return Value

None

Declaration

public sub EC_SET_BUS_CYCLETIME(byval cycle_time as long)

Syntax

call EC_SET_BUS_CYCLETIME(<cycle_time>)

Examples

call EC_SET_BUS_CYCLETIME(4000)

See Also