
Elias20 (Customer) asked a question.
¿How can I read ASCII values from a 4850 Stepper Drive with BRX PLC?
I am communicating with the drive through 232 and so far I have apparently been able to write values such as Electronic Gear to the drive, but I also want to read that same value from the drive to see if it really made the change, I know it is with the Stream In function but I don't know how to configure the instruction to read values like Electronic Gear or Acceleration
You have to use a Streamout with the SCL command for the parameter you wish to read (ex. EG for electronic gearing) without a numeric value. The you must enable the Streamin instruction to capture the response from the drive.
After your Streamout command, use the On Success, Set Bit flag to trigger the Streamin instruction.
Here is an example of using Streamout/Streamin. It is for serial (Modbus ASCII) communication, but you can get the idea of the logic.
https://accautomation.ca/brx-do-more-plc-modbus-ascii-protocol/
I hope this helps you out Elias20.
Regards,
Garry