# collinsd70

MrPLC Member

236

1. ## Speed in meter/mint

If you have 800 increments the "resolution" will be very low- so you may have to calculate over a larger time base .   Regards Daniel.
2. ## Speed in meter/mint

So 800 increments = 1 Metre of Travel. Capture number of increments over a set period of time. You now have a time and distance, now you just need to get everything into metres/minute. -Set this as a high priority task (10ms) if possible. -You need to account for overflow in your code (32,767) -Your final value will be a REAL, so you may need to take your inputs and convert to REALs in order to complete the calculation.     Regards Daniel.
3. ## Speed in meter/mint

So I would work out how many encoder incrments you get per metre of travel....this will be your scaling factor. You can do this manually using a trap- once you have this count write it down. Then you can capture your increments in second intervals- and apply the scaling factor to get your travel per minute.   Regards Daniel
4. ## Speed in meter/mint

Circumference of the shaft is not relevant to conveyor travel unless you work out the ratio between them- this is the value you need to calculate, either by Encoder Increments of another form of Conveyor Speed. What feedback devices have you got to work this out?    Regards   Daniel

Youtube is also another brilliant free-source of training documents for things like this.   Regards Daniel
6. ## Speed in meter/mint

Hi Areeb. You can do this by 2 ways- use 2 static values such as a speed frequency or inverter speed and work out how many rotations it gives you per minute- then you can work out a scaling factor using conveyor travel. If you are using incremental encoder for example- work out number of increments per meter of conveyor travel (maybe use some trap software for this). Then you can measure number of increments per (increments over 10 seconds x6) /Scale Factor= Speed in Meters per min. You can modify the forumla or optimise depending on your system requirements.    Regards Daniel
7. ## How to solve problem with MMC

You can use the S7Writer above in conjunction with a blank image file. The alternative is to put in a CPU and power on- select "run" then hold switch in "res" position- once stop light stops blinking quickly release lever and push back to stop. Once stop light stops flashing- memory card has been cleared.     Regards Daniel
8. ## Keyence / proface

Hi Choi07.   It sounds to me that you have lost communication with the PLC. Have you checked cable connection and wiring status? is the PLC running?     Regards Daniel
9. ## Salvage PLC to play with, but...

Hello BornHandy. I believe there is a trial version of GX Developer that is free for a fixed amount of time/ steps. You will have to browse the web for this as its not something ive ever had to do. Just a heads up- if you are using Q00J, Q00, Q01 or Q02 (not Q02H) CPUs...you will also need to buy the serial lead to communicate with the PLC. Otherwise a standard Printer Cable can be used in conjunction with the EasySocket driver.   Regards Daniel

Hi PaulKim1003. This error regarding device name in use suggests 2 or more DP-slaves have the same name. You can check this by checking your offline configurations- if you have not altered the program; maybe there is a change point somewhere in the field.     Regards Daniel
11. ## S5_6es5

I do not know the S5 Series well- however a few ideas that come to mind.   1. Are you reading your input from the Peripheral Input (PI) rather than the Process Image? 2. If you are reading the input voltage correctly- maybe there is an overflow in the PLC? or the analogue to digital conversion is faulty.     Regards   Daniel
12. ## Motion Instruction bits not clearing

Hi derrickjp7 From Memory; the PC and DN flags should reset themselves- however I have heard of many stories involving these bits not clearing down to 0 and causing machine problems. Whenever I have written motion logic- I have always monitored the condition of these bits at the end of process and generated an alarm or manually unlatched these bits when necessary. If this is a common problem with your machine- I would probably recheck the operation of your logic. Somewhere I have a Rockwell "Bible" on handling motion instructions, I will see if I can find it for you.   Regards Daniel
13. ## S5_6es5

Seeing as an analog output is driven by software; perhaps this is a programming error or problem with the machine. Have you measured your output voltage/ current at the card during time of issue to determine if the problem is indeed at the PLC end or in the field somewhere (such as a momentary cable break). Without further investigation or analysis; it is very hard to detrrmine the root cause of your problem. Regards   Daniel
14. ## Data Exchange Between two S7-300 CPUs via MPI Protocol

I dont think this is possible (please dont quote me on that) as I dont believe MPI Protocol can be emulated in PLCSIM. The only method I can think of is to use 1 PLC and 'Net to PLCSIM' but you will need to change your connection type to Ethernet for this to work. In summary I think it will be easier to get the hardware and test as it will be in real world- or you can send me both your compiled projects and I will test across 2 PLCs for you....   Regards Daniel
15. ## Data Exchange Between two S7-300 CPUs via MPI Protocol

It is possible but you are limited to data amount due to the protocol and communication method. For 300 <--> 300 you are limited to 76 Bytes using either the GET/PUT or the SEND/RECV blocks. See here for further information. https://support.industry.siemens.com/cs/document/21537047/options-for-communications-via-mpi?dti=0&lc=en-AT   Regards Daniel
16. ## Mitsubishi 2401 File set error Q2ASH

Your very welcome. I find this normally happens for me during testing and changing of parameters, possible something is not deleted or cleared.   Regards Daniel.
17. ## Sercos not connecting to Ultra3000

Hi derrickjp7. Firstly welcome to the forum. SERCOS Phase 3 normally indicates a configuration error between your SERCOS Controller (Master) and the actual Slave configuration as you quite rightly stated. I would double check the configurations between configured and actual, I have attached a SERCOS Diagnostic PDF that was written for the 6000 Series; however the SERCOS Phasing is standard across all Modules. Check your firmware versions match- or atleast the "compatible" keyring section is chosen. If everything looks good- make sure all the configurations are downloaded and maybe give everything a power-cycle. Then see how far your phasing gets afterwards.   Regards Daniel SERCOS Troubleshooting.pdf
18. ## faulted processor

Because you are using the 300-Series I am going to assume you are using STEP 7. If you go to file --> open and choose your standard libraries, you can import OB121 from the Organization Blocks folder and paste into your blocks folder in your project tree. Once you have done this, you can highlight block (or in the block-view, type "OB121") then click the download icon to load the OB into your PLCs memory; this will prevent the PLC from "crashing". You then need the analyze the cause of the programming error using the diagnostic buffer you have mentioned previously.  If you want me to have a look at your program- please "archive" and attach via here or via PM. Regards Daniel.

20. ## faulted processor

Hi Rompot. It looks like your PLC has crashed because of a programming error, to prevent the PLC going to stop mode- you need to insert OB121 (this is the called OB on the rising edge of a programming error). Then you will have a system error- but PLC is able to run as normal. The most recent error indicates an area length error when reading/ writing to DB262. This could be because of a pointer or something changing during runtime. In your diagnostic buffer you should be able to navigate to the problem with the button 'go to', hope this helps.     Regards Daniel
21. ## IEC Developer and the AS-i interface

Hi Colin. I have had brief experience with this module- and yes, it was programmed with the IEC Developer Package. I also have the A Series- Module on my test bench which I believe is very similar in terms of setup but haven't had time to test yet You will need the configuration package Configurator-AS, do you have this? Here is the link to the manual if you don't have it already....  http://dl.mitsubishielectric.com/dl/fa/document/manual/plc/sh080291e/sh080291eg.pdf   Regards   Daniel.