atomic_robo

MrPLC Member
  • Content count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About atomic_robo

  • Rank
    Sparky

Profile Information

  • Gender Male
  • Country Canada

Recent Profile Visitors

118 profile views
  1. Interacting TTL Encoder

    Thank you so much Garry, I really appreciate the time and effort you took to answer my question Cheers!   
  2. Interacting TTL Encoder

    EDIT: Title should be Interfacing TTL Encoder 
  3. Hello,  I have a NX1P2 controller that would control a DC motor, currently it's open loop. I can control the speed and the direction. I'd like to add an encoder to it. The motor I have is from MidWest motion S27 series and they told me I can use their encoder but the problem is it output TTL My question is, how do I read this encoder output in the PLC since it's TTL?  Second, is there a high speed counter in Sysmac Studio for the PLC I have?  Thank you everyone in advance   
  4. NX-105 Received Data

    Hello,  PLC: NX1P  Comm module: NX-CIF105   I am running a serial (RS485) network to control several motors. As a trigger for to read the serial port I am using the ( Ch1 Receive Data Exist) bit, which is an internal bit that's ideally should be energized when there's data in the Receive buffer. However, this bit isn't reliable at all. I am reaching out today to figure out if there's another way to trigger the receive command ( preferably without a delay)    thank you all  Cheers! 
  5. UART (TTL)

    I am not worried about id when converting from rs485 to uart . ID can be set for each motor and then each motor can be addressed in the header of each instruction packet. I don't have any room for four additional You're right @innoaloe, it'll be a lot of work. The easy solution and the more expensive would be to get MX106R instead. Thank you again :D 
  6. UART (TTL)

    @panic mode Don't I still need some sort of timing between the PLC and the micro-controller if I go with that option? 
  7. UART (TTL)

    Thank you again @panic modeand thank you @innoaloe I am afraid I can't go with RS232 as I have 4 motors that need to be connected to the same port. 
  8. UART (TTL)

    Thank you @panic mode. Does that mean shorting the RO and DI pins on the Max485, as the motors require one data line (either transmit or receive)? 
  9. UART (TTL)

    Hello, I have an NX1P2 with a CIF105 (RS485 module) and trying to control motors (Dynmaxil MX106T) that run on UART (TTL). I spent some time researching and came across MAX485, but I don't think that's the best way to do it. To make things more complicated, there's only one data pin on the motors, i.e. runs half duplex so I'll be needing some sort of direction control.  Has anyone here come across something similar? How is it possible to communicate with a TTL device from the PLC? Thank you   
  10. Hello,  I am using an NX1P2 for a prototype. I'd like to detect when the power fails so I can resume the state of the machine. I thought of energizing a retentive bit using P_First_Run. I am not sure how to go about this. Any suggestions are appreciated.  Thank you in advance   
  11. Retained tags

    That answers my question. Thank you @IO_Rack I was populating the retained tags in the initial value field. Then I noticed when I changed the value, the plc wouldn't take it.   
  12. Retained tags

    Hello, Can you please explain what a retained tag is? I thought it's a tag that retains its value after power loss. But when I created tags with initial values and then turned off the plc, they 'retained' their values even though they weren't configured to be 'retained'. And, how do we change the values in a retained tag? Thank you in advance   
  13. FB's

    Hi,  Thank you for your reply! I think the done bit has to be created in the function block. And, yes there's a bit that indicates a motion is complete (Change from 1 to 0). I think it would be safer to just use your first solution, i.e. using one function block for all the motions.    Thank you @innoaloe again :) 
  14. FB's

    Thank you Michael. Any ideas on how to execute a FB one at a time?
  15. FB's

    Hello, I am using function blocks multiple times to execute motion commands. The function block has a few MOVE instructions that would move the motion profile values to the drives. I noticed that the PLC only keeps the last value. Meaning, the values always zeros. How do I go about this issue? Thank you all