Machsupport Forum

Mach Discussion => Mach Screens => Machscreen Screen Designer => Topic started by: coldcut on February 27, 2016, 02:32:26 AM

Title: help,cannot find "Ports pins check" feature of Machscreen
Post by: coldcut on February 27, 2016, 02:32:26 AM
hi, I'm newbie on mach3 and screen design and I am design a screen set with 2 LPT ports, but donot know how to define the pins Led in "Diagnostics"page...
So I find there is a feature of Machscreen:"Ports pins check" or "Options -> check ports pins", But I cannot find it in my Machscreen(v1.64) :'( :'( :'( :'( :'( :'(
help :'( :'( :'(
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: coldcut on February 27, 2016, 02:39:35 AM
here is my machscreen, donot have  "Ports pins check"  :'(
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: ger21 on February 27, 2016, 08:22:56 AM
I don't think anyone really even know what the "pins" LEDS even do. What you really need is just LED's for your functions, to tell you if the functions are working. You don't need the screenset to do anything with the pins.
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: coldcut on February 27, 2016, 11:19:04 AM
I don't think anyone really even know what the "pins" LEDS even do. What you really need is just LED's for your functions, to tell you if the functions are working. You don't need the screenset to do anything with the pins.

THANK YOU for reply
but How to confirm the correspondence between the pins and oem-code number .... I made a image to express  :-[
(http://)
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: stirling on February 27, 2016, 02:03:40 PM
oem leds 137 to 160 are the leds on the left i.e. those on the standard screen
of that group AFAIK only the 5 input leds actually work i.e. oem numbers 140 to 144.

All leds from 1000 up are user defined.
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: coldcut on February 28, 2016, 12:15:37 AM
oem leds 137 to 160 are the leds on the left i.e. those on the standard screen
of that group AFAIK only the 5 input leds actually work i.e. oem numbers 140 to 144.

All leds from 1000 up are user defined.


thank you, if i design 1 parallel port I can use "oem leds 137-160" for pins state, but if design 2 parallel port I must use "user defined leds",so how to defined each user led to pins...
sorry, still cannot understand :(
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: stirling on February 28, 2016, 03:52:38 AM
have you read the appropriate manuals here: http://www.machsupport.com/help-learning/product-manuals

Here's some tips on what you need to be reading up on.

You'll need to understand how to read the 3 ports of a parallel port i.e. the data, control and status ports.
You'll then need to understand how to mask out the appropriate bits and then use those values to set or clear user LEDs.
All this will need to be done in a loop so you'll need to understand the macro pump.
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: Klaus1311 on February 28, 2016, 06:01:31 AM
Hi coldcut

as Gerry and stirling already stated, these LED's are for diagnostic purposes only and shouldn't be used for user pages. The menu item you are referring to, is removed from MachScreen. This function is now part of my app MachProfile.


Klaus
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: coldcut on February 28, 2016, 06:42:41 AM
have you read the appropriate manuals here: http://www.machsupport.com/help-learning/product-manuals

Here's some tips on what you need to be reading up on.

You'll need to understand how to read the 3 ports of a parallel port i.e. the data, control and status ports.
You'll then need to understand how to mask out the appropriate bits and then use those values to set or clear user LEDs.
All this will need to be done in a loop so you'll need to understand the macro pump.

yes, there is lots to learn... I was idle in this :-\
I thought it is a short cut to learn from otherone's screenset file, so....
I konw sometime the user button and user DRO need user script
But the screenset which I learn from(SwissU) has no script for the parallel port pin LEDs
so now... I think the userLED of oem-code 1855 to 1888 is defaults to belong to parallel port pins state, such as the LED of oem-code 137 to 160 :-\

THANK YOU , I will goto learn more :D

Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: coldcut on February 28, 2016, 06:48:51 AM
Hi coldcut

as Gerry and stirling already stated, these LED's are for diagnostic purposes only and shouldn't be used for user pages. The menu item you are referring to, is removed from MachScreen. This function is now part of my app MachProfile.

Klaus


THANK YOU Klaus, you are the author of Machscreen... it is really a great tool
Now I understand
Thank you all ;)
Title: Re: help,cannot find "Ports pins check" feature of Machscreen
Post by: stirling on February 28, 2016, 08:04:07 AM
I konw sometime the user button and user DRO need user script

No - not sometime - always.

But the screenset which I learn from(SwissU) has no script for the parallel port pin LEDs

I wouldn't have expected it to. Re-read what I said about the macro pump (or perhaps even a brain)

so now... I think the userLED of oem-code 1855 to 1888 is defaults to belong to parallel port pins state, such as the LED of oem-code 137 to 160 :-\

Sadly, thinking something doesn't make it so.

EDIT: BTW - when you installed the screenset, did you read the readme? Maybe you missed the bit where it says:

"As you can see in the "Diagnostics" tab, I have already planned a series of LEDs for future version "Mach3 v4""