Mahde Posted August 18, 2019 Report Share Posted August 18, 2019 Hi I have a multi-valve that can communicate with rs232 by hyper terminal in normal pc. Iam trying to connect the valve by v570 visio plcs. I understand from the unitronics examples that i can use send protocol One comand i can send is : 1go5 This command for example move the valve to port 5. In hyper terminal after i connect i simply type 1go5 and the valve start moving. What i shoud write in send protocol FB? I have to translate the 1go5 to ASCI code before? Can anybody direct me for this? Thank you Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted August 18, 2019 MVP 2023 Report Share Posted August 18, 2019 You do not have translate your command to ASCII codes. The Protocol Send block does that for you. Try writing the PLC program yourself and post your program here. Then we will look at what you've done and help. Joe T. Link to comment Share on other sites More sharing options...
Mahde Posted August 18, 2019 Author Report Share Posted August 18, 2019 please look at the attached picture.. the command should transfer or i have to add any control char? in hyper-terminal from pc no more char needed.. only writing 1go5 and the valve start moving send_command_test.vlp Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted August 19, 2019 MVP 2023 Report Share Posted August 19, 2019 In hyperterminal an invisible carriage return is added. Try adding that to your Send message- If that doesn't work change your length to 2 and add a "LF" (0A) as well. Joe T. Link to comment Share on other sites More sharing options...
Mahde Posted August 19, 2019 Author Report Share Posted August 19, 2019 it's Work!! Thank you very much Joe T. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now