Hello Guest it is April 24, 2024, 08:06:20 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jimmybondi

Pages: 1 2 3 »
1
Hi,

i need a feature and i'm not shure if it's possible:

when i'm on the MDI-Screen to lit a LED isn't a problem (or any other screen)

but to lit a LED (or activate an output) when on any screen the MDI-line is opened (waiting for input) - possible in any way ?


Regards Frank

2
General Mach Discussion / Re: Auto oiler
« on: April 18, 2009, 02:26:45 PM »
Hi Scott,

i've build brains for an auto-oiler too - and now i want to use the same in macropump :-)

but thats hard (for me) :-(
my first macropump is just 5 minutes old and switch the pulleys ...

my brains
(i've made 3 seperate brains because written in one lobe it didn't work ...)
one brain isn't shown here - it redirect output 10 11 and 12 seperate to Output4

my machine (Maho MH400) needs a lubrication on following events:
- when nothing happen on energized mill: an impulse every 8 hours
- on start of machine (switch on) an impulse
- at start of movement and the last impulse has least more then 32 minutes an impulse at the beginning of movement
- during move still on (on any axis) an impulse every 16 minutes

and every event reset the counter and next impulse occur on nearest event

Maybe that anyone can use this brains and anyone can help me to made it within macropump.
(my brains are really full and more will made Mach3 a little bit lazy ...)

Frank

BTW: it may look a little bit confus - but thats one working ok for me.
When trying to made it more simple it didn't work in every case :-(

3
Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 10:32:33 PM »
have you tested the communication between Mach3 and CubLoc ?
both directions ?

thats really elementary

Frank

4
Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 09:49:28 PM »
vince,

lets give a try :-)

i paste a code snippet of my CB280 - you have to change serveral things like portnumbers
lines i change are *-marked

Const Device = CB405 *changed
 
 Opencom 1,115200,3,80,80   'Open COM1 for MODBUS communication.
 Set Modbus 1,1,1      'Mode=RTU, Slave Adress=1, Return Adress=1

 Usepin 4,In
 Usepin 5,In
 
 Usepin 20,Out
 Usepin 21,Out

 Set Ladder On

 Dim d As Integer
 Dim e As Integer
 ...

Do

LadderScan
_D(12) = Adin(2)

.... your basic code here ...

Loop

**************

small explanaition:

the register _D(12) contains a value betwenn 0 and 1023 - depending of the voltage at ADIn(2) (Pin27 on CB405)
this register can be read as modbus adress 28684 (see pg. 308 on CB-manual - H7000 = D28672

UsePin 4,in = pin 4 is input and readable in Modbus config at adress 4
Usepin 20,out = pin 20 is output and writeable at adress 20

now - lets take output20 of the cubloc for flood coolant as example

in modbus conf write any cfg: (i use 5 in example)

Cfg #5: Enabled
Comment: P20
port/address: 1
Slave: 1
Refresh: 25
modbus address: 20
nr of reg.: 1
direction: output

now go to brain editor - write a brian - name it whatever you want
in it: add an input - select LEDs - and there your choice is 13 - Flood On
activate this LED and add a lobe - in this case: do nothing (no operation) - ok
activate this lobe and press the terminate-button
choose ModBus - in it set address to 0, as output and Serial plugin enabled #cfg 5

save - load - and enjoy

the rest is only a little bit reading (or listen any video which i don't understand)
and a lot of write'n'click

regards Frank

BTW: i don't post my code - nor here neither pn - its a lot of work and i'm really not able to understand the videos ...
i've taken 1 week for learning by doing

5
Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 07:18:19 PM »
Hi Vince,

everything you have to know you find in CubLoc-Manual.
I'm running 3 of them (CB280) and everything works fine

show me your code and maybe i can help you

Regards Frank

6
Brains Development / Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« on: January 30, 2008, 07:02:35 PM »
ah ok

i have taken his last words of the first post:
I only want to divide a Dro Value when some Input Signal comes in.

and thats what the brain do

Frank

7
Brains Development / Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« on: January 30, 2008, 06:45:39 PM »
sry - i don't understand what you mean

can you give a sample ?

Frank

8
Brains Development / Re: mysterious brain
« 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

9
Brains Development / Re: mysterious brain
« 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)

10
Brains Development / Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« on: January 30, 2008, 03:51:01 PM »
2nd try

first inactive button:



and active button:



Frank

Pages: 1 2 3 »