Modbus more Inputs?

More
17 Oct 2019 06:16 #148075 by Aciera
Modbus more Inputs? was created by Aciera
I've got a machine panel connected via modbus to classicladder where I have used up all binary variables %B0 to %B14. Is there a way to add more variables?

Thanks

Please Log in or Create an account to join the conversation.

More
17 Oct 2019 06:48 #148083 by pl7i92
Replied by pl7i92 on topic Modbus more Inputs?
this seams to be on HEX limitation
as modbus is a simple serial why dont you write a COMP for your panel that you can set all pins in HAL
or even as a PYthon file a given advance you can have as many halpins to your comp as you need
and can easy connect as a standard HAL command with IO logic

Please Log in or Create an account to join the conversation.

More
17 Oct 2019 09:17 #148099 by cmorley
Replied by cmorley on topic Modbus more Inputs?
linuxcnc.org/docs/2.7/html/ladder/classi...dder.html#_variables

There are actually 20 bits be default, but you can change that when you load the realtime component of classicladder.

Chris

Please Log in or Create an account to join the conversation.

More
17 Oct 2019 09:19 #148100 by cmorley
Replied by cmorley on topic Modbus more Inputs?
I'll add that unfortunately the status window only shows 15 bits even if there are more.

Please Log in or Create an account to join the conversation.

More
17 Oct 2019 11:25 #148109 by Aciera
Replied by Aciera on topic Modbus more Inputs?
Chris!

Thank you that solves everything!

Dave

Please Log in or Create an account to join the conversation.

More
17 Oct 2019 11:26 #148110 by Aciera
Replied by Aciera on topic Modbus more Inputs?
I'm still a beginner here. So I have no clue what a comp is...

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum