HAL for an old time programmer
- Mike_Eitel
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1126
- Thank you received: 184
09 Oct 2020 06:18 #185429
by Mike_Eitel
Replied by Mike_Eitel on topic HAL for an old time programmer
I have not a lot of rungs and no clue what is the reason. Will try when upgrade.
Just hoped somebody had that too.
THX
Just hoped somebody had that too.
THX
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11205
- Thank you received: 3736
09 Oct 2020 13:06 #185457
by rodw
You would write this like
when you load a component, you can rename it with the name= parameter but the system pins are fixed. That lets you find the documents for that pin.
Replied by rodw on topic HAL for an old time programmer
Good readable code depends on carefully chosen labels: So instead of hm2_7i93.0.7i84.0.1.output-00-invert I would want something like spindle_stop_LED
You would write this like
net spindle_stop_LED <= hm2_7i93.0.7i84.0.1.output-00-invert
when you load a component, you can rename it with the name= parameter but the system pins are fixed. That lets you find the documents for that pin.
The following user(s) said Thank You: jbar
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds