Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
German Forum
Italian Forum
Portugese Forum
Resources
Links
User Reviews
User Videos
Contact Us
CNCZone
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 23, 2008, 10:25:12 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 849 times)
0 Members and 1 Guest are viewing this topic.
jimmybondi
Active Member
Offline
Posts: 27
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: 161
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
Jeff
jimmybondi
Active Member
Offline
Posts: 27
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: 161
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
Jeff
jimmybondi
Active Member
Offline
Posts: 27
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: 161
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
Jeff
poppabear
S S SYSTEMS, LLC
Global Moderator
Online
Posts: 766
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
All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
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.
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*e*i*n*g
=> Mach Screens
=> Feature Requests
=> Non English Forums
=> FAQs
===> Finished Plugins for Download
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
-----------------------------
*****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
=> Lazy Cam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Promote and discuss your product .
=> Sieg Machines
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
=> One on one phone support.
=> Forum suggestions and report forum problems.
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
Loading...