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

Pages: 1 [2] 3 4
16
Technical support / Re:TL server problem
« on: June 02, 2009, 01:25:20 AM »
Hi,

Found the problem.... my Samsung mobile software (which was updated about a week ago) changed the file association .jar to a Samsung installer file.  I reset this to a Java executable file and bingo!

Cheers.


17
Technical support / TL server problem
« on: June 01, 2009, 02:41:37 PM »
Hi,

I've been using the latest version of the TL server for several weeks without any problems.

If I try to run the server from a desktop shortcut nothing happens,  the only way I can run the server is with the Java console from the start menu??

I haven't knowingly updated any Java related programs so I'm not sure what's happening????

Any ideas?

Cheers

Ps  Running XP SP3

18
Technical support / Re:Alarm List
« on: June 01, 2009, 02:34:21 PM »
Hi,

Modified code.  much easier to work with and has the option of using the LCD port or the MDS display.

Many thanks.

IF Z=3
'SETLCD 0,0, CHR$(1)                      'Clear Screen
'SETLCD 1,1, "ALARM LIST"                  'LCD DISPLAY
PRINT #3 "?C"
PRINT #3 "?P0601";"ALARM LIST"               'MDS 100 DISPLAY
N = 2    
ENDIF   

IF DM[1] AND Z = 3
  'SETLCD N,1, STR$(N-1,2)+" I0.09 PUMP TRIP"                  'LCD DISPLAY
  PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.09 PUMP TRIP"         'MDS 100 DISPLAY
  N = N+1
  IF N > 4 RETURN: ENDIF
ENDIF

IF DM[2] AND Z = 3
  'SETLCD N,1, STR$(N-1,2)+" I0.10 CB AC TRIP"
  PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.10 CB AC TRIP"
  N = N+1
  IF N > 4 RETURN: ENDIF
ENDIF

IF DM[3] AND Z = 3
  'SETLCD N,1, STR$(N-1,2)+" I0.11 CB SOL TRIP"
  PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.11 CB SOL TRIP"
  N = N+1
  IF N > 4 RETURN: ENDIF
ENDIF


IF DM[4] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.12 CB PUMP O/L"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.12 CB PUMP O/L"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[5] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.13 CB PSU TRIP"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.13 CB PSU TRIP"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[6] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.14 CB DC TRIP"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.14 CB DC TRIP"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[7] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.15 CB TH TRIP"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.15 CB TH TRIP"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[8] AND Z = 3
    SETLCD N,1, STR$(N-1,2)+" I0.01 ESTOP ACTIVE"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.01 ESTOP"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[9] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.16 PSU VOLTS FAIL"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.16 PSU V FAIL"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[10] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.17 PUMP DRY RUN"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.17 PUMP DRY"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[11] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.18 MOTOR SAVER TRIP"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.18 MOTOR SAVER"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

IF DM[12] AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" I0.19 COMM'S FAIL"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" I0.19 COMM'S FAIL"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF


IF ADC(1) <= 100 AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" AI 0.1 SENSOR ERROR L"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" AI 0.1 SENSOR LOW"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF


IF ADC(1) >= 4000 AND Z = 3
    'SETLCD N,1, STR$(N-1,2)+" AI 0.1 SENSOR ERROR H"
    PRINT #3 "?P01";STR$(N,2); STR$(N-1,2)+" AI 0.1 SENSOR HIGH"
    N = N+1
    IF N > 4 RETURN: ENDIF
ENDIF

19
Technical support / Re:Modbus master and slave
« on: May 29, 2009, 07:49:14 AM »
Great thanks!

The modbus devices are all RTU.

20
Technical support / Re:Modbus master and slave
« on: May 29, 2009, 01:29:52 AM »
Hi,

I'm not looking to use the PLC's as remote IO's.

My SCADA will be the MB master, this will collect data from the slave PLC's via the RS485 port.

The local (slave)PLC will need to collect data from local devices i.e power meters etc on the RS232 (master).

is this OK?  will the communication work OK?

Cheers


21
Technical support / Modbus master and slave
« on: May 28, 2009, 10:02:43 AM »
Hi,

I want to use the T100MD-2424 as a remote modbus master on one of the communication ports to collect some values and store them in DM
  • .


On the other port I want the T100MD-2424+ to act as a MB slave so I can collect data from multiple T100MD-2424 that I have in the field.

Looking on your website, you indicate this is possible but I cannot find any further information in the manuals?  Is this possible?

Cheers

22
Technical support / Re:Volume calculation Integer to Dec?
« on: May 20, 2009, 03:42:45 PM »
Thanks for the extra information.

I come from a control background "after the PLC" so getting to grips with the basics.

Cheers

23
Technical support / Re:Alarm List
« on: May 20, 2009, 01:49:53 AM »
Hi,

I do want a 1 or 0 but I needed to get the code in the machine asap.

I will update with your proposed code as it looks a lot tidier.  

I would also like to add the alarm prefix as i think that looks good as well.

When I have updated the code I will convert to print #3 instead of setlcd, if I have any problems I will come back to you.

thanks for the help.

24
Technical support / Re:Alarm List
« on: May 18, 2009, 02:41:33 PM »
Hi,

this is now the working code, it isn't pretty but it works!.  Now i need to change from a SETLCD to a Print #3

How do you convert SETLCD N,4, "230VAC CB TRIP" to a Print # 3?

Print # 3 "?PN,04 230VAC CB TRIP"  is that right?

IF Z=3
SETLCD 0,0, CHR$(1)                      'Clear Screen
SETLCD 1,1, "SCREEN 3-ALARM LIST"
N = 2                                  'starting line
FOR I = 1 to 15
IF DM <> 0                            
SETLCD N,1, STR$(I,2)+":"      
IF DM = 1                     
SETLCD N,4,  "PUMP O/L TRIP"
ELSE
IF DM = 2                  
SETLCD N,4, "230VAC CB TRIP"
ELSE
IF DM = 3               
SETLCD N,4, "SOLENOID CB TRIP"
ELSE
IF DM = 4               
SETLCD N,4, "PUMP O/L TRIP"
ELSE
IF DM = 5               
SETLCD N,4, "PSU CB TRIP"
ELSE
IF DM = 6               
SETLCD N,4, "24VDC CB TRIP"
ELSE
IF DM = 7               
SETLCD N,4, "HEATING CB TRIP"
ELSE
IF DM = 8               
SETLCD N,4, "ESTOP ACTIVE"
ELSE
IF DM = 9            
SETLCD N,4, "PSU DC FAIL"
ELSE
IF DM = 10            
SETLCD N,4, "PUMP DRY RUN"
ELSE
IF DM = 11            
SETLCD N,4, "MOTOR SAVER"
ELSE
IF DM = 12            
SETLCD N,4, "COMM'S FAIL"
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
N = N+1
IF N > 4 '4                       ' no more lines for displaying alarm'
RETURN
ENDIF
ENDIF
NEXT
ENDIF

25
Technical support / Re:Alarm List
« on: May 18, 2009, 01:02:26 AM »
Hi,

This is what I currently have, I have changed the code to suit my use, however I have to fill in dm[1] with 1, dm[2] with 2, dm[3] with 3 etc.

I would like to set each dm with a 1 or 0 only, if I do this all the lines of the lcd have the same text "CB Trip"



SETLCD 0,0, CHR$(1)                      'Clear Screen
SETLCD 1,7, "Alarm list"
N = 2                                  'starting line
FOR I = 1 to 10
  IF DM <> 0                            
         SETLCD N,1, STR$(I,2)+":"      
          IF DM = 1                     'needs to be IF DM[1] = 1
              SETLCD N,4,  "CB Trip"
          ELSE
              IF DM = 2                  'needs to be IF DM[2] = 1
                SETLCD N,4, "Panel Trip"
              ELSE
                IF DM = 3               'needs to be IF DM[3] = 1
                    SETLCD N,4, "Pump Error"
           ELSE
                IF DM = 4               'needs to be IF DM[4] = 1
                    SETLCD N,4, "Pump Trip"
                ENDIF
             ENDIF
              ENDIF
          ENDIF
          N = N+1
          IF N > 4 '4                       ' no more lines for displaying alarm'
            RETURN
         ENDIF
    ENDIF
NEXT

any Ideas?

Cheers

26
Technical support / Re:Alarm List
« on: May 17, 2009, 12:07:37 PM »
Hi,

Can you please join the bits of code required and paste them as one complete working example and post it in a reply.  

Once I have a working example I can edit accordingly.

I still think this is more more complicated than necessary.  As previously stated each DM will only ever have one alarm text message associated to it,  if the DM is a 1 the alarm is active and the one text will be displayed, when the DM = 0 the message is cleared.

Looking for different variables based on different DM values must be a waste of CPU time in this case.

The function I need help with is displaying the different alarms on different lines if active.  This is partly covered above, however at this time it is not clear to me how to join these functions together.

Referencing to different sections in the post and user manual are only adding to the frustration and confusion.

This is the last stumbling block in a so far successful product, which, after the initial trial period is anticipated to be rolled out to multiple sites in the UK.







27
Technical support / Re:Alarm List
« on: May 17, 2009, 10:45:21 AM »
Hi,


Can you please provide a working example of the above array type code.

I think this will suit my purpose but if I'm honest,  there's more chance of Bush being re elected than me getting that working!

Cheers.

Ps couldn't find any info in the cust list for int function.




28
Technical support / Re:MDS 100 DIMENSIONS
« on: May 17, 2009, 02:19:15 AM »
Great thanks.

29
Technical support / Re:Alarm List
« on: May 17, 2009, 02:06:33 AM »
Hi,

Yes I have three 2424's and I'm looking to use this alarm list in the final code of a pumping system product.

Once I have finished the code, logic part is done just struggling with some of the basic code in the custom functions i.e alarm list!

I havn't downloaded the provided code, just using the simulator to test, when it works how i need it I will add it to my main code.

Cheers

30
Technical support / Re:MDS 100 DIMENSIONS
« on: May 17, 2009, 01:00:18 AM »
Hi guy's,

Any Idea of the power consumption?

Cheers

Pages: 1 [2] 3 4