You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old May 23rd, 2007, 09:48 PM   #1
recycled_mind
Member
Philippines

recycled_mind is offline
 
recycled_mind's Avatar
 
Join Date: May 2007
Location: Cebu, Philippines
Posts: 118
OMRON C28 Instruction

Please help anybody knows what is FUN98 instruction for OMRON SYSMAC C28? I need to convert this instruction to be loaded to the new SYSMAC CPM2A. I'm in the process of converting the old program of C28 to CPM2A.
  Reply With Quote
Old May 24th, 2007, 03:42 AM   #2
scottmurphy
Member
New Zealand

scottmurphy is offline
 
Join Date: Oct 2004
Posts: 363
Quote:
Please help anybody knows what is FUN98 instruction for OMRON SYSMAC C28? I need to convert this instruction to be loaded to the new SYSMAC CPM2A. I'm in the process of converting the old program of C28 to CPM2A.
RECV

Is there some sort of serial device attached?
  Reply With Quote
Old May 24th, 2007, 05:28 AM   #3
recycled_mind
Member
Philippines

recycled_mind is offline
 
recycled_mind's Avatar
 
Join Date: May 2007
Location: Cebu, Philippines
Posts: 118
No other serial device attached to the C28.
  Reply With Quote
Old May 24th, 2007, 06:32 AM   #4
scottmurphy
Member
New Zealand

scottmurphy is offline
 
Join Date: Oct 2004
Posts: 363
Far be it for me to be correct, but if nothing connected to any serial port, then more than likely, the instruction is not needed????
  Reply With Quote
Old May 24th, 2007, 07:32 AM   #5
gtsuport
Member
United States

gtsuport is online now
 
Join Date: Feb 2005
Location: Grand Rapids, MI
Posts: 1,138
First of all, is this a C28K or C28H?
Based on the instruction manuals for both units, Fun 98 is not defined. Additionally, these processors do not support expansion instructions.
In theory, this processor should be in an error condition due to an invalid instruction.

Sorry to not be of more assistance.
  Reply With Quote
Old May 24th, 2007, 08:32 PM   #6
recycled_mind
Member
Philippines

recycled_mind is offline
 
recycled_mind's Avatar
 
Join Date: May 2007
Location: Cebu, Philippines
Posts: 118
Quote:
Originally Posted by gtsuport
First of all, is this a C28K or C28H?
Based on the instruction manuals for both units, Fun 98 is not defined. Additionally, these processors do not support expansion instructions.
In theory, this processor should be in an error condition due to an invalid instruction.

Sorry to not be of more assistance.
Here is the Mnemonic code for the C28 Program:

LD 2

OR 500

AND NOT 1007

AND NOT 507

OUT 500

LD 2

OR 508

AND NOT 1009

AND NOT 507

OUT 508

LD NOT 4

AND NOT 500

AND NOT 508

TIM 0 #0010

LD 1813

FUN (98) 15

LD 2

OR 1815

OR 1500

OR 1

OUT 1807

LD 1500

OR 1002

AND NOT TIM 1

OUT 1002

LD 1002

TIMH (15) 01 #0010

LD 1002

LD 1005

CNT 11 #0003

LD 1002

LD 1005

CNT 12 #0004

LD 1002

LD 1005

CNT 13 #0005

LD 504

AND CNT 11

LD 505

AND CNT 12

OR LD

LD 506

AND CNT 13

OR LD

OUT 1003

LD TIM 05

AND NOT 1003

LD 1010

AND 7

AND NOT TIM 2

OR LD

LD 1010

AND NOT 7

AND NOT 1003

AND NOT 1500

OR LD

LD 507

AND NOT 7

AND NOT 503

AND NOT 1003

OR LD

LD 507

AND 7

AND NOT 503

AND NOTTIM 02

OR LD

AND NOT 500

AND NOT 502

AND TIM 0

LD 504

OR 505

OR 506

AND LD

OUT 1010

LD 4

OR 1010

OUT 501

LD 7

AND NOT 507

AND 1500

LD 7

AND 507

AND 1006

OR LD

LD 7

AND 1004

OR LD

AND NOT TIM 2

OUT 1004

LD 7

AND 1004

TIMH (15) 02 #0010

LD 1003

AND NOT 501

OR 502

AND NOT 8

OR 6

OUT 502

LD 502

OR 1

OR 2

OUT 1005

LD 507

AND 1003

LD 507

AND 1006

OR LD

AND 501

OUT 1006

LD 502

TIMH (15) 04 #0020

LD TIM 04

LD 503

AND NOT 9

OR LD

OR 6

OUT 503

LD 3

TIM 05 #0005

LD 10

AND NOT 11

AND NOT 12

LD 504

AND NOT 505

AND NOT 506

OR LD

OUT 504

LD 11

AND NOT 10

AND NOT 12

LD 505

AND NOT 504

AND NOT 506

OR LD

OUT 505

LD 12

AND NOT 10

AND NOT 11

LD 506

AND NOT 504

AND NOT 505

OR LD

OUT 506

LD 5

OR 507

AND NOT 6

OUT 507

LD TIM 5

OR 1007

AND NOT 12

OUT 1007

LD NOT TIM 5

AND 1007

OR 1008

AND NOT 2

OUT 1008

LD TIM 5

AND 1008

OR 1009

AND NOT 2

OUT 1009



LD 1813

MOV (21) #0005 DM 32

MOV (21) #0005 DM 33

END 01
  Reply With Quote
Old May 25th, 2007, 07:17 AM   #7
gtsuport
Member
United States

gtsuport is online now
 
Join Date: Feb 2005
Location: Grand Rapids, MI
Posts: 1,138
We still need to know if this is a C28K, C28P or C28H.
Based on the 4 digit addresses I would guess it is either a
C28K or C28P, but we really need to confirm this.
If it is a K or P processor, FUN 98 is not a documented instruction.
Try removing it from the program and see what happens.

Here is a link to the C**K Manuals

Last edited by gtsuport; May 25th, 2007 at 07:19 AM.
  Reply With Quote
Old May 26th, 2007, 02:05 AM   #8
recycled_mind
Member
Philippines

recycled_mind is offline
 
recycled_mind's Avatar
 
Join Date: May 2007
Location: Cebu, Philippines
Posts: 118
Quote:
Originally Posted by gtsuport
We still need to know if this is a C28K, C28P or C28H.
Based on the 4 digit addresses I would guess it is either a
C28K or C28P, but we really need to confirm this.
If it is a K or P processor, FUN 98 is not a documented instruction.
Try removing it from the program and see what happens.

Here is a link to the C**K Manuals
Its a C28P PLC. I am not so sure if this is really the actual program on the unit. I'm still waiting for the cable so that i can verify it. Thanks for help.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Instruction Equivalents of Omron Cx Programmer to GE Fanuc PLC Developer SriGR LIVE PLC Questions And Answers 1 January 11th, 2007 06:36 AM
AB vs Mitsubishi/ Omron Instruction sutton LIVE PLC Questions And Answers 6 December 23rd, 2006 01:03 AM
omron plc ATM instruction joe2005 LIVE PLC Questions And Answers 3 March 10th, 2006 01:17 PM
Omron KEEP (HR xx) instruction Vicente Jasareno LIVE PLC Questions And Answers 13 March 14th, 2004 11:52 PM
RDM Instruction in Omron S6 mmoorhouse LIVE PLC Questions And Answers 1 April 9th, 2003 10:40 AM


All times are GMT -5. The time now is 09:07 AM.


.