Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 11:28:01 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
Brains Development
mysterious brain
Pages:
1
Go Down
« previous
next »
Author
Topic: mysterious brain (Read 2084 times)
0 Members and 1 Guest are viewing this topic.
jimmybondi
Active Member
Offline
Posts: 29
mysterious brain
«
on:
January 30, 2008, 10:02:55 AM »
Hi,
can anyone explain this to me
Frank
Logged
Jeff_Birt
Active Member
Offline
Posts: 809
Re: mysterious brain
«
Reply #1 on:
January 30, 2008, 04:21:34 PM »
Given the title of this thread I was expecting it to be about Brian
, who indeed does have a mysterious brain. (Only putting in 100 hours a week, come on who needs sleep
)
As for the actual question, it just looks like two ModBus registers that are inverted and then anded together to turn on 'Stop File'.
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
jimmybondi
Active Member
Offline
Posts: 29
Re: mysterious brain
«
Reply #2 on:
January 30, 2008, 04:26:52 PM »
of course - but take a closer look:
both inputs are 0 - but one is inactive (upper) and one active (lower)
Logged
Jeff_Birt
Active Member
Offline
Posts: 809
Re: mysterious brain
«
Reply #3 on:
January 30, 2008, 04:45:38 PM »
Hmm....indeed, it seems the top inverter should be on (green) as well. What type of data is in these ModBus registers? Judgin by the value showing "0.0000" it is not a boolean type. Could the value in the register be smaller than 0.0000? Or perhaps it is beign read as a -0.0000. Yes it can happen, if the register is supposed to be a signed short and somehow gets the msb set you will have a negitive zero, which when cast to a boolean might be a 1. (I don't know how Brains handle type casting).
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
jimmybondi
Active Member
Offline
Posts: 29
Re: mysterious brain
«
Reply #4 on:
January 30, 2008, 04:51:55 PM »
both inputs are boolean (switches on/off)
in Modbus CFG configured as coil input - but there no change when changing it.
Transfered from modbus device is just an input
and now the mostly mystery:
when acting P8 - nothing happens on the inverter (input value changed)
after releasing: nothing
when actin P9: BINGO - both green (after release)
but i'm testing on this feature - there must be a solution
Frank
Logged
Jeff_Birt
Active Member
Offline
Posts: 809
Re: mysterious brain
«
Reply #5 on:
January 30, 2008, 04:57:59 PM »
Try running both ModBus inputs stright through (no operation) to some UserLEDs (or something similar). See if each input value is transferred properly to the output. If so then the problem has to lie in how Brains are ANDing the two inputs. You could also try passing each input through a 'no operation' and then inverting them.
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: mysterious brain
«
Reply #6 on:
January 30, 2008, 06:36:41 PM »
here are a few things to try and check:
1). Bring in your inputs to a holding register not coil
2). Check both your PLC and Serial Modbus config make sure that your address range goes up high and low enough to pick up the bit off of your plc, and also the range in the config is high/low enough to catch it. If you are one address lower than what your trying to pick up then Garbage will be in that register and thus your bit will be undefined. You could be one starting address to high, than your lower Brian input address..........
3). I recreated your Brian here on my system, with the Serial Plug in and a ADC 06 PLC and it was no issues......
Scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...