Milosh

MrPLC Member
  • Content count

    86
  • Joined

  • Last visited

Everything posted by Milosh

  1. Float substraction?

    Hi all. I use instruction -F(455) to subtract two real numbers from work area. Store result in TmpVariable also Real type from work area. Why is +70,00000 - (+69,95000) = +0,05000305?  ...NOT OK +70,00000 - (+69,90000) = +1,000000... OK Thanks in advance...
  2. Float substraction?

    Yes, but on panel I have mentioned two variables, formated with 2 decimal places. If I set first to 70.00 and second to 69.95 the result is 0.05000305? The problem is third parameter which I compare with this value. If I have parameter which is set to 0.05, and want to do some action if following conditions are met:  IF result<=Param then .... IF 0.05000305 <= 0.05000000 this is a problem?  
  3. Float substraction?

    Thanks for reply,  Can we make some rounding after 2, 3 decimals?
  4. How to define new instruction INS00-INS63? I have CPU CS1D-H, and see group User-defined -> INS00-INS63, but I dont know how to create my instruction?   Thanks in advance, Miloš
  5. Analog input CS1W-AD081-V1

    Hi all. I have two sam modules CS1W-AD081-V1, I set inputs Enable range 1-5V/4-20mA. For One Ihave RUN lit green, ERC not lit, Input disconnection detection is set No detection. For second module RUN lit, ERC lit red, Input disconnection detection is set to Detection. How to chage this settings? I want to have Detection on. I also try to se CIO bit to ON but can not,
  6. Analog input CS1W-AD081-V1

    Hmmm, but this settings is greyed and I cant change in unit setup? As you said I set inputs to 1-5v/4-20mA, but in one module this settins is set to No detection, and on second module is set to Detection.  How to change it, is there any way to do that?
  7. Contents display, word lamp?

    Thanks a lot, that's it.
  8. Contents display, word lamp?

    Hi all. I need to show strings, according to value from some addresses (UINT type)? With word lamp I can show string 10 strings. With Multifunction 16 strings. All values are sequential (0,1,2.....) I need to put 3 "string" displays on one screen to show state machine states. I think that I can put only one contents display ? Right? Better say, that I candefine only one Address for switching contents? Is there posibbility to define 3 contents display with 3 different Address for switching contents? Like this Value 0 - starting.... Value 5 - Wainting cond. 1 Value 7 - Waiting cond. 2 etc.
  9. Hi all. How to make this function: 1. Click on button -> open popup window 2. Second click on same button -> close popup window   Thanks in advance
  10. Toggle pop-up screen on same button

    Hi Michael. I make Popup screen with some buttons. Then put Command button on screen (overview screen), with the next properties; Function: Screen Switch * Specified Screen - MyPopuUpScreen (previously mentioned) I need to implement something like fast selection button. When click on button first time -> open popup window. If Idon't want to select anything from popup screen, then need to close that scree on one of the following way: 1. second click on same button -> close popup screen 2. click outside popup screen -> close popup screen   Thanks in advance
  11. Hi all. I'm new in this forum. Also I'm new to OMRON PLC programming. I have CS1D with unit version 1.4. I think that this is very old PLC. There is no ST, no FBs. How can I use one timer multiple times. Let's allow me to explain: I want to make simulation of motor running... When i set command to start motor, after some time I want (in my simulation section) to set flag which tells me that motor is in running state. That is condition which I need to motor can stay turned on.  How to use TIM, or whatever to simulate 10 motors ????