Ychu Posted April 26, 2016 Share Posted April 26, 2016 I am trying to read a digital I/O input from my application. I know the pointer name that is mapped to the register. For example, // set in the global definitions.pmh ptr IoCard1RegIn1->u.io:$C00000.8.8 I could just type IoCard1RegIn1 at IDE terminal but when I tried to send this same string from my application, I would get ILLEGAL PARAMETER error. Thanks. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted April 26, 2016 Share Posted April 26, 2016 Your application? Do you mean a host program (e.g. GUI)? Are you using our PDK in C#? You can use the GetResponse method in the ISyncGpasciiCommunicationInterface class to send variable names. If you are going through a Telnet interface, make sure you issued "gpascii -2" to enter the ASCII communication terminal of the PPMAC. Link to comment Share on other sites More sharing options...
Ychu Posted April 27, 2016 Author Share Posted April 27, 2016 Your application? Do you mean a host program (e.g. GUI)? Are you using our PDK in C#? You can use the GetResponse method in the ISyncGpasciiCommunicationInterface class to send variable names. If you are going through a Telnet interface, make sure you issued "gpascii -2" to enter the ASCII communication terminal of the PPMAC. Thanks Charles. No I am not using PDK but open source SSH library. I still get the error even when I launched gpascii with option -2. Any suggestion? Thanks. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted April 27, 2016 Share Posted April 27, 2016 Ychu, Can you send me a screenshot of the errors you are getting? Also did you make sure your variable definitions are currently downloaded? The general procedure for using SSH is Log in as: root Password: deltatau Issue gpascii -2 Then it should recognize all variable names and act just like the IDE Terminal. Please note that variable names are case-sensitive. Link to comment Share on other sites More sharing options...
Recommended Posts