Jump to content

Recommended Posts

Posted

Fairly new programmer doing first analog section in project at new job. Im using NCF motion with parameter for torque control to send the torque values  a+8 (leftmost word) and a+9 (right most word) to CX programmer. From there is where I get confused will I just simply be moving both cio 108 and 109 to to a D register?? or will I have to combine the a+8 and a+9 to make a Dword??? and then taking that value to HMI broken line graph. sorry again for creeping in your inbox but ive been looking online for 6 hours. would greatly appreciate any help

Screen Shot 2018-08-29 at 9.37.21 PM.png

Screen Shot 2018-08-29 at 8.03.30 PM.png


Posted

He would do a MOVL from 101 to a+8 (a is defined in the setup of the NCF Module).  In the example below, "a" would be W0 and a+8 would be W8 (if it were the Axis 1).  However, he would likely have to do some scaling of the analog value in between 101 and W8 to change 0 - 4000 (guessing analog resolution) to 0 - 100000 (100.000% or up to 300.000%).

AxisMemoryArea.thumb.jpg.4b2e62646fb0c0b

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...