![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
|
Math function problem ge fanuc 90 30
GOOD DAY:
we have problems regarding math functions DIV INT dont do any calculations, all parameters are met. we do it like this: from function block "CSS1" we get the variables "SET_SPEED_K8" (%R00708)(word) then we use it on the DIV_INT as dividend. 8260 as divisor. at start "SET_SPEED_K8" has a value of 15000 so we expect to have a quotient of 1 (since this is in INT form) but there is no qoutient at all. we also try to convert it from INT to REAL then use DIV_REAL but still nothing happened.. the variables "SET_SPEED_K8" are originally from CSS1 LD block., the math functions wherein SET_SPEED_K8 were used are located in "CSS2" a new LD block.. does math function requires it input to be in same LD block?? thank you. thanks!!!
|
|
|
|
#2 |
|
Lifetime Supporting Member + Moderator
|
It sounds to me like the CSS2 block isn't being called.
|
|
|
|
#3 |
|
Member
|
OK ill check that sir,
Thought that it was just a validate-then-download program... |
|
|
|
#4 |
|
Lifetime Supporting Member + Moderator
|
Somewhere in your program, usually in the _MAIN block, you need to include a CALL instruction to your CSS2 block. Do a search for the CALL instruction to the CSS1 block and CALL the CSS2 block right after it.
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GE Fanuc 90/30 Output problem | CDS123 | LIVE PLC Questions And Answers | 4 | March 1st, 2010 08:09 AM |
| Ge fanuc CMM 311 communication problem?? | abhilashponoli | LIVE PLC Questions And Answers | 7 | March 25th, 2004 03:00 PM |
| GE Fanuc HMI Development | Phil Bugg | LIVE PLC Questions And Answers | 2 | December 11th, 2003 09:58 AM |
| GE Fanuc PLC Axis Module Problem | ManiDuraiswamy | LIVE PLC Questions And Answers | 1 | September 16th, 2003 07:54 AM |
| Fanuc Robot Problem | cdlove23 | LIVE PLC Questions And Answers | 13 | August 16th, 2002 09:09 PM |