eric_lau

MrPLC Member
  • Content count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About eric_lau

  • Rank
    Newbie

Profile Information

  • Country Hong Kong
  1. Hi all, I created a project in RSView32. As I need to generate daily report, I used VB and Events to make this daily report. I use VB to update the daily report which is triggered by events every minute. However, events missed occasionally. Any ideas why would that happen?
  2. Actually, I found out that there is a case which will generate a number smaller than -32768. I believe this is the root cause of the overflow!! After I modified the problem to prevent this case, everything work fine so far!! I am not sure that part too because I was asked to fix the problem. I'm not the original developer.
  3. Hi all, I have a micrologix. And now in this micrologix, i need to write a code (Logix 500) for dividing one 32-bit float to two 16-bit Int. Here is my logic: Let F20:0 is the 32-bit float. Case 1: If F20:0 >= 65536, div F20:0 by 65536.0 =>N7:0 and div F20:0 by 65536.0 => F11:0 then, If N7:0 > F11:0, add F11:0 by 1.0 and then sub F11:0 by N7:0 => F11:0 else sub F11:0 by N7:0 => F11:0 then, If F11:0 > 0.5, sub N7:0 by 1 => N7:0 then, Mul N7:0 by 65536 => F19.0 then, Sub F20:0 by F19:0 => F19:0 then, if F19:0 <= 32767, Mov F19:0 to N7:1 else Sub F19:0 by 65536 => N7:1 Case 2: If F20:0 < 65536, Mov 0 to N7:0 then, If F20:0 <= 32767, Mov F20:0 to N7:1 else Sub F20:0 by 65536 => N7:1 After the implementation, this code works for a period and then Math Overflow Fault occur!! I have no idea which part generate the fault!! Once the Math Overflow Fault occur, micrologix will stop function!! Anyone help?? Thanks a lot!!
  4. hi all, I have a PLC 5 network. There are 6 PLC is connected via controlnet. The setup of each PLC node has one PLC 5 processor (PLC-5/80C), OCM Card and power supply (1771-P6S). Every processors has a redundancy. Everything run normally before. However, it comes up a fault lately. On PLC 5 processor (PLC-5/80C), the LED of channel B of the contorlnet keep flashing RED light. This symptom can be observed in all of the PLC 5 processor except one. When I use Logix 5 to connect to each PLC, they show that the redundancy warning is "Not-Selected Channel unusable" under "contorlnet status" except the special one show "normal". Under "Errors/Frames" tap, the counter of channel B errors keep changing. Is there any ways to read the error message? Is there any ways to find out which processor or module sent out those error message? Any ideas why there is only one processor show that channel B is healthy? Any ideas how to track down the root causes of the fault? Thanks so much!!
  5. RSView32 Active X Control

    I tried to re-install RSView32. However, the cases got worse. The original problem cannot be solved and I cannot boot into Windows after re-install RSView32. I can't even get into Safe Mode. I think there is something wrong with the desklock. Thanks for your information. But the page show error when I try to access it.
  6. I have a project that was designed in RSView32. However, some of the graphics screens does not open due to older version of Active X Control, and display a msg for install the newer version of Active X control. Here is the error code: Unable to load ActiveX control for display xxxxx. cause: RSView Log Viewer: ActiveX control not found on computer. cause: Microsoft Common Dialog Control, version 6.0: Newer version of ActiveX control required. cause: Microsoft ADO Data Control, version 6.0 (OLEDB): ActiveX control not found on computer. cause: Microsoft DataGrid Control, Version 6.0 (OLEDB): ActiveX control not found on computer. cause: Microsoft Date and Time Picker Control, version 6.0: ActiveX control not found on computer. Any suggestion for solving this problem? Should I reinstall RSView32 or ActiveX? Thanks!!
  7. One of my computer is broken down. Therefore, I moved the 1784 AB-PCIC(S) and the harddisk to a new PC. I can boot into WinNT successfully. However, WinNT failed to start 1784 AB-PCIC(S)!! When I checked the Event Detail in WinNT. 1784 AB-PCIC(S) failed to start. And the error is shown as below: Event Detail Date: 7/23/10 Event ID: 5 Time: 4:30:16 PM Source: ABPCIC User: N/A Type: Error Computer: XXXXX Category: None Description: Could not start the device. Error code: 108. I think a incorrect source is loaded accidentally. I think the correct source should be ABPCIC(S). Anyone knows how to correct the source? Or any methods to solve this problem? Thanks.