
adccommunitymod (AutomationDirect) asked a question.
Created Date: March 08,2016
Created By: Mvlawn
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I am trying to control an Opto 22 LED dimmer over modbus found here . The specs state that it will communicate via Modbus/ASCII. My first question is, when setting up Com port 3 on my CO-11DRE-D under protocol do I select Modbus or ASCII? My other question is, on page 10 of the manual found here it says to write to register 17 for brightness and register 33 for ramp time. Is their a video or a layman's read on the click PLC, that will teach me how to write to registers? I assume I would use the SD Send instruction.
Created Date: March 08,2016
Created by: bcarlton
While Modbus over a serial line comes in two types (RTU and ASCII) I believe that the Click is capable of Modbus RTU only. The 'ASCII ' selection is for sending just ASCII strings. In the instruction help go to the Communication section.
So I think that you won't be able to control the OPTO unit if it only supports Modbus/ASCII.
Looking at the manual at the link you supplied you may be able to use pure ASCII (as detailed under the OPTOMUX protocol) you will have to calculate checksums but it may be doable.
Created Date: March 08,2016
Created by: Mvlawn
Bernie Thank you for your reply, I believe you have me pointed in the right direction. If i wanted to write to slave 2, register 16, in decimal format 45056 how would I do that?
Created Date: March 08,2016
Created by: bcarlton
I'll leave reading the manuals up to you. I haven't used the OPTO-22 OPTOMUX protocol.
Created Date: March 09,2016
Created by: Mvlawn
Ok. Thanks for clearing some of this up for me. I am lost on the ASCII but I found a forum on the Opto 22. Thanks again!
Created Date: March 08,2016
Created by: Mvlawn
I am trying to control an Opto 22 LED dimmer over modbus found here . The specs state that it will communicate via Modbus/ASCII. My first question is, when setting up Com port 3 on my CO-11DRE-D under protocol do I select Modbus or ASCII?
My other question is, on page 10 of the manual found here it says to write to register 17 for brightness and register 33 for ramp time. Is their a video or a layman's read on the click PLC, that will teach me how to write to registers? I assume I would use the SD Send instruction.