Machsupport Forum
		Mach Discussion => Mach4 General Discussion => Topic started by: TimGS on June 04, 2015, 04:40:23 PM
		
			
			- 
				Just curious ...
 Could the Input/output signals been setup with a Custom Signal Event Handler?
 ...It would dispense with the need for polling input signals.
 
 
- 
				sounds just as good as an 'Event_Macro_Hold"....whatcha talkin about willis?
			
- 
				Just Google "How to create an event handler in Lua"  
			
- 
				so...   who is the client and who is the server   ...or... should I say....who is the
 
 publisher....to the 'event handler'...to which, whom has subscribed to?
 
 sorry, may be speaking greek....it's all TCP, lol.
 
 
 
- 
				fudge! I just realized I'm a nerd!!!!!  NERDZ!!!! >:D   computerized NERD control
 
 
 lmao haha...ok, I'll quit now.
 
 maybe.
- 
				Mach 4 would host the server since it is the core. Clients would sign up to receive/trigger events.
			
- 
				Modbus?
 
 I was looking at the same typology kinda (publisher -> server -> subscriber) but having a signal from the mill be the publisher to a "channel" on a MQTT server and m4 being the subscriber (using a PLC script to ping the channel). That way I can control m4 from anywhere there is a Internet connection if I am away from the area. Well, theoretically anyway.
 
 I know, your thinking, why go through an external server for signal processing when I can just send the signal straight to m4.....just trying to look a things from all directions. That's all.  I'm really interested in learning more about TCP/IP config & comms with m4. I get where you are coming from. That's neat!
- 
				 That way I can control m4 from anywhere there is a Internet connection if I am away from the area. Well, theoretically anyway. 
 
 
 and will mr google be putting the stock on the machine.....
- 
				lmao! ha!   point taken. ok, maybe not the best of projects to take on. shoot, that was funny  ;D
			
- 
				it is a good idea if you use a tablet that gets updated  info from the machine and you can kill it from a tablet and use it as a pendint. for when you go of to make a coffee, or other rest stop so when you get back to the machine you will know there is going to be no Decepticons waiting for you or a F machine
			
- 
				better answer would of been...."stock placement is automated". f those decepticons dan!  ;D
			
- 
				well you could added a robot and pallet loader
			
- 
				You two are entertaining ;D
			
- 
				I just find crazy axe (Screwie Louie) funny I cant help but add something silly