leoneljmonteiro
Member
Hi,
I’m new working with SEW specially with Movidrive with DEH11B encoder, Movitrac with FSC11B and DOP panel – right now I do not have the components because they are on the way, so I cannot test it.
I have a project that the idea is to put rpm in the Movitrac and position in Movidrive, using DOP panel. I will connect them using RS485.
Assuming that driving rpm in the Movitrac is just put a numeric box in DOP panel and close a start contact (true!??), my main question is IPOS programming.
Can I use the encoder position and use a _GoAbs instruction like the below example (H1 is given by numeric box in DOP panel) ??
main()
{
H0=0;
while(1)
{
H0=H511;
// _GetSys( H3,GS_ACTPOS );
if (H1!=H0)
{
if(H1==10)
{
_GoAbs(GO_NOWAIT, 3000);
}
if(H1==20)
{
_GoAbs(GO_NOWAIT, 4000);
}
if(H1==30)
{
_GoAbs(GO_NOWAIT, 4000);
}
}
}
}
Can I do that?
Thanks.
I’m new working with SEW specially with Movidrive with DEH11B encoder, Movitrac with FSC11B and DOP panel – right now I do not have the components because they are on the way, so I cannot test it.
I have a project that the idea is to put rpm in the Movitrac and position in Movidrive, using DOP panel. I will connect them using RS485.
Assuming that driving rpm in the Movitrac is just put a numeric box in DOP panel and close a start contact (true!??), my main question is IPOS programming.
Can I use the encoder position and use a _GoAbs instruction like the below example (H1 is given by numeric box in DOP panel) ??
main()
{
H0=0;
while(1)
{
H0=H511;
// _GetSys( H3,GS_ACTPOS );
if (H1!=H0)
{
if(H1==10)
{
_GoAbs(GO_NOWAIT, 3000);
}
if(H1==20)
{
_GoAbs(GO_NOWAIT, 4000);
}
if(H1==30)
{
_GoAbs(GO_NOWAIT, 4000);
}
}
}
}
Can I do that?
Thanks.