Jump to content

Pavel M

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Pavel M

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Depends on what you read with a high-speed counter. If this is an encoder that rotates with the engine, in your program you can stop the engine at the same time and write 0 to the encoder variable, but the inertia remains and the variable of the high-speed counter changes by a certain number of units even if you set EndSub right after this event So, probably, if you need 0 in your counter, you need to wait some time after you stop some output, which changes your counter and only after this task store 0 in hsc variable
  2. Hello, did not find similar topics on this forum Is that possible to connect snap I/O module with vision not by direct installing, but with some random 34-pin cable?
  3. Hello, so i tried to organize PWM on my output and put it on my digital input Duty cycle is always constant - 500 (my meander) So, with cycle time 8, i get +25 in my memory integer (50Hz) With cycle time 4 i get +50 in my memory integer (100Hz) When i change cycle time to 3 or less, i start to get errors (+50 all the time) With cycle time 1 I get nothing at all So, i guess, i'll need to buy expansion module with high-speed inputs
  4. Hello, i need to count pulses, when i get the amount of pulses i need - i take some action, reset this counter value and probably, change my target counter, but the frequency with which these pulses are given is different, i mean, 400 pulses/s is maximum and it is not always 400, most part of time this frequency would be less, so i guess, i can handle that and even if i get some error, it won't be critical. Thank you everyone for answers!
  5. Sorry, did not see i double-posted, just had issues with posting answer, refreshed page few times, did not see my reply and decided to post it, but forum decided to post it twice Thanks
  6. Thank you for the answer In manual for E4XB i've read, that responce time for I0-I3 is 10mSec, but for I4-I17 is 2mSec Unfortunately, my inputs I0-I3 are busy with shaft encoders, i have some free inputs, so i decided not to add expansion module only for high-speed input and try to make it the way i described before
  7. Hello I'm using V700 with 18E3/4XB and trying to make impulse counter without using high-speed input The problem is, input frequency is about 400Hz. Input pulse is always meander So, the question is: is that possible to make it with 1.25ms interrupt + immediate read physical input? Just put positive transition contact with increment of some integer I was thinking, that with 400hz/s i have circle time 2.5ms, with duty cycle 50% i react on every impulse. So, frequency 400Hz is my maximum without errors Is that possible to create and organize or am i missing something?
  8. There are SI251 and SI252 which shows previous HMI display number and current HMI display number
  9. Hello and thank you everyone for answers That is true, im using wrong usb to serial adapter, i saw someone used CH-340 so i decided to buy some random cable with the same driver, but mine was without power on pins 1 and 6. I found old pc with com port and communication works fine Ok, we learned, thank you again Pavel M
  10. Hello, i'm trying to communicate old JZ10-11-T40 with my PC, but can't do it properly. What did i do: 1. Installed driver USB-to-serial 2. Installed USB driver from U90 ladder 3. Turned ON PLC 4. Got connection from PLC to PC through this chain MJ-20PRG > MJ20-CB200 > MJ10-22-CS10 > USB-to-serial adapter When i'm trying to get PLC version - i get nothing This error appears all the time, but the interesting thing is next: When i try to get version - it is trying to synchronize COM ports and then this error above appears When i press Stop - i see PLC in stop mode, but then this error appears anyway When i press Run - i see PLC goes from stop to run mode, but this error appears anyway I was trying this on windows XP, windows 7 and windows 10 and got the same results U90 ladder version is the latest - 6.6.45 [DB 109] Any suggestions about that? I think it sends some commands, but can't receive any data, so is that a problem with MJ20-CB200 cable? Also i have JZ10-11-R10, switched hardware configuration correctly and get same results as JZ10-11-T40 ==================== 02.03.20 09:03:42.32 : < 3,9600,E,7,1> 3, 9600, 7, Even, 1, 3, 1000 > Retransmitting 02.03.20 09:03:43.32 < 3,9600,E,7,1> > Switching Com Port 02.03.20 09:03:43.32 < 3,9600,E,7,1> > Synchronizing Com Ports ==================== 02.03.20 09:04:10.32 : < 3,19200,E,7,1> 3, 19200, 7, Even, 1, 3, 1000 > Retransmitting 02.03.20 09:04:11.32 < 3,19200,E,7,1> > Switching Com Port 02.03.20 09:04:11.32 < 3,19200,E,7,1> > Synchronizing Com Ports 02.03.20 09:04:12.32 < 3,9600,E,7,1> > Retrieving OPLC Default Settings This is information from log file, was also trying to change default settings
  11. Hello, there were a lot of topics here on this forum about PID regulation, but i still got some questions about PID: - i've connected PT100, which i can regulate manually, when i run autotune i have some parameters been written in vector in like 1 second, but then they all overwritten by 0, i do not get "autotune done" bit into 1, my autotune does not turn off and it does nothing when i try to change PV and i do not get any P, I and D parameters; so, do i need like fully completed loop with my actual heater and output CV (PWM) which will control my heater? or there any other way i can test if it works properly? Running PID server shows me, that i am changing PV and getting higher than SP gives me CV low limit, getting lower than SP gives me CV high limit, but also the problem is that sometimes it changes too fast and it can't read value so it gives 32767 and auto-tune goes wrong. I'm using v700 with 18E4XB snap, with the simplest ladder logic from .help file, i guess it might work like i need, just want to be sure If you need - i'll post some screenshots of my PID, but they are not really differ from .help file or examples edit: also, i've got one more question about PID - can i run couple autotunes at once?
  12. Hello everyone I have a question about temperature of plc. I am using V700 and in tech spec i see the working temperature 0 - 50 degrees of celsium and i can check it by turning on SB14 and the value will be shown in SI14. So here is the question - does it have build-in protection from overheat or undercooling or do i have to organize it by myself? Did not find the answer here, so decided to start new topic. I don't think that i need it for my current system, but still getting some extra information about it might be viable. Sorry for bad english, it is not my native language
  • Create New...