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
1
Technical support / Re:Analogue input connector
« on: July 16, 2009, 01:18:30 AM »
Hi,

I don't see any floating voltage on any of the inputs, just every now and then the ADC reading on the LCD is 0, I give the connector a tap and all is good again??

I'll have a look again and try to see what's happening,  I'll swap the connector with a spare and see if it helps.

Cheers.

2
Technical support / Re:MDS100-BW 9600 Baud
« on: July 16, 2009, 12:57:21 AM »
Ok thanks,

I'll give it a try and come back to you.

Cheers

3
Technical support / Re:MDS100-BW 9600 Baud
« on: July 15, 2009, 04:02:37 PM »
Hi,

thanks for the reply.

Command string:-  PRINT #3 "?P0203";"PROJECT ID 090009"

FCS = 4C

String:- PRINT #3 "?P0203";"PROJECT ID 090009" 4C*

Is that right??

4
Technical support / Multiple step and call functions....
« on: July 15, 2009, 03:42:29 PM »
Hi,

I'm after some advice.  I'm looking to use the new F series when it arrives in the UK for a circuit breaker load shedding controller.

The general control is as follows, in the below example I'm using one generator with five load circuit breakers.  Each of the circuit breakers will have a power meter attached to the outgoing circuit.

The load (kW) will be read from this meter via modbus or the analogue inputs and stored in DM.  I will need create an average value from this reading so I know the load through the breaker.

EXAMPLE

1. ONE GENERATOR ON SITE GEN FRAME SIZE 1000KWe
2. AVERAGE SITE LOAD = 1350KWe
3. FIVE LOAD SHEDDING BREAKERS, EACH WITH 270KWe LOAD
4. EACH CB HAS A PRIORITY LEVEL 1-5, 1 BEING HIGHEST PRIORITY.



BLACK START - Mains failed

Input GEN ONLINE = 0
Input LOAD SHED = 1

1. LOAD SHED SIGNAL RECEIVED FROM CONTROL SYSTEM
2. ALL LOADS DISCONNECTED
3. CONFIRMATION SENT BACK TO  WITHIN 500MS
4. GEN ONLINE SIGNAL RECEIVED
5. 1ST PRIORITY LOAD STEP CB IS CLOSED (PRIORITY CB # 1 = 27OKWe 27% OF GENERATOR CAPACITY)
6. CALC IN PLC:- NEXT PRIORITY CB # 2 = 270KWe, ADD THIS TO EXISTING LOAD = 540KWe... 54% OF GENERATOR CAPACITY, IS THIS LESS THAN
SETPOINT (85%) IF YES MOVE TO NEXT STEP. IF NO, NO MORE LOADS CAN BE ADDED.
7. YES - ALLOW CLOSURE OF PRIORITY CB # 2.
6. CALC IN PLC:- NEXT PRIORITY CB # 3 = 270KWe, ADD THIS TO EXISTING LOAD = 810KWe... 81% OF GENERATOR CAPACITY, IS THIS LESS THAN
SETPOINT (85%) IF YES MOVE TO NEXT STEP. IF NO, NO MORE LOADS CAN BE ADDED.
7. YES - ALLOW CLOSURE OF PRIORITY CB # 3.
6. CALC IN PLC:- NEXT PRIORITY CB # 4 = 270KWe, ADD THIS TO EXISTING LOAD = 1080KWe... 108% OF GENERATOR CAPACITY, IS THIS LESS THAN
SETPOINT (85%) IF YES MOVE TO NEXT STEP. IF NO, NO MORE LOADS CAN BE ADDED.
7. NO - DO NOT ALLOW CLOSURE OF PRIORITY CB # 4.
8. CALC IN PLC RUNS CONTINUOUSLY TO SEE IF LOAD HAS CHANGED, IF LOAD IS REDUCED CB# 4 MAYBE ALLOWED TO CLOSE, IF THE EXISTING LOADS
INCREASE PAST THE SETPOINT CB # 3 WILL OPEN.
LOAD SHED SIGNAL REMOVED, MAINS RETURN SITE IN PARALLEL

Mains Returns

Input GEN ONLINE = 1
Input LOAD SHED = 0

9. ALL CLOSED LOAD STEPS REMAIN CLOSED.
10. REMAINING LOAD STEP CB'S ARE CLOSED
11. SYSTEM IS RESET.

MAINS FAILS WITH GENERATORS RUNNING

Input GEN ONLINE = 1
Input LOAD SHED = 1

12. OPERATION AS BEFORE HOWEVER IT WOULD BE NICE TO SPECIFY THAT AL LEAST 1 or 2 PRIORITY CB'S REMAIN CLOSED.
13. MAINS RETURNS. OPERATION AS BEFORE.

I was thinking of using three sequences, one for the "black start", one for the "mains returns" and one for the "mains fails with generators running".

Each sequencer will be enabled or disabled from a call function based on the inputs "gen online" and "load shed"

Do you this this is the best way to control this? can you suggest how the call functions and the sequencer functions would interact.

Many thanks.
   

5
Technical support / Analogue input connector
« on: July 15, 2009, 02:28:45 PM »
Hi,

I'm using a 0-5V sensor on one of the AI on my TMD2424, sometimes, usually after power up the ADC reads zero, I give the 5V connector and the analogue input connector a tap and bingo, I have a reading.

Is the 0VDC for the analogue supply and the PLC 0VDC power supply connected internally?

I have removed and reconnected the connector a couple of time but there was no obvious sign of corrosion or mis-alignment.

I'll try another channel.

Marcus

6
Technical support / Re:MDS100-BW 9600 Baud
« on: July 15, 2009, 02:17:58 PM »
Hi Guys,

I'm still waiting for my 2424 to come back from repair but i would like to test the CPU's you sent over.

Can i use the TLserver and my RS485 convertor to test the baud @ 9600??

Marcus

7
Technical support / Re:MDS100-BW 9600 Baud
« on: June 20, 2009, 01:01:13 AM »
Hi,

I just did one more test.  the modbus slave is 9600 8 E 1 I disconnected this completely, it has been connected and disconnected during the testing to see if if made any difference.

If the MDS doesn't support parity, I will have to change my modbus slave model.

The screen still doesn't respond to commands.

Cheers

8
Technical support / Re:MDS100-BW 9600 Baud
« on: June 20, 2009, 12:52:58 AM »
Hi,

When the display is initially powered on @38400 or 9600 i get a flashing cursor.

I did try to send commands @38400 with the jumper on and it didn't respond so it must be in some mode?!?

I will test a  little more today.

Cheers




9
Technical support / Re:MDS100-BW 9600 Baud
« on: June 19, 2009, 02:36:46 PM »
Ok Guys results below,

jumper open = 5VDC
jumper closed = 0VDC

The Baud rate options are on a first scan contact.

I used a simple custom function to send some data to the screen on a one second pulse.

for the BAUD options set on first scan:-

'SETBAUD 3, &H43 ' SET PORT 3 TO 9600 8,E,1

'SETBAUD 3, &H03 ' SET PORT 3 TO 9600 8,N,1

'SETBAUD 3, 3 ' SET PORT 3 TO 9600 8,N,1

SETBAUD 3, &H06 ' SET PORT 3 TO 38400 8,N,1

'SETBAUD 3, &H46 ' SET PORT 3 TO 38400 8,E,1

for the screen options:-

'PRINT #3 "?C"
'PRINT #3 "?P0801";"B & C "
'PRINT #3 "?P0502";"SYSTEMS LTD"
'PRINT #3 "?P0203";"PROJECT ID 090009"


A$ = NETCMD$(3, "@F0?C")
A$ = NETCMD$(3, "@F0?P0801B & C" )
A$ = NETCMD$(3, "@F0?P0502SYSTEMS LTD")
A$ = NETCMD$(3, "@F0?P0203PROJECT ID 090009")

No info is displayed at 9600 via net command or print #3 on both of my MDS displays.

Both print #3 and netcmd  info displayed no problems @ 38400 8 N 1

When using 38400 8 E 1  the netcmd is SLOW, the display is updated one column at a time as per 1 sec pulse??  the print function updates the screen as 8 N 1?? (normal)

I tested this on both MDS's purchased from your UK dealer about 2 months ago.  Are they the latest? can i check firmware etc?

Tested the above on two tmd24's with r49 and r50 firmware.

Seems to me that a MDS firmware update is needed or these need to come back to you guys for testing??

I can email the program to you for testing if required but it is as above.

Don't forget the plc talks fine to the modbus slave device @ 9600 so i'm pretty sure the MDS's have issues!

Cheers



10
Technical support / Re:MDS100-BW 9600 Baud
« on: June 19, 2009, 12:28:47 AM »
Hi,

This string is failing on Error:Syntax error, missing ')'

A$ = NETCMD$(3, "@F0?P0704 STR$(TIME[1],2)+":"+STR$(TIME[2],2)+":"+STR$(TIME[3],2))

I've tried adding a  ) in various locations with no success can you please correct?

P.s Still on-site, I will test the LCD later today.

Cheers

11
Technical support / Re:MDS100-BW 9600 Baud
« on: June 17, 2009, 09:00:39 AM »
Sure,

I agree, I will test this.  I'm away until late tomorrow but I will post a reply as soon as I have tested the LCD.

Cheers

12
Technical support / Re:MDS100-BW 9600 Baud
« on: June 17, 2009, 05:59:24 AM »
Yes I did?

I will check to ensure the "jumper" is shorting the pins and let you know.

Funny this is the same for both displays?

Cheers

13
Technical support / Re:MDS100-BW 9600 Baud
« on: June 17, 2009, 02:16:41 AM »
Hi,

I removed the ' before the setbaud when testing the different communication settings.  I can communicate to the modbus device @9600 when the plc is a modbus master so this is working.

The LCD just wont display any text @9600, after about 30 seconds it displays some random text.

Not sure why?? as soon as i go back to 38400 and reset the jumper and cycle the power all is OK??

maybe I'll try a basic blank test program but I think the result will be the same.

Many thanks.


Thanks for the netcmd example.

14
Technical support / Re:MDS100-BW 9600 Baud
« on: June 16, 2009, 12:41:50 PM »
Hi,

Tried a hard reset after using the setbaud 3,3 but I get nothing....

38400 - 8 N 1 - no problems
38400 - 8 E 1 - no problems
9600 - any settings don't work?.

'SETBAUD 3, &H43 ' SET PORT 3 TO 9600 8,E,1

'SETBAUD 3, &H03 ' SET PORT 3 TO 9600 8,N,1

SETBAUD 3,3 ' SET PORT 3 TO 9600 8,N,1

'SETBAUD 3, &H06 ' SET PORT 3 TO 38400 8,N,1

'SETBAUD 3, &H46 ' SET PORT 3 TO 38400 8,E,1

I'm using the above in a custom function to test but i get no display @9600????

Regarding the network commands,  below is an example of what I'm displaying on the screen,  can you show me how to convert from a print #3 to netcmd?

PRINT #3 "?C"
PRINT #3 "?P0701";"SCREEN 2"
PRINT #3 "?P0102";""
PRINT #3 "?P0203";"START COUNT "+STR$(DM[15],4)
PRINT #3 "?P0104";"RUN HOURS  "+STR$(DM[17],4

Cheers

15
Technical support / MDS100-BW 9600 Baud
« on: June 16, 2009, 09:40:04 AM »
Hi,

I Have two issues with the MDS100-BW.

A little history....

I'm using the TMD2424 to collect data from modbus devices on comm 3, display some info on the MDS100-BW also on comm 3.

Comm 1 is listening as a modbus slave.

1.  I'm using the MDS100-BW at 38400 baud no problems,  when I try to use 9600 baud the MDS100-BW screen doesn't  display any of  my messages.  I have set the jumper on the back and tried this on two MDS100-BW's both behave the same. I need this at 9600 baud as below.

2. I'm using comm 3 to communicate to a modbus device using the readmodb2, unfortunately this device is limited to 9600 baud, but this works fine.

Can I use the MDS100-BW also on comm 3? When I set the comm 3 baud to 38400 the display is garbled when I enable the readm2 command.

Do I need to give the MDS100-BW an ID number and use net commands instead of the Print #3 Function?

Can I use Comm 3 as a modbus master and hang the MDS100-BW display on the RS485 at the same time?

If not I could be in trouble!

Cheers

Pages: [1] 2 3 4