industrialNETworXnetx

houzenan | 02.12.2009 | 16:24 | 6 replies

How to set the starting time of CP4 ?

My DSP's control cycle is 250us .
I want to make the CP4's beginning of cycle to delay 125us.

time:0 us 250 us 500us 750us 1000us
DSP: l--------l--------l--------l--------l
CP4: ----l--------l--------l--------l----
time: 125 us 375us 625us 875us

How could I implement this "synchron" mechanism ?

Johnny | 02.12.2009 | 20:41

Hello houzenan,

I assume you mean, that you speak about the Master and your DSP first calculates the values for the slaves (which takes up to 125us) and afterwards the next SERCOS bus cycle should be started. The calculated values should be send to the slaves.

Am I right?

Johnny

houzenan | 03.12.2009 | 06:26

yes ! That's it.
This synchron mechanism is very important for our project.

Johnny | 03.12.2009 | 16:22

Hello houzenan,

The Hilscher SERCOSIII Master supports synchronisation. Your Host must provide a signal with the same cycle time as the bus cycle time.
If the netX *sees* the edge, the bus cycle is started (MDT0 send). BUT this signal must be very precise (max 100 ns Jitter). We have noticed that some slaves produces an error if the jitter of the MDT0 is too big.

Johnny

houzenan | 03.12.2009 | 16:38

Does current version FW support this synchronisation functionality ?

Johnny | 03.12.2009 | 20:27

Hello houzenan,

yes, the current version of the master supports this. It is already used by a customer.

Johnny

houzenan | 04.12.2009 | 00:18

Johnny, Thanks a lot for your help !
It is helpful and glad talking with you .

Login

Registration
netX Community Day

When
March 25th, 2010
10:00 - 17:00

Where
Automation day
D-Böblingen

Registration required …