Jump to content

Raalen

MrPLC Member
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Country
    United States

Recent Profile Visitors

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

Raalen's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Got it working, had to insert a delay in order to receive the desired value from the scale.
  2. OK. I am having trouble getting an accurate transmission from the Cardinal Scale head. I set up my code like this outside the main loop: D6000 := (H05); ScaleWeight := 1; IF M8002 THEN M8423 := FALSE; END_IF; RS2 (ScaleWeight, D6000, 1, 17, K2, D6020); And like this inside the loop : IF NOT M8423 THEN M8422 := TRUE; ELSE M8423 := FALSE; END_IF The problem is when i monitor the code while its running on the plc, the D6020 register is receiving random values that alternate.Am i missing a flag or bit device to make it work properly?
  3. The line of code I have so far is: (RS (ScaleWeight, D6000, K5, K10, D6010)) and i am using channel 2 for this since I have the hmi connected through ethernet on channel 1. I read in the manual that i should be using channel 1 for the Fx 232-BD adapter so could that also be a potential issue preventing the scale to communicate with the plc?
  4. Thank you, I got it to communicate but now I am trying to figure out how to use the RS serial communication using Structured text and there seems to be a lack of resources from Mitsubishi. Does anyone know how to send and receive data to a cardinal scale head using the Fx3G 232- BD adapter on a FX3GE plc?
  5. I am trying to setup a Fx3G 232 BD on a Fx3GE plc and i am getting a serial communication error 2 on the plc diagnostic of Gx works 2. The 232-BD is connected to a Cardinal 185 Scale head that's attached to a load cell. I have setup the parameters and matched the data for the two but I am still getting error code 3801.
  6. No worries, I figured it out.
  7. Using Structured text the code has 2 main sequences which are labeled mySeq := 6; and mySeq := 3; I am trying to add a sequence in between for example mySeq := 4; The problem is, it does not recognize it after i rebuild it. Could this be due to a handshaking error between the sequences?
  8. Ok so the code is using EnableRel.DC[myDC] to go from one sequence to the other with RequestRel.DC[myDC] := FALSE then later in the code when it is being used := TRUE so essentially what I am asking is what does the Enable and Request do in the code?
  9. yes I am working on code that I didn't create and I am trying to add a new sequence(program) to the already existing programs
  10. I am new to PLC programming and I am trying to figure out how to go from one sequence to another using Structured Text with GX works 2.
  11. Thank you all, It was a hardware issue
  12. From Left to the right I have the FX3GE40M then the FX2N8EYR(8 outputs) then the FX2N48ER-ES I have assigned the additional i/o in GX works 2 but now when i power the unit on, input [x0] on the FX3GE40M is the only input that responds.
  13. I am working on a project using mitsubishi plc's. Initially started with just the FX3GE40M but needed more i/o and a rs232 connection for a Cardinal scale. In order to increase the number of i/o I am using the FX2N48ER-ES, FX2N8EYR and the FX3G232BD is for the RS232 connection. My question is how do i organize the proper sequence of i/o from one unit to the next using GXWORKS 2?
  14. Raalen

    Q03UDVCPU

    I am new with PLC's and I am learning how to work with GX Works 2. I have two questions, 1st Question: Using a Q series PLC (Q03UDVCPU) Is it possible to convert the language of a project from ladder logic to structured text? 2nd Question: If I read a project from a PLC why is it always ladder logic? Is there any way to read out structured text?
×
×
  • Create New...