- Posts: 1111
- Thank you received: 0
ClassicLadder named input
4 years 9 months ago #231689
by bkt
ClassicLadder named input was created by bkt
he because completely new on classicladder i run my example using some tutorial ... all good I connect in/out with EL1008/2008 ...
these my ladder-glue.hal file (only first row):
Question: is possible to use "pressulre-low" for example instead "I0"?? .... because I try with error .... seems not possible but I ask to classic ladder expert .....
Plus I have an annoing warning about error on period 0 of 50.000ns .... but I run all on rt-preempt system so no one use base period ... only servo period instead ... where become these warning? My ini file is without BASE_PERIOD .... need to used because classicladder? I can put it on 100.000 .... so system can be happy.
these my ladder-glue.hal file (only first row):
Code:
# first load realtime portion of classicladder, and create a 1ms
loadrt classicladder_rt period=1000000
# hook functions to realtime thread
addf classicladder.0.refresh classicladder.thread 1
# create some I/O signals
# connect I/O signals to classicladder
net I0 => classicladder.0.in-00
net I1 => classicladder.0.in-01 ...... #30 in 20 out at least
Question: is possible to use "pressulre-low" for example instead "I0"?? .... because I try with error .... seems not possible but I ask to classic ladder expert .....
Plus I have an annoing warning about error on period 0 of 50.000ns .... but I run all on rt-preempt system so no one use base period ... only servo period instead ... where become these warning? My ini file is without BASE_PERIOD .... need to used because classicladder? I can put it on 100.000 .... so system can be happy.
Please Log in to join the conversation.
4 years 9 months ago #231697
by BigJohnT
Replied by BigJohnT on topic ClassicLadder named input
The signal name can be almost anything unique.
This is a perfectly legal net line.
Always put the exact error in the message or if long attach as a text file.
JT
This is a perfectly legal net line.
Code:
net pressure-low => classicladder.0.in-00
Always put the exact error in the message or if long attach as a text file.
JT
Please Log in to join the conversation.
4 years 9 months ago #231703
by bkt
Replied by bkt on topic ClassicLadder named input
I means inside classic ladder in graphica ladder gui programming ( -| |- or -|\|- not able named "mary" instead %I0 ..... for example).
AZny how tomorrow try again and take a screenshot ....
AZny how tomorrow try again and take a screenshot ....
Please Log in to join the conversation.
4 years 9 months ago #231740
by bkt
These appear when try to insert "in2" intead %I12 .... in my .hal file I write these that is perfectly legal obviusly
Replied by bkt on topic ClassicLadder named input
Attachment not found
These appear when try to insert "in2" intead %I12 .... in my .hal file I write these that is perfectly legal obviusly
Code:
net in2 <= lcec.0.1.din-2
net in3 <= lcec.0.1.din-3
net in4 <= lcec.0.1.din-4
net in5 <= lcec.0.1.din-5
net in6 <= lcec.0.1.din-6
net in7 <= lcec.0.1.din-7
net in2 => classicladder.0.in-12
net in3 => classicladder.0.in-13
net in4 => classicladder.0.in-14
net in5 => classicladder.0.in-15
net in6 => classicladder.0.in-16
net in7 => classicladder.0.in-17
Please Log in to join the conversation.
4 years 9 months ago #231816
by BigJohnT
Replied by BigJohnT on topic ClassicLadder named input
Check Display symbols and create your symbol names for each variable with the Symbols button.
JT
JT
Please Log in to join the conversation.
4 years 9 months ago #232109
by bkt
Replied by bkt on topic ClassicLadder named input
On Dysplay Simbols can see name assigned from .hal file .... thanks ... but not possible assign a arbitrary name on new var .... so think is possible to assign only if not included in some manner on some .hal file .... or when total virgin program is created. Not try but seems to me is right .... you can confirm or not?
Maybe I misunderstood.
bkt
Maybe I misunderstood.
bkt
Please Log in to join the conversation.
4 years 9 months ago #232948
by BigJohnT
Replied by BigJohnT on topic ClassicLadder named input
Double click the Symbol Name in the Symbols names interface and change the Symbol Name there.
JT
JT
Please Log in to join the conversation.
Time to create page: 0.271 seconds
