vyrdz

MrPLC Member
  • Content count

    18
  • Joined

  • Last visited

Posts posted by vyrdz


  1. X11 --l l----------[sFTL X0 M0 K14 K4] Hi Bigjoe, Ladder above implies: X11 is the clock, Please refer to the table below: The cycle will repeat until the K14 is satisfied...

  2. Hi Maintpro, What type of cable you are using? I have experienced that kind of problem before when i used my laptop to communicate to the FX2n plc. If you are using the RS485 port using the laptop, it is trully very hard to get the communication but if you are patient, just always press F3 or online comm. I tried to use my desktop and i found no problem. Since laptop is more convenient, i never use now the rs485. I currently use FX2n-232BD!! The problem is not related to your OS, it is in the port that I cant explain to you deeply.

  3. Hi Neil, I know you are expert in VB programming. I have attached a a sample PLC program (FX2N) and its VB form together with Mitsubishi programming protocol format. I couldnt interpret it well and i hope you can help me on how to deal by providing me a simple example VB program. I used FX2N-232BD for communication. In my conditions: * When the Command1 button is clicked, the M0 of the PLC will be active and energizing the Y0 output of the PLC. * When the Command2 button is clicked, the M1 of the PLC will be active and de-energizing the Y0 output of the PLC. * The listbox will display "Y0 is ON" if Y0 is ative and "Y0 is OFF" if Y0 is inactive. The signal to listbox should be from the PLC. If the VB program could not receive any response from the PLC, MessageBox will display "Communication Error". sample_FX2N_prog___protocol.pdf

  4. Hi Neil, had tried your "Comms" project and is working well... You did a great stuff!!! How about if I will have to control the M, what should I add to the "Case"? Regarding the other project, I don't know what shout I have to fill-up on the textbox field... but I tried putting a strings like "<STX>100A0020700<ETX>, "255" appears on the txtbox field.

  5. Hi Calvin, Thanks a lot but still doesnt work. I have attached a new conditions and i hope this would help now. I will also attached some pdf file which has the mitsubishi protocol format. I couldnt interpret it well and i hope you can help me on how to deal by providing me a simple example and i think i can do the rest. In my conditions: * When the Command1 button is clicked, the M0 of the PLC will be active and energizing the Y0 output of the PLC. * When the Command2 button is clicked, the M1 of the PLC will be active and de-energizing the Y0 output of the PLC. * The listbox will display "Y0 is ON" if Y0 is ative and "Y0 is OFF" if Y0 is inactive. The signal to listbox should be from the PLC. If the VB program could not receive any response from the PLC, MessageBox will display "Communication Error". Everyone in the net are also invited to help...

  6. Hi Calvin, Thanks for your very important sample. PLC programming is easy for me since I am using it for so long time already. below is my sample PLC program Ladder program: X0 Y0 -----| |-------------------------( ) ------------------------------( END ) X0 - input device (e.g switch) Y0 - output device (e.g lamp ) My VB form will be: Commandbutton for input and Checkbox for output. If I will press the Commandbutton, the lamp (Y0) will activate and Checkbox will be active. Can you give me a sample VB program for the conditions above... Please help...