Levent1970

MrPLC Member
  • Content count

    28
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Levent1970

  • Rank
    Sparky

Profile Information

  • Country Germany
  1. A function that waits for a specific signal to activate

    Try this: Local Label: StartBit                 Bit              VAR TimerStart           TON           VAR OKBit                     Bit             VAR ProgramBody: TimerStart(IN:= StartBit ,PT:= t#2s ,Q=> OKBit)    
  2. A function that waits for a specific signal to activate

    Why you dont use IF ..... THEN ? like:   IF ConfirmationSignal THEN      NextStep:=TRUE;      ELSE      NextStep:=FALSE; END_IF; IF NExtStep THEN      NExtNextStep:=TRUE;      ELSE      NExtNextStep:=FALSE; END_IF;
  3. FX5U and FX5-ENET/IP

    I Give you here what i found out: For Open the Communication with the Module: M_FX5ENETIP_ConnectionOpen_00A_1(i_bEN:= TRUE ,i_stModule:= FX5ENETIP_1 ,i_uConnectionNo:= 1); To Write WORDs TO the Module M_FX5ENETIP_Class1SetOutputData_00A_1(i_bEN:= TRUE ,i_stModule:= FX5ENETIP_1 ,i_uConnectionNo:= 1 ,i_uOutputData:= D0 ); To Read WORDs FROM the Module M_FX5ENETIP_Class1GetInputData_00A_1(i_bEN:= TRUE ,i_stModule:= FX5ENETIP_1 ,i_uConnectionNo:= 2);   To the Robot from the Module: FX5ENETIP_1.unVal_Class1OutputDataOffset_Connection_D[1] := INT_TO_WORD(EIP_Istwert_Strom); FX5ENETIP_1.unVal_Class1OutputDataOffset_Connection_D[2] := DINT_TO_WORD(REAL_TO_DINT(EIP_Istwert_Spannung)); FX5ENETIP_1.unVal_Class1OutputDataOffset_Connection_D[3] := INT_TO_WORD(EIP_Errechneter_Sollwert_Pulvermenge);   From the Robot to the Module EIP_Sollwert_Transferstrom := WORD_TO_INT(FX5ENETIP_1.unVal_Class1InputDataOffset_Connection_D[2]); EIP_Sollwert_Pulvermenge := WORD_TO_INT(FX5ENETIP_1.unVal_Class1InputDataOffset_Connection_D[3]);   I cant Test it and I need a Solution to Send and Receive my Bit`s with the Robot.
  4. FX5U and FX5-ENET/IP

    Thank you !!! have you a Link for the EDS file of the R30iB ?
  5. FX5U and FX5-ENET/IP

    I got the Parts today, after Update my new FX5U to 1.110, no Errors now. The EthernetIP Configuration Tool have found the ENET/IP Module. Now, how can I Share my In and Outputs over the ENET/IP Module with the Fanuc?
  6. FX5U and FX5-ENET/IP

    They send me (I hope it arrives in the next Days) an FX5U with Firmware  Ver. 1.110 or later. It will be Possible with that one. Can you send me an Example, how you Build your Program for Share your In- and  Outputs with the Fanuc?
  7. FX5U and FX5-ENET/IP

    I Have to Communicate with a Fanuc Robot Arcmate 100iD, its running ArcTool Software and the Fanuc is the Server. Ethernet/IP is the Recommended Field Bus System of the Customer.
  8. FX5U and FX5-ENET/IP

    My Problem is, I have a FX5U with 1.066, its not running with the E-NET/IP, I Just Ordered one with 17X0001 or Higher Serial Number. Have you an Example how i can Build my Program to Communicate my Digital IN X1 over EthernetIP ?
  9. FX5U and FX5-ENET/IP

    Hello Guys, I need some Help to Configure my Program for EthernetIP. I Have to Link my Digital and Analog In-/Outputs to EthernetIP to Control it over a Fanuc Robot. Has someone do that? Some Ideas? 
  10. Set Current Value to Zero

    Edited
  11. Set Current Value to Zero

    Its on "Data Set Method", I'm Driving with Jog. The Part of my Programm: IF Referenzfahrt_TP_Ein_Aus THEN            M_Ax2_Jog_RVS:=TRUE;      END_IF; IF NOT Endschalter_P_Achse_minus THEN            M_Ax2_Jog_RVS:=FALSE;       FX5SSC_1.stnAxCtrl1_D[1].uPositioningStartNo_D:=9003;       FX5SSC_1.stnCmdGenAxCtrl_D[1].uPositioningStartNo_D:=1;          END_IF; HPr Status:  StatusAxis2HPR:=FX5SSC_1.stnAxMntr_D[1].uStatus_D;    8   (It's Axis 2) Pr21 is set 1:Update of Feed Current Value Pr55 is set 1:Positioning Control is Executed  
  12. Mass Flow Controller MKS MF-1 Modbus TCP FX5U

    I Found this solution:  ModbusTcpClient(ConnectionNo:= 3 ,LocalPortNo:= 5645 ,RemoteIPAddress:= 16#0A2E6749 ,RemotePortNo:= 502 ,UnitId:= 255 ,  EnableConnection:= EnableConnection ,StartSend:= StartSend ,FirstAddress1:= FirstAddress ,ResponseTimeout:= 100 ,NoOfRetries:= 1 ,  SingleDevicesFCode05h06h:= SingleDevices ,ReadOnlyDevicesFCode02h04h:= ReadOnlyDevices ,Read:= Read ,Write:= Write ,BitOrRegister:= BitOrRegister ,  ReadStartAddress:= ReadStartAddr ,ReadNoOfDevices:= ReadNoOfDevs ,WriteStartAddress:= WriteStartAddr ,WriteNoOfDevices:= WriteNoOfDevs ,WriteData:= WriteData ,  OpenComplete=> OpenComplete ,CommandCompleted=> CommandCompleted ,ReadData=> ReadData ,ReadDataByteCount=> ReadDataByteCount ,ReadDataWordCount=> ReadDataWordCount ,  OpenError=> OpenError ,OpenErrorCode=> OpenErrorCode ,Error=> GeneralError ,ResponseTimeoutError=> ResponseTimeoutError ,InvalidCommand=> InvalidCommand ,  InvalidResponse=> InvalidResponse ,ModbusException=> ModbusException ,ModbusExceptionCode=> ModbusExceptionCode );      Now i can Read and Write something to the MFC Controller, in Example if i send: WriteData[0].0:=TRUE; Opens the Valve and a FALSE close this.   Now my Problem is, I need to set the Flowpoint. How I Can Use 0x0001  Bit 1..16 like below (WriteData[0].0:=TRUE; OR WriteData[0]:=1234) Or Read in Example the ThermalMassFlowRate 0x0001 bit 1..16 (ReadData[1]:=XXXXXX) ?  
  13. Set Current Value to Zero

    No Luck, its only Blinking between 0 and and the Current Value, if i move it away from this Point the Current Value is still there.
  14. Set Current Value to Zero

    I Have a Blackout, U1\G5928 is an INT, how can i set my Digital Input x27 to this INT?
  15. Set Current Value to Zero

    In the Selection for the DOG Signal is "Servo Amplifier" or "Buffer Memory" I have No connection on the Servo Amplifier to Connect a DOG Signal (my Limit Switch). Where can i set my Limit Switch as my DOG Signal or Use the Buffer Memory to say in example Input X27 is my Limit Switch and i want to set it as my DOG Signal.