Adding groups 2 and 3 on Neuron L513
Hello, I am new to the Modbus communication in Codesys, I have purchased a Neuron L513 and I would like to build a simple program for a prototype with 3 linear actuators. However I am having trouble to set the I/O mapping correctly. Is are there instructions on how to add the groups 2 and 3? At the moment it is not clear to me how to do so...
DavidCozens last edited by
@andré sorry to be so slow responding. Somehow I missed the post. There are instructions in the data sheet on how to use groups 2 and 3.
As a summary getting the IO to work with Group1 was fairly involved, and given that it is identical across all Neuron devices a function block instance is created and the mappings from registers is done automatically. For groups 2 and 3 you will need to map the IO using standard CODESYS features. To make this simpler, all of the Registers and Coils for these groups are named, there are also function blocks provided that will assist with converting between registers and larger data types.