12/17/2015 9:49 AM | |
Joined: 3/14/2008 Last visit: 11/19/2024 Posts: 2134 Rating: (955) |
Hello, PV_OUT to StartMan?? So you connect the feedback signal of the motor to the manual start of the motor...hmmm, that is not correct. I suggest you read the PCS78 AP library and study it.... I think you don't know how the block operates... StartMan is your manual input to start the motor, operated from the OS block. Please do the following changes: - Set your ModLiOp to 1 - Set AutModLi to 1 and ManModLi to 0 - Connect Start of the Motor block to the SimPV_In of the FbkRun block - Set SimOn to 1 at the FbkRun block - Make sure the driver blocks have a "0" at the parameter Bad, so no error will be send to the motor block. Set driver blocks in simulation - Set StartAut in order to start the motor. I don't know if you did something with the Feature parameters, because you can define button behavior: Switch or latch buttons to start/stop and set to auto/manual. |
Last edited by: Oreca at: 12/17/2015 9:50:31 AMIf I could help you, you can use the RATE button. Thank you. |
|
12/20/2015 4:11 PM | |
Posts: 163 Rating: (2) |
Hi, Still struggling... |
12/20/2015 8:47 PM | |
Posts: 163 Rating: (2) |
hello, I've been modifying the cfc until i came out to this point. why is bad 1 ? Regards, |
12/21/2015 8:16 AM | |
Joined: 3/14/2008 Last visit: 11/19/2024 Posts: 2134 Rating: (955) |
Idir, In your first picture (Motor+) you connected "Start" (Motor block) to "SimPV_In". That is correct. But your PV_Out (FbkRun block) was connected to "StartAut". That is wrong...it should be connected to "FbkRun". StartAut is your automatic start signal (from SFC or CFC). I didn't put this in my previous post, I thought that was clear to you... For the simulation: When you generate driver blocks, the system will get the hardware address and the settings. If you have a digital signal, a mode will be generated, for example -> 16#8000FFFF. The system monitors this signal. If it is not OK, a "1" at Bad will occur. If you do not have real inputs/outputs, you will use simulation. In that case, you can influence the input/output by yourself and you don't have to worry about errors... |
Last edited by: Oreca at: 12/21/2015 8:23:27 AMLast edited by: Oreca at: 12/21/2015 8:24:56 AMIf I could help you, you can use the RATE button. Thank you. |
|
Follow us on