Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - acxysty

Pages: [1] 2 3
1
Technical support / Re: TCP-IP and ID goes to 0xFF
« on: April 13, 2022, 11:31:12 PM »
Thank you for all these information.
Yes we have read many times the User manual, but obviously we are missing a point ...
Is there a kind of 'automatic' (not programmed by us) routine that interact with the EEPROM ?
We will review again our program and report to you.
Regards
Thierry

2
Technical support / TCP-IP and ID goes to 0xFF
« on: April 13, 2022, 07:29:47 AM »
Dear All
We are a FMD-88 in a larger electronic device to exchange modbus information by RS232 and RS485.
From time to time  we are losing  TCP-IP and ID communication parameters on a power-down/power-up sequence. Typically an emergency stop sequence.
As it happens rarely, it is difficult to understand the reason behind that.
We can recover the FMD using TLServer over RS232 to retrieve a "new" ID, to re-configure / re-connect again by TCP-IP
What could be the reason of that ?
Does this has to do with eeprom ?
Thank in advance for your ideas and support.
Regards
Thierry

3
Technical support / Re: PWM and STEPMODE
« on: February 07, 2022, 07:05:08 AM »
It works fine now using SETPWM 1,-1,0.
Thank you
Regards
Thierry

4
Technical support / Re: PWM and STEPMODE
« on: February 03, 2022, 10:46:20 PM »
Thank you for your feedback.
We will try that and report.
Regards
Thierry

5
Technical support / PWM and STEPMODE
« on: February 02, 2022, 07:27:08 AM »
Dear all
We are trying to use both PWM and STEPMODE mode in the same program in order to drive a motor in one way or in another, the motor being wired on a single output.
We achieve easily both mode but we are facing some issues when changing from one mode to the other mode.
Shifting STEPMODE  -> PWM mode works fine
Shifting PWM mode ->  STEPMODE does not work.

At the end of the PWM mode we use instruction SETPMW ch,0,0 on order to stop the motor, followed by  new STEPSEED + SETPMOVE instrictions but the output does deliver any signal...

It looks like the SETPWM mode cannot be overwrite ?
Any suggestions
Thank you in advance
Regards
Thierry

6
Technical support / Re: Changing STEPSPEED
« on: October 14, 2019, 03:19:40 AM »
Hello Gary

Thank you for your answer.

I will think over you suggestion and make measurments.
I would have thought that setting a pwm to a new value would have produced a brutal change in frequency like it is the case on micro-controller.

That raises another question related to my first post : What happen when you apply a STEPSPEED command immediately followed by a STEPMOVE command while still in the middle of the previous STEPMOVE command ? According to some older posts the built-in stepper motor pulse generator will modify its parameters (frequency and number of pulse). How the frequency transition will occur ? Brutal or according to the acceleration law define by STEPSPEED ?

In advance thank you for your replies and you help !

Regards

Thierry






 

7
Technical support / Changing STEPSPEED
« on: October 13, 2019, 01:36:30 AM »
I want to increase/decrease slowly the PPS of a stepper motor without going through acceleration/decceleration phases from/to 0. Is that possible using the STEPSPEED command ?

In different topics it is said that it is possible to modify the PPS of a stepper motor using the STEPSPEED command providing this is not done during the acceleration or decelarration phases.

By doing so is the PPS be varied 'level' by level with going down to 0 each time?

Thank you in advance

Regards

Thierry


8
Technical support / Re:OUTCOM issue ?
« on: December 14, 2016, 07:30:37 AM »
So, we have connected 2 Nano with RS485, without anything else.

We configured the master with no protocol, and the slave with RTU protocol.
the on-line monitoring and view variable is file attached.
The problem is concerning the last byte of the outcom frame , you can see it in the docklight view.
 
Master :
1st scan :
SETPROTOCOL 1,10
SETBAUD 1,&H13
REFRESH
RETURN

Every scan :
                DM[1] = &H03                                  ' node address of slave
                DM[2] = &H03                                  ' function 03
                DM[3] = &H00                                  ' upper 8 bit of address
                DM[4] = &H01                                  ' lower 8 bit of address
                DM[5] = &H00                  ' upper 8 bit of count
                DM[6] = &H01                                  ' lower 8 bit of count
                //X = CRC16 (DM[1],6) & &HFFFF  ' compute the CRC16 of DM[1] to DM[6]
                DM[7] = 212       //X / 256              ' upper 8 bit of CRC16
                DM[8] = 40                         // & &HFF                           ' lower 8 bit of CRC16

                FOR I = 1 to 8          ' send out the MODBUS RTU command in binary
                               OUTCOMM 1, DM[0+I]
                NEXT

                DELAY(100)                                        ' delay for a while to wait for response (30)

                FOR I = 1 to 8                     ' get rest of response
                               DM[10+I] = INCOMM (1)
                NEXT

IF DM[1]=DM[11] and DM[2]=DM[12] and DM[13]=2 and DM[16]=193 and DM[17]=132
else
DM[20]=DM[20]+1
ENDIF

DM[21]=DM[21]+1

                B=DM[14]*256 + DM[15]
                DM[40]=B*66/1000
                REFRESH

IF DM[14]<0 OR DM[15]<0  THEN
DM[22]=DM[22]+1
ELSE
DM[22]=0
ENDIF

IF DM[22]=1 THEN
                DM[31]=DM[40]
                DM[23]=DM[23]+1
ENDIF

IF DM[22]=2 THEN
                DM[32]=DM[40]
                DM[24]=DM[24]+1
ENDIF

IF DM[22]=3 tHEN
                DM[33]=DM[40]              
                DM[25]=DM[25]+1
ENDIF

IF DM[22]=4 tHEN
                DM[34]=DM[40]
                DM[26]=DM[26]+1
ENDIF

IF DM[22]=5 THEN
                SETIO OUT3
                DM[35]=DM[40]
PAUSE
ENDIF

Slave :
SETPROTOCOL 1,1
SETBAUD 1,&H13
REFRESH
RETURN


9
Technical support / Re:OUTCOM issue ?
« on: November 23, 2016, 07:35:18 AM »
Doing  tests with 2 nanos, we are wondering how quickly we can use the INCOM and OUTCOM fonctions one immediately after the other ? Is there any limitations or risk of doing.
Is there any way of having detailled information of how both functions works ?

10
Technical support / Re:OUTCOM issue ?
« on: November 23, 2016, 06:40:59 AM »
Dear Gary
Thank you for your long answer.

We did properly set the protocole to mode 10 in order to be sure that we do not interfer with existing MODBUS procedure. We increase the delay to 100 but still we have problems.

We use Docklight software as a viewer of the Rx/Tx frames. And it is clear that sometimes the latest bytes of the frame is not H28 has it should be. It can be any number ....

We alos work with micro-controller ( ST7 and ST8 ). Therefore we know how these components work.

But using the OUTCOM function, we have no way to undertand why the value is not the one we expect. Is it a problem of timing ?

Regards

Thierry

11
Technical support / OUTCOM issue ?
« on: November 22, 2016, 09:02:17 AM »
We have make a strange observation.
We are using the following program :
DM[141] = &H03     ' node address of slave
DM[142] = &H03     ' function 03
DM[143] = &H00    
' upper 8 bit of address
DM[144] = &H01
' lower 8 bit of address
DM[145] = &H00      
' upper 8 bit of count
DM[146] = &H01   ' lower 8 bit of count
DM[147] = &HD4
DM[148] = &H28

FOR I = 1 to 8          ' send out the MODBUS RTU command in binary
OUTCOMM 1, DM[140+I]
NEXT
DELAY(25)  
' delay for a while to wait for response

FOR I = 1 to 8         ' get rest of response
DM[150+I] = INCOMM (1)
NEXT


We monitore the transmission with a network analyser and we observe that sometimes the latest byte transmitted is NOT 28 as it should be ! All the previous bytes are OK.
Any  ideas where to look at ? Do we need to had a delay after every OUTCOM command ?

Regards

Thierry

12
Technical support / Re:Priority issues TCP and RS485
« on: November 22, 2016, 08:56:34 AM »
Our problem might comes from the OUTCOM commands . Therefore I prefer to start a new post. Regards Thierry

13
Technical support / Priority issues TCP and RS485
« on: November 17, 2016, 07:17:05 AM »
Dear all
We are using Nano (great board) at its full capilities, working with both connections TCP (server) and RS port (Master).
Sometimes we have RS response that are not properly handled and we wonder whether this could arised from interrupt priority linked with TCP ?
Thank you in advance
Regards
Thierry

14
Technical support / Lowest frequency measured by Nano
« on: September 10, 2015, 09:07:58 AM »
Dear All

We need to monitor a sensor generating a low frequency signal ( 5 to 50 Hz).
Is it within the range of PULSEFREQUENCY function or is it too low ?

Regards

Thierry

15
Frequently Asked Questions / Re:Nano Client over few servers
« on: May 14, 2014, 01:25:08 AM »
It works now.
Thank you
Regards

Pages: [1] 2 3