Hello Guest it is November 12, 2019, 06:55:00 PM

Author Topic: Brains Terminator "SendString" Functionality  (Read 5235 times)

0 Members and 1 Guest are viewing this topic.

Brains Terminator "SendString" Functionality
« on: September 16, 2012, 04:43:22 PM »
Trying to write a Brain that will send an analog value into a register of a PLC.  The operand terminator "SendString" seems like the perfect solution.  I am using serial ModBus, not plug-in enabled.  I type in a binary word or a hex word, etc (made many different attempts) in the 80 character max box provided, & select Register Address 64, which I have mapped to a valid register in the PLC.  I select the "0-128 serial" option and hit OK.  The Brain is functioning and lights up active in the Brain Viewer, but my PLC register just stays at 0000.

Wondering if anyone has experience with this Brain terminator?

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Brains Terminator "SendString" Functionality
« Reply #1 on: October 08, 2012, 07:49:28 AM »
write out your analog value as a decimal equivalent of it max resolution (limited to 16 bits), mapped to your PLCs 16 bit word that represents that value.
when mapping in M3's modbus, you will need to convert your plc's address (octal or hex depending on brand), to decimal equivalent.

ps.  I STRONGLY advise that you use the Serial Enabled Modbus, cause you can use the different configurations to write to different block addresses if you want.

scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/