annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

serial IO not working

Résolu !
Accéder à la solution

hello guys,

my IO module which controls several relays and sensors through a rs485 to rs232 convertor, is not working with vision builder serial io step. it's working on its own interface but when I send the same command from vision buider it does not respond.

of course the commands on interface are on ascii code but vision builder sends hexadecimal so I converted the ascii codes to hexadecimal and it's not working.

the way i converted the code is this:

@011=40h 30h 31h 31h

so I sent 40303131 to the device instead of @011.

0 Compliments
Message 1 sur 2
3 149 Visites
Solution
Accepté par lightgoal

Perhaps you need to add a carriage return and/or line feed character at the end.

 

Bruce

Bruce Ammons
Ammons Engineering
Message 2 sur 2
3 142 Visites