Jump to content

AdamEMC

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by AdamEMC

  1. Thank you for your help. I assume if I wanted to connect straight to a broadband router at someones house I could apply the same principle? Also would an RS232 to RS485 converter on the PLC side work in the same way or does the port need to be changed to a dedicated RS485 port?
  2. Hi I am using a Vision 130-33-TR6 and a GSM KIT 41J and I wish to allow remote access to the PLC using this kit. However there is no phone signal at the PLC location so I was considering running a cable to another location with signal and placing the modem here. The location with phone signal is 400m away from the PLC location. I have been told that at high baud rates I cannot transfer data that distance but at a baud rate of 2400 I would be able to go up to 900m. Is this correct and if so would I still be able to access the PLC remotely at this baud rate? I assuming if so the project scan time would have an impact on this? Are there any other ways I could solve this problem? Thanks Adam
  3. Thank you, I didn't realise there was a filter FB. That's a nig help
  4. Hi I need to read a pulsed output with my vision V130-33-TR6. The pulsed output consists of 100mS pulses and I need to measure the frequency of these pulses. Pulse frequency is between 100ms and 10s (it's the pulsed output from an electricity meter to give the number of kW directly proportional to the pulse frequency) At the minute I am connecting the pulse to a digital input and using the 1.25mS interrupt to measure the time between the rising edge of the input but the output value jumps around a bit due to the error margins i.e. measuring once every 1.25mS. To measure the time between rising edges I am simply incrementing a MI during each 1.25mS interrupt and multiplying it by 1.25 to get the time in mS. I know there are timers that count down from a preset value but is there a way of more accurately measuring the time between rising edges i.e. starting a timer that increases until I reset it. I could use a large timer a subtract the value it reaches from the preset value but this is a bit untidy and leaves room for error if the timer reaches zero before I read it and timers only read down to deciseconds. I looked at the HSC frequency measurement but I am unsure how to exactly use these. I could also average a few values but more accurate measurement in the first place would be preferred. My other small issue is how do I specify the number of decimal places a MF is displayed to on screen as I only need 2, not the full number. Thanks in advance Adam
  5. I have a V130 and am struggling to update the software to the most recent version. I have always had problems communicating with the PLC, I am using a USB converter because I don't have a serial port in my laptop. I find everytime I need to connect to the PLC/ download a new version of my program I have to take out the USB and re-insert it otherwise it fails when attempting to open the port. The port settings are the same on the PLC and the computer (115200) and I am using com 1. The program downloads and I can use the online test mode as long as I take out the USB and re-insert it before downloading. However I have updated visilogic and therefore cannot download a program until the PLC is updated. I can read the PLC information check for updates but when it comes to downloading the update it always fails at the point of opening the port. It did this with the previous update but then eventually did work after about half an hour of trying. I have checked for loose physical connections and there doesn't seem to be any problems. I have been trying for a while and it still won't update the PLC, failing on port opening everytime. Any ideas, thanks in advance. Adam
  6. Thank you all for you help http://www.rayleigh.co.uk/product_details.cfm?ID=SI14 That is the product I am looking at. It has an option of an analogue idicator which uses the signal described above but they don't really provide much information about it. Although I am starting to think it would be easier for me to make something myself using an SSR, voltage tranducers etc
  7. Thank you for your reply the signal voltage is 0-5V How would I convert it to RS232?
  8. Thanks for your quick reply Would it be better just to convert the signal to an analogue signal prior to the PLC and just use one of the analogue inputs. I don't have much knowledge of how to do this but everywhere I look suggests an RC low pass filter.
  9. Hi I am new to visilogic and PLC's in general so excuse me if my question is a simple one. My PLC is a Vision 130, which has high speed inputs and outputs. I understand that with the use of PID function blocks you can produce a PWM output signal but I am looking to interpret a PWM signal from a device to the PLC. The device is a synchronisation relay to synchronise a generator to the grid. It produces the following: data is pulse width modulated SYNC: 8ms high 1: 4 ms high 0: 2 ms high ; a data packet consists of 10 bits data: first sync 8mS high then b0-b1-b2-b3-b4-b5-b6-b7-b8-b9 I want the controller to be able to read this 10bit data packet so I can use its analogue value within the program. Is this possible with the high speed inputs I have or will I need to convert the PWM signal to an analogue signal seperately and just use one of the analogue inputs on the PLC? Thanks in advance Adam
×
×
  • Create New...