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 - BC SYSTEMS

Pages: 1 2 [3] 4 5 ... 10
31
Technical support / Re:Setsystem
« on: August 16, 2012, 12:05:11 PM »
Hi Gary,

I agree and I will investigate further.  

I have a a bigger issue that I need assistance from ASAP.

I have been trying to set the PLC ID's  using the Trilogi software and for all the r78A, r77 and some of the r76A's no problem however, on four PLC's with FW r76A are behaving very erratically.

When I changed the ID the PLC rebooted but from this point I was unable to re-connect to the PLC via the ethernet port.

I went to the PLC's, I expected a re-boot would solve the issue but it didn't.

Some of the PLC's had the pause LED on, some had the pause LED and the run error LED on.   Despite reloading the program locally via the serial port I could not gain any access to the ethetnet port.  I couldn't even ping the PLC.

I used the TL server to check the ID and it was as per what I had set from the ethernet port as above pre-crash .  I re-set the PLC to ID of 1 and instantly the problems disappeared and the ethernet port was responsive again.  - HELP!!!!!!!!!

I have a small HMI on the RS232 serial port looking for an address of 1 and a power meter on the RS485 port which I can can change to match the ethernet port ID if need be.  However i cannot do this if the Ethernet port turns off if the ID is not 1!!!

I guess I need a work around for changing the Ethernet port ID to any number other than 1 or the FW to make all my PLC's r78A as the flexible setsystem command would work a treat for me on this application.



PLEASE HELP ASAP

32
Technical support / Re:Setsystem
« on: August 16, 2012, 04:58:43 AM »
Hi,

Ok good point.  I'll try that in a bit!

Cheers

33
Technical support / Re:Setsystem
« on: August 16, 2012, 01:20:19 AM »
Morning,

This now works from a fixed hex ID i.e.

SETSYSTEM 8,&H03FF ID is changed to FF.

Going back to my initial post, how can I set the ID via the DM field value?

SETSYSTEM 8,&H03 + DM[66] compiles ok but doesn't change the ID

34
Technical support / Re:Setsystem
« on: August 15, 2012, 10:30:24 AM »
Hello again.......

Just tried this with a r78A FMD with the same results  ???

35
Technical support / Re:Setsystem
« on: August 15, 2012, 10:18:49 AM »
Hi,

Some of the PLC's are r76A but the code still doesn't work?

Cheers

36
Technical support / Re:Setsystem
« on: August 15, 2012, 10:09:29 AM »
Hi,

Ok thanks for that.

 I think i have some r76A too i'll check and com back to you.

37
Technical support / Re:Setsystem
« on: August 15, 2012, 09:42:22 AM »
FYI,

FMD16 FW r76 I think

Cheers

38
Technical support / Re:Setsystem
« on: August 15, 2012, 01:41:59 AM »
Hi

I've been testing today and i dont think the setsystem command works from within the program.........

I thought maybe the setsystem line may have been trying to send a 0 from DM[65] if the auto ID code had not finished although this shouldn't be possible because the CF should finish before moving on to another CF.......

I tried:

IF DM[65] > 1
SETSYSTEM 8, DM[65]       ' Set Device ID ti IPaddress last three values
SETIO ID_Set
ENDIF

and.....

IF DM[65] > 1
SETSYSTEM 8,&H2       ' Set Device ID ti IPaddress last three values
SETIO ID_Set
ENDIF

Instead of using a 1st scan I have used a NC relay contact (ID_Set) to call the code.  if the value of DM[65] is grater than 1  set the system ID with the value from DM[65].  when done set the relay to stop the code being called again until reboot etc

The value of DM[65] can be anything from 1 to 255.

This didn't work so i tried setting the ID with a fixed &H2 but this didn't work either???????????

Any Ideas appreciated!

39
Technical support / Re:Setsystem
« on: August 15, 2012, 01:12:48 AM »
Hi Gary,

Yes I tried that but the PLC does not change the ID to the value in the DM field so i figured it needs to be in hex?

FYI we have a lot of PLC's on a site in Scotland (20 ish) and they all auto ID themselves based on the IP address.  All this does is take the last three numbers from the IP address and place the value into DM[65].  The HMI and webpages displays this value as the panel ID.

I did this so I can use one version of software for the whole site and it works very well.

My problem is the main site HMI wants to see each PLC have a different ID even though they are different IP addresses.

I thought I could use my auto ID code to also set the PLC ID via the setsystem command so I set this up on a first scan function but the PLC ID remains at 1?????

Cheers

40
Technical support / Setsystem
« on: August 14, 2012, 02:51:24 PM »
Hi,

I need to set the PLC ID from within the PLC program, I've tried SETSYSTEM 8, (&hDM[65]) and a few other permutations but keep getting syntax errors.

I guess the value needs to be in Hex also but cannot see an easy way to convert from dec to hex, plenty of options the other way round or am I missing something?!?

Cheers

41
Technical support / Re:Input scaling
« on: August 09, 2012, 01:26:27 AM »
Hi,

I used the example which works but yours is more efficient so thanks again! :)

B = ADC(1)
B = (B - 819)*2600/3277

42
Technical support / Re:Input scaling
« on: August 09, 2012, 12:56:41 AM »
Hi Thanks,

I went down the road of B = ADC(1) * 2600/(4096-819), but was getting the wrong values again.

Thanks for the assistance.

43
Technical support / Input scaling
« on: August 08, 2012, 01:54:26 PM »
Hi,

I'm trying to read a PT100 via a 4-20 converter but i'm getting the wrong reading.

The converter is scaled 4-20mA, 100Ohm to 198Ohm = 0 to 260 DegC.

I process the 4-20 via a 250 Ohm resistor to get 0-5V

as I see it 260 / 5 (0-5V input) = 52

B = ADC(1)* (2600+520)/4096 - 520

but to get a sensible reading I need to use 650 not 520 but I cannot calculate why??

B = ADC(1)* (2600+650)/4096 - 650

The usable range of the input is 1 - 5 Volts = 0 to 260 deg C as the converter sends out 4-mA as a minimum so I guess this is where my conversion is going wrong!

Any thoughts?

44
Technical support / Re:FMD FW Revision 78A
« on: June 22, 2012, 02:09:57 PM »
and the r78a

45
Technical support / FMD FW Revision 78A
« on: June 22, 2012, 02:08:59 PM »
Hi,

We use the FMD 16 PLC for a control system and we also utilise the web server function, both work well.

We recently supplied some additional panels which have the same PLC in each but the PLC FW in one panel was r77 and r78a on the other.

The PLC program works the same on both but the web page on the PLC with the later FW shows an asterix (*) on the LCD at the end of the LCD line text see pic.

Any ideas?





Pages: 1 2 [3] 4 5 ... 10