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 - sid80555

Pages: [1] 2 3
1
Technical support / Storing data on fmd 88-10
« on: July 27, 2011, 07:25:19 AM »
I am trying to store a 10 digit number entered from a keypad in the non-volatile memory of the FMD88-10. It gives me some wierd number when i read it back from the memory. I understand it can store only a 4 digit number ,what could i do about this scenario?

2
Technical support / Re:Data entry from keypad
« on: July 19, 2011, 04:59:12 PM »
Yeah it does give me an absurd number... But how can I
Help this since i need to input a number with more than
10 digits...
The suggestion u gave me is the same as what I have written in the code?

3
Technical support / Data entry from keypad
« on: July 19, 2011, 02:46:50 AM »
I have downloaded your progam(HMI65to80) which i use to enter data from the keypad,and comes with the Installation CD.When i try to enter more than 10 digits it does not accept the enterred number giving me an error(some absurd number).I tried changing the lenght of Z in the custom function of the program but it does`nt help.The custom function is as below

' This function handles the keypad scanning and make sure that a key must be
' pressed and released before the next key can accepted. It reserves the use
' of the Z$ string variable so you should avoid modifying Z$ in other part of
' the program.
'============================================================================

DM[900] = INPUT[2]  ' Get data from input #17-32

IF DM[900]=0
   Z = -1       ' no key pressed
   RETURN
ENDIF
IF Z >= 0       ' previous key has been pressed.
   IF TESTBIT(DM[900],Z) RETURN  ' previous key not yet released
   ENDIF
ENDIF

FOR Z = 0 to 11   ' scan 0 to 9 and <- key
  IF TESTBIT(DM[900],Z) GOTO @10: ENDIF
NEXT

@10 IF Z = 10     ' <Del> key has been pressed.
       IF LEN(Z$)>0
         Z$ = MID$(Z$,1,LEN(Z$)-1)
       ENDIF
    ELSE          ' Check if numeric keys 0-9 has been pressed.
       IF Z < 10 AND LEN(Z$) < 10   ' not more than 10 digits
         Z$ = Z$+STR$(Z)
       ENDIF
    ENDIF




















4
Technical support / Re:Timer present value setting
« on: July 08, 2011, 02:14:18 PM »
Thanks a lot gary... works fine now :)

5
Technical support / Timer present value setting
« on: July 08, 2011, 08:45:46 AM »
I am using a keypad to enter a value which sets the timer value.I use F1 and F2 keys to increase the value of the timer.But the problem is that the timer does not start from the value i enter immidiately as i enter it on the keypad.For example the set value of the timer is 800 sec and i input a timer value of 30 sec(by decreasing using f2 key) ,it first finished the 800 sec and then starts counting down the 30 sec.How do i update the timer value immidiately as i enter it using the keypad? I guess it is beacause i am using the gettimerSV[] function to get the set value of the timer instead of the present value.Do we have a funtion like gettimerPV[] or something?

6
Technical support / Re:Non-volatile memory location
« on: July 05, 2011, 08:21:55 AM »
I guess i do not have the FRAM-RTC installed. I save the constant in DM[] and run the SETSYSTEM 252, 0 in the last custom function.But the DM[] value is lost on power off, but during simulation is all right

7
Technical support / Non-volatile memory location
« on: July 05, 2011, 07:42:58 AM »
What are the non volatile memory locations on an FMD88-10? Do i have to use the SETSYSTEM 252, 0 command?How can i store a constant in a non-volatile memory location?

8
Technical support / Re:Simulation on Trilogic problems
« on: June 30, 2011, 11:49:21 AM »
when you run the program in the first step you need to enter 123(password) and press enter, F4 for next option in the menu and F3 for Previous Option in the menu.

9
Technical support / Re:Simulation on Trilogic problems
« on: June 30, 2011, 11:41:04 AM »
I sent it from my gmail ID, i am not using any expansion module since the inputs and the outputs are just being used in my programs and not to turn on/off physically any device.

10
Technical support / Re:Simulation on Trilogic problems
« on: June 30, 2011, 11:35:18 AM »
I am using the FMD 88-10..Would i be able to send you the Ladder logic circuit for you to run it on your plc and check? Please let me know since this is a little urgent..thanks

11
Technical support / Re:Simulation on Trilogic problems
« on: June 30, 2011, 11:18:01 AM »
I have used inputs from No1 to No256, Outputs from 1 to 256 and timers from 1 to 64. I feel my inputs 106,107 (which i set in the ladder diagram at some point)do not seem to function when i transfer it to the PLC and whereas during simulation it seems to execute fine.

12
Technical support / Re:Simulation on Trilogic problems
« on: June 30, 2011, 06:49:34 AM »
It seems to happen only sometimes.
But i have bigger problem now, the ladder logic executes perfectly as  i want it when i simulate it in tri-logic 6.3.But when i write the program to the FMD88-10 plc and connect it to the HMI keypad and LCD and try to execute the ladder logic it does not seem to work at all. I have used plently of input,outputs and timers in my program.Would you be able to run the ladder program in your PLC and tell me if it runs fine?

13
Technical support / Simulation on Trilogic problems
« on: June 29, 2011, 07:07:22 AM »
When i simulate my circuit on Trilogic it works fine without any errors but sometimes the timers i use in the circuit stop working and the entire circuit stops responding. The number of rungs are 61, is it because there are 2 many rungs in my circuit?

14
Technical support / Re:PRINT AND INCOMM keywords
« on: June 20, 2011, 02:55:47 PM »
I understand the INCOMM command just lets me read the first character in the circular buffer, but how will i read the 9th(> character)....

15
Technical support / Re:PRINT AND INCOMM keywords
« on: June 20, 2011, 05:37:17 AM »
Yeah this works fine.But there is another problem
When i send my first modem configuration message(at+cmgs=1),the response is an OK.After this i send the at+cmgs command.Now when i search for DM[1] it has another ascii value(13 for Carriage return) in it and not ascii value 62.When i check the position of ascii value 62 in the COMM port it comes after 8 response characters 13(CR),10(NEXT LINE),79(O),75(K),13,10,13,10,62. So how in my program can i check for this rather than for checking DM[1],since only 1 bit is read at a time from COMM port.
 

Pages: [1] 2 3