600,986 active members*
2,661 visitors online*
Register for free
Login
IndustryArena Forum > WoodWorking Machines > Commercial CNC Wood Routers > weihong 280b conditional movement
Results 1 to 2 of 2
  1. #1

    Question weihong 280b conditional movement

    i am trying to use G904 conditional movement for nc studio on my weihong controller but it shows error anyone try it.?
    this is the discretion of the G904 in NcStudio Programming Manual-R6.1:
    G904: Conditional Movement Command
    Format: G904 FX_ PX_ LX_ FY_ PY_ LY_ FZ_ PZ_ LZ_ X _Y_ Z_
    Description:
    FX_ , FY_ , FZ_ : the moving speed and direction of X, Y and Z axes
    PX_, PY_ , PZ_: the to-be-detected signal port no. of X, Y and Z axes
    LX_ , LY_ LZ_: the signal status that is waited to stop movement of X, Y and Z axes (1: on; 0: off)
    X_Y_ Z_ : the longest moving distance
    Unnecessary axes can be omitted. However, once an axis appears, except X Y Z_, the other data must
    be complete.

  2. #2
    Join Date
    Sep 2013
    Posts
    0

    Re: weihong 280b conditional movement

    The Wiehong nk105 uses a slightly different format than NC studio..

    G904 X200 XH22 XP1 works for me. The H number is the logical port address you use to sense the trigger.

    This is not necessarily exactly the same number as the physical port address, so you will either have to try a few numbers until it works, or open the public data file and find the port map
    The x number is a feed speed & direction, the P number looks for on (1) or off (0)

Similar Threads

  1. Correct format for conditional expressions
    By omarelec77 in forum Fanuc
    Replies: 4
    Last Post: 06-10-2020, 07:49 PM
  2. Need some help with conditional expressions, I'm lost.
    By SlowSL in forum G-Code Programing
    Replies: 7
    Last Post: 05-18-2016, 07:01 PM
  3. Conditional looping. Is it possible?
    By zedodia in forum Mach Software (ArtSoft software)
    Replies: 6
    Last Post: 06-15-2015, 03:08 PM
  4. Conditional M-code activation
    By nwlynn in forum Fanuc
    Replies: 9
    Last Post: 08-02-2010, 07:56 AM
  5. Conditional loop problem
    By eagle73 in forum Controller & Computer Solutions
    Replies: 0
    Last Post: 12-19-2008, 11:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •