Quantcast
Channel: Omron Latest Topics
Viewing all 601 articles
Browse latest View live

Why TXD(236) doesn't work, but RXD(235) works

$
0
0

Hi,

In the attachment there is my code. 

Setup is set correctly, because when I send data from PC to PLC everything works (data is read and LED Comm blinks),

The problem is with TXD. After startup A392.05 is ON when I execute rung no LED blink either no data comes to PC and  A392.05 become OFF until f.e A526.00 set to ON

Any idea why data is not send from PLC?  HMM

 

txd(236).jpg

SETUP.jpg


Omron CS1G- Cpu43

$
0
0

Hello,
I am fairly new to PLCs and have little experience with them so I thought if anyone here could help it would be great. The project that I have been given involves the OMRON CS1g- CPU 43 provided by the school. Once I plug in the power supply, the ERR/ALM red indicator lights up right away without any of the other indicators other than RDY from the CPU and POWER from the power supply.

First I have tried using a third party serial to usb cable to connect from my laptop to the plc and that did not work, I got a PLC failed to connect. 
I have tried a direct serial connection from the PC to the PLC using an RS232 Dsub 9 pin female to male and have tried auto online/direct connect on an older computer with a serial port, and after auto searching for a while the error comes up which says failed to connect to the pLC. I Googled the ERR/ALM indicator and found out that it was a fatal error however am not sure which one because I can't even connect the PLC to the computer properly. I have tried at least 3 other PLCs all of which are the same model but to no avail. They all have the same problem. I should mention these models are quite old they have been sitting in the closet for god knows how long. My suspicion is that I will need to get OMRON's CS1W cable for it to work since that one has the correct drivers however it is a couple hundred bucks.

Anyways my question is does this fatal error prevent me from properly connecting to the PC? Is there a possible remedy? I'm running a bit behind schedule so I'd appreciate anyone help.

Thank You

Omron CP1E Serial Comms and Checksum Calc

$
0
0
So I have never setup serial communications before. I have learned a lot in my research the past few days but I am new to this so...go easy on me.

I have an Omron CP1EN40S1DR-A with built in RS485 port. And an Omron NS series 5" color touch screen. I need to send and receive commands with a Thermoscientific Recirculation/Chiller bath. The communications protocol in the Chiller manual is listed as NC Serial Communications. All data is sent and received in Hex according to the manual. No ASCII conversion allowed or utilized.

I believe I would set my PLC to communicate in No Protocol mode but this option is not available in the pull down list on the Serial Options Port tab. I don't know what settings to use. I have been through the CP1E manuals and all it shows is RS232 and Modbus Easy Master.

Any help greatly appreciated.
 
I have started to populate my MOV instructions with the command string in Hex. I am stuck on how to handle the Checksum. The chiller will not send a response without the checksum attached. According to the manual it is a bitwise inversion of the sum of the bytes in the checksum region. I take that value and XOR it with FF hex to get the bitwise inversion value.
 
Can this be done with simple add instructions in ladder logic? Then perform an XOR? what instruction for that? Even if I can generate my checksum value how do I then add it to my command string? And what do I compare it to? Wish I could just leave it off!
 
Manual pages attached and  my code so far (Serial_Comm) file. I have a long ways to go. All I want to do in this instance is read alarms, send a value for temp setpoint in 5 recipes and read the current setpoint. Pretty simple, but challenging to implement!

NC Serial Thermofisher 2500.pdf

8262_PLC_V5.cxp

Communication with Cognex Insight camera

$
0
0
Does anyone have experience with connecting a cognex insight 5110 on Ethernet IP to a CJ2 I have the EDS file installed, I can setup the tags, but I only get an error message in the CJ2 d6, comparison error

NT21 CPM2A system initializing

$
0
0

Hi everybody,

First post and new in programmation, I have an issue and hope someone help me  plz :-1

I sent screens into my NT21 and the application into CPM2A but when I connect those devices together the "system initializing" message still be on the panel.

Documentation I read didn't help me

Do you have ways of responses??

Thanks by advance

 

Nikolo

Omron & Balluff

$
0
0
Hi all, Has anyone any experience of configuring a Balluff IO Master BNI EIP-502-105-Z015 BNI004A with Omron Network Configurator? The PLC is a CJ2H Ethernet/IP model. Basically I have the Master with three BNI IOL-310-000-K025 (16Bit) units hanging off the IO Link ports. They are to be assigned as follows: - Bit 0 - In 1 - In 2 - In 3 - Out 4 - In 5 - In 6 - In 7 - Out and so on up to bit 15 as an Out. I have never used these with Omron before and can only find reference to them with AB. Any ideas/pointers/solutions, etc would be great. Cheers Stevie

Omron and Smart Motor

$
0
0

Hi,

I am fairly new to PLC's and have been given quite the task by my group members. For our project we are using an omron cs1g, and trying to get the smart motor similar to the link below

http://www.animatics.com/products/animatics/nema-34-3400-series/sm34405d.html

from moog animatics to communicate with each other. The smart motor comes with the smart motor interface software which is sends the commands to the motor, similar to how omron has cx-programmer. The motor uses an rs232 port to connect to the computer, and we have a serial communications board for the omron with an rs232 port available. We noticed there was a built in sniffer in the smart motor interface program and when we sent commands, they came out as hex. Would it be possible to send hex directly from the PLC to the motor via the TXD instruction? I have not looked into too much because I am not sure if this is possible or not. The TXD instruction has a source word, a control word and bits to send which I am not too familiar with. For example 47 in hex would come out as G in as ASCII which starts the motor.

https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&ved=0ahUKEwjUheqpharSAhWl5IMKHTSQBIoQFghAMAY&url=https%3A%2F%2Fwww.animatics.com%2Findex.php%2Fdownload-center%2Fcategory%2F20-user-s-manual.html%3Fdownload%3D4%253Auser-s-manual&usg=AFQjCNEhF0wln71-XJcXYLL9HMmQ3TnYhQ&sig2=zU0kcIkobaVvMmrXh8cZtg&bvm=bv.148073327,d.amc

The manual linked here states on page 64 under "getting data rs232 port using data mode", in data mode the motor will simply respond to arriving commands it recognizes.  

Would anyone here be familiar with smart motor and omron plc? I apologize if my post is all over the place there was a lot to explain.

Thank You

Cycle Timer

$
0
0

Hi all,

I try to realize a cycle timer.

A counter is triggered by a movement ( clamp close )

Then the machine does it things, piston here, and there

and when the clamp closes again it should show me the real cycle time.

Is there a timer/counter that is independent from the PLC cycle?

I am using a CJ1M CPU11 Ver. 3.0


Program Explanation TXD and RXD

$
0
0

Hi there,

I am fairly new to PLCs currently trying to connect an external serial device to the plc and trying to send an ascii string through the built in rs232 port. I called omron tech support today and they sent me a sample program. I was disconnected before I could ask some questions so if anyone could explain this basic program I would greatly appreciate it. The program starts on page 4, and is basically sending an the string <Hello> through the rs232 port. The problem is this program is based on the SCU-V1 so there are flags that are not being used in my case. 

For rung 0 they are moving the hex #0 and #3111 to the SCU port. In my case since I am using the built in rs232 do I still need to MOV the #3111? I know the default for rs232 is #0 but not sure why they are sending to both.

For rung 3 where they are sending the ascii " <" why is the destination word not stored in the data memory like the other rungs below it? Is it because this is the first string?

If someone could clarify this I would greatly appreciate it. Thank You 

 

Connecting CJ1W-SCU21_41-V1 to PC by using RS-232C.docx

TXD Port Ready Flag Not Turning On

$
0
0

Hi there, below is the attached program that I seem to have a problem with. I am using a sample TXD program which sends some hex values through the built in rs232 port but the problem is the A392.05 (new) initially was true when I first downloaded and ran the program but after that it just stayed false no matter how many times I re-uploaded and edit the program. I have all my port settings at the host link tab at Rs232, 9600, 8 data bits, none and 1 stop bit. This result is with nothing connected to the built in rs232, I just wanted to see if TXD would execute.

Right now I am not connected to the external device which is a smart motor from animatics because the rs232 is a female and so is the built in rs232 from the plc. I have also tried using copper wiring 
PLC MOTOR
2 (TX) - 2(RX)
3 (RX)- 3 (TX)
9 (SG) - 5 (SG)
and was not able to get results.
Do I need to jump any cables for example cts to rts? similar to the  C200HS - CN220 - EU  cable?

Thanks

TXD Port Ready Flag Not Turning On

$
0
0

Hi there, below is the attached program that I seem to have a problem with. I am using a sample TXD program which sends some hex values through the built in rs232 port but the problem is the A392.05 (new) initially was true when I first downloaded and ran the program but after that it just stayed false no matter how many times I re-uploaded and edit the program. I have all my port settings at the host link tab at Rs232, 9600, 8 data bits, none and 1 stop bit. This result is with nothing connected to the built in rs232, I just wanted to see if TXD would execute.

Right now I am not connected to the external device which is a smart motor from animatics because the rs232 is a female and so is the built in rs232 from the plc. I have also tried using copper wiring 
PLC MOTOR
2 (TX) - 2(RX)
3 (RX)- 3 (TX)
9 (SG) - 5 (SG)
and was not able to get results.
Do I need to jump any cables for example cts to rts? similar to the  C200HS - CN220 - EU  cable?

Thanks

Capture.JPG

Vijeo Citect 7.2 - OMRON Digital Datatype not updating in real-time

$
0
0

Hello,

We have this SCADA system Vijeo Citect 7.2 running in Windows 7. Primarily used as generator's alarm history & monitoring.
PLC: OMRON C200HG

All communications are good but DIGITAL data (alarms, bustie) from OMRON is not updating in real-time. (Need to restart the Vijeo Citect to make it work). 

While BCD & LONGBCD datatypes (voltage, speed current) are working good and showing real-time

*OFSVIJEO: INT datatypes are also working good.

Protocol
UNITY         MODNET30
OMRON      OMRON
OFSVIJEO  MODCELL

 

Omron HostLink + Raspberry Pi

$
0
0
Hi, I have a student project in hands that consists in using an Omron CPM1 via HostLink in a Raspberry Pi with an interface to read and write locally and from the web. As raspberry pi works with linux, I need an application to read those registers in linux. I found an application called Proview for Raspberry Pi on Debian: http://maba.dk/index.php/shop/debian/ http://www.proview.se/v2/ http://www.proview.se/doc/en_us/ In the guide to I/O systems, they specify that it supports Modbus/TCP, Other I/O systems need to be created a c/c++ file. Now I´m really lost because I never programmed in c++ and I don´t know how to connect the plc in linux using hostlink, most programs are created for windows with mscomm. Also, I dont have a gateway to convert serial to ethernet, so, I´m stuck with HostLink Serial RS232C. I would love some code written in c++, java or python to comm with the plc over HostLink Serial to have some base to work with the Proview program. Or maybe you know another way to accomplish what I want to do without proview in the raspberry pi. Please Help and thank you in advance!

CS1G RS232 to Smartmotor no communication

$
0
0

Hi there,
I am trying to get my CS1G plc to talk with an animatics smart motor. What I am trying to achieve is to send the letter 'G' to the smart motor so the led will go from red to green just so I know it is talking with the rs232. Here is what I've accomplished so far.

Used hyperterminal to make sure the built in rs232 is outputting the correct ascii which it is. Used hyperterminal to send the letter G to the smart motor, connected to the computer using a serial to usb adapter, which changed the led from red to green. I should mention the smart motor has a female rs232 port.

Now here is what I am stuck on. When I send 'G' through the built in rs232 port, nothing happens to the smart motor led. This is the current cable connection that I have

PLC      Smart Motor
2(TX)-3(RX) 
3(RX)-2(TX)
9(SG)-5(SG)

On the plc side, 4 and 5 are shorted. 
In the attached pictures below shows screenshots from the smart motor manual stating that no handshake protocol is needed. DTR,DSR,RTS,CTS. I tried them anyways with no results. Made sure all the communications settings were correct. I cannot think of a possible reason why this would not work.
Would anybody have any insight?
Thanks

Capture.JPG

capture2.JPG

RTU Modbus CJ2M CPU34, SCU31-V1,

$
0
0

Hello everyone. In my project I have to communicate Omron CJ2M-CPU34 PLC with TRANE chiller via Modbus RTU protocol. Unfortunately, I never use this protocol and I have no idea where should I start. I'm looking for examples and advices. If someone has experience in this topic please help me. I attach TRANE chiller documentation. Especially I want to use function 5,6 and 4. 

CGAX-CXAX_Protocole_Datalists.xlsx

CG-SVU007C-GB_0915.pdf


cj1w etn21

$
0
0

first thank u so much i can join on this forum, plc is great for me. now, i have some problem that i never know it before, it's about comunication between pc and cj1w etn21, few days ago my display data on cx supervisor in pc lost and be the#### display. after it i restart my plc n it be normal again but it happen again more often than before until my cj1w etn21 erh led flashing. i try to ping is good conection but sd, rd, tcp led on etn21 modul not lit sudenly and my display lost again. my last efort is i try to set node number on etn21 modul and the erh eror flashing is gone but i can conect my pc again to etn21 modul. so, i set back the last node number and can display again but erh back flashing n data lost sudenly aaain. can you help me please? 

 

NS + barcode scanner and special characters

$
0
0
Hello, I have a Datalogic GD4430 barcode scanner and a Omron NS5 touchscreen. When I scan a barcode that contains characters CR (0x0D) or LF (0x0A), nothing appears on the text input on the screen.Scanning a barcode that doesn't contains special characters (excepted STX and ETX) works perfectly. How to get a barcode that contain CR or LF characters ?Thanks

USB Driver of NB Designer for window XP Prfessional

$
0
0

Dear All

Please send me the link of USB driver of NB designer(V1.4) for window xp professional.

I have tried "C:\Program Files\OMRON\NB-Designer\driver" but not working.

Regards

TS

HELP - Omron Developer- Need Immediately

$
0
0

Our Omron developer walked off the job today; we need someone to help with finishing up the project for our client. This is time sensitive.

Shawn.Petty@veaps.com   -  317-671-8240

Omron Support tool

$
0
0

Good day,

I am trying to upload a programme to a Omron NT600S HMI, can anyone advise or help me with the right support tool software that I need.

Thank you

Viewing all 601 articles
Browse latest View live