Search the Community

Showing results for tags 'scu41 rs485 mod bus com'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 51 results

  1. Greetings everyone, I have a TIA V16 project in which I set up 7 drives to communicate with an S7 1500 controller via RS485 using USS protocol. The drives are Simatic V20s daisychained to the bus and are properly terminated with resistors. I use the USS DRIVE CONTROL 31 function block for each drive all located in a single FC and all using the same single instance DB as recommended by Siemens. I then call this FC containing the FBs every 120ms from the MAIN OB. I then call the USS PORT SCAN 31 function in a cyclic OB set at 70ms cycle time. In each V20 i use PZD word length of 2 and a PKW of 4. Both setpoint and commands are sent through USS. What I have observed is every time take out incoming power to any one of the VFDs, the rest of them get F72 comms error and fail to communicate with the PLC. Is this behaviour normal? What causes it? I use an RS485/ 422 PtP BA module sending data at 19200bps. Strangely enough it doesn't show any fault even though the diagnostics interupt setting is enabled on it. What I noticed is that as I was setting up the VFDs one by one, the F72 fault on the BOPs only pop up on an already configured drives. So, the VFDs that hadn't been commissioned yet for RS485, but were already physicaly terminated/ connected to the PLC, didn't fault the bus when they were powered down. They only faulted the bus upon switching them off only after RS485 activation (post commissioning).
  2. Hi all, New to the forum. I've been pretty much able to do the things I wanted with Beckhoff, but now I'm finally running into a problem I can't seem to solve alone. I'm trying to set-up Modbus RTU RS485 communication in Twincat3, using an EL6021. I've implemented a sample program from the Beckhoff website, but can't get it to work. I've got the feeling I need to properly set up the EL6021 but most information on the Beckhoff website is about the KL-series IO. Does anybody have experience with this? The strange thing is that, when I enable the function to read some slave's registers, BUSY is set and remains set. No timeout is triggered. I don't have a slave connected yet but I would at least expect to see something on the output of the terminal, and then a timeout. I've bridged TxD+ and RxD+, and TxD- and RxD- and set 8000:06 of the EL6021 TRUE, half duplex mode enabled). A scope connected to TxD+ and TxD- shows nothing. Code added below. I've added a GVL called 'Variable_Configuration' with the following: VAR_CONFIG     Main.MB.InData AT %IB0 : MB_KL6inData5B;     Main.MB.OutData AT %QB0 : MB_KL6outData5B; END_VAR And then the MAIN: PROGRAM MAIN VAR     bIoSyncMaster AT %I* : BOOL;     MB : ModbusRTUmaster_KL6x5B;     MBLedDriver : ARRAY[1..10] OF WORD;     tmpExecute : BOOL;     bError : BOOL;     bBusy : BOOL;     iErrorId: MODBUS_ERRORS;     iNoDatByteRead: UINT;     count: INT;     freebyte: INT;     TxError: INT;     TxBlocked: BOOL; END_VAR MB(     UnitID:= 41,     Quantity:= 4,     MBAddr:= 16#0020,     cbLength:= SIZEOF(MBLedDriver),     pMemoryAddr:= ADR(MBLedDriver),     Execute:= tmpExecute,     Timeout:= T#5S ,     BUSY=> bBusy,     Error=> bError,     ErrorId=> iErrorId,     cbRead=> iNoDatByteRead);      MB.ReadRegs(); count := MB.MBMaster.com.Buffer.Tx.count; freebyte := MB.MBMaster.com.Buffer.Tx.FreeByte; TxError := MB.MBMaster.com.Buffer.Tx.Error; TxBlocked := MB.MBMaster.com.Buffer.Tx.Blocked; tmpExecute:=FALSE;    
  3. I have a Siemens HMI 6AV2 124-0MC01-0AX0 in my machine. I want to clone the display on the HMI to PC/Laptop. My question is: 1. What software that I need for this task? 2. What kind of interface that I need between the HMI and PC/Laptop (for example ethernet cable, etc)? 3. Do I need to communicate with PLC connected with HMI or can I just connect with the HMI? Thanks in advance for the answer.
  4. Hello I have a wago PLC and i try to communicate to a device through RS485 using the module 750-652. I tried using the WagoAppCom library and came up with this code But i always get errors regarding FB_init block. I though the instance would be automatically matched. I still can't see how to resolve this as Wago library documentation is very poor and contains 0 examples. Has anyone else solved serial comms problems?  
  5. Good day everyone!   I have some question relate with above subject. While i try make protocol for the CJ2M PLC.  i found out "Primary Expression (yN+x)" function but i cannt understand what`s this for. even i tried to find in the reference manual. i can not.  you can find it "Message Editor" -> "Message Variable" -> "Variable" sorry i tried to upload picture many times but it kept showing failed to upload.    hope so i could find the answer. thank you!
  6. Hmi temperature delta

    I have connected 2 temperature devices with him delta with plc delta by rs485. When I run plc I can see the temperature change on pc but the problem in hmi  it's give errors. Com 2 errors  I need someone help me to connect these devices please 
  7. hello expert i want ask some help So i tried to communicate my Omron PLC (cj2m cpu31) with SCADA from Schneider (power logic) on my omron side the comunnication on PLC already take to communication to NB so i add communication module CJ1W-SCU41-v1 I want asking how to open the communication if i want the scada become a master and my plc become slave i got this from omron website is that program compete for my case? i need configuration for scu41 module also to communicate or if you have suggestion i really open i just need to open port RS232c from scu41 so scada can read the data from my plc  tahnkyou for your help MRTU_CPU_Slave.zip
  8. modbus_fb_11.pdfHello to everybody. I'm new I download from Omron France the FB to read form one or more instrument some register by Mod Bus RTU Every things is working well, but some register from the Instrument are on REAL. How i can get a REAL word with the FB on the attachment? Thank you   Modbus_03_Read_Holding_Regs.cxf
  9. Omron rs485 communication

    I am using OMRON CJ2M-CPU15 with SCU41-V1 communication module I want to establish communication (rs485 modbus) between omron and Schneider device for reading out electrical parameters. How I can do this? I could not find any manuals and this is becoming very hard for me. I want simply to read few registers from Schneider. Where do I set unit number, starting register, ending register, number of data? I was recently using Siemens and Unitronix and started working with Omron recenlty. Do you have any examples or manuals for this? Thanks in advance
  10. HI all,   I was trying to connect my compass with PLC via SCU32 RS485 (2 wire ) in protocol macros.[ Unit 1 port2]  My send command is   " 01 03 00 01 00 03 54 0B'  &  Expected reply is '01 03 06 XX XX YY YY ZZ ZZ ZZ ZZ" I created a new protocol using CX protocol and created  a send message & a receive message command  and added to sequence 000. (refer pics) Also added PMCR instrcution in cx programmer (refer pic). I can transmit the data , but i cant see any recieve data in D2000. I am not sure what had done wrong, or am i missing something?   Any help is much appreciated!! compass_macro2.psw Compass_TEST.cxp
  11. Please could you assist with the software required to download data tables from 4 off DIRIS A10 Multifunction Meters into TM221CE40R Logic Controller via TMC2SL1 Comms Cartridge using Modbus Protocol over RS485. I have downloaded the Modbus tables from Socomec but not sure how to get these into the PLC. I would really appreciate your help in achieving this. I am using EcoStruxure Machine Expert - Basic to program the PLC & DAQ Factory Developer Release for my Touchscreen. Link to Socomec Modbus tables: https://www.socomec.com/files/live/sites/systemsite/files/SCP/6_gestion_energie/diris/diris_a10/DIRIS-A-10_COMMUNICATION-TABLE_2018-01_DCG01013_MULTI.html#General
  12. hi all,  I am using SCU32 ( unit1, port2, 2wire and termination OFF)  to get the RS485 data strings from the compass with setting 19200bps, 8 databit, 1 stop bit &  No parity. I can send the TX string ( 01 03 00 01 00 03 54 0B)  from D100 memory and  write the Rx data to D2000 (01 03 06 xx xx yy yy zz zz CC CC). But the whenever the there is no RX data, The TXdata bounce back to RX. (refer to video, d100 is TX, D2000 is RX). I also tried wth SCU32 termination resistance ON. Same thing. I am not sure what is missing. Should i use different logical Port for TX and RX ?    EDITED: Just tried another scenarios  1) removed the connector and tried , D2000 - was written the TX values  2) Disable the RX  changing  LD from P_On to P_Off. D2000 - was written to #0000 0000 0000 0000  I am not sure what is  happening., Open connection also TX data bounce back to RX   Appreciate all help Thanks a lot  video1.mp4
  13. Hello, I have been so many days trying to comunicate the multiway software trought a serial usb converter with the SCU31 device, using a omron function block to read a holding register, but I can't achieved it. Now Im receiving some frames on multiway, but there is always some errors. I was wondering if somebody in here that have worked previously with modbus and omron can be able to help me in how to configure everything corectly to be able to read the value from multiway, on the plc, and where is this value saved.  I'll upload some captures to show what I have done till now.    
  14. RS232 converter to RS485

    Hi dears i have one cp340 (340-1AH02) that is modbus RS232 RTU master and one RS485 RTU slave. i want to use RS232 to RS485 converter is it ok? can i do this without any problem?
  15. RS485 to Scale

    Hi guys, I'm trying to communicate with a scale controller (Rice Lake ACT20-AN) to read gross weight. Scale controller: RS485, ASCII bidirectional protocol, Baud 9600, Address 1, Delay 0, Parity None, Stop 1 PLC: Channel 1, Data Bit 7 (unclear if it should be 7/8), Parity None, Stop 1, Sum check code Exist, 9600bps, Non procedural protocol (should this be bidirectional?), Station number 2 (should this be different than scale?) I am using $Movp "$01t75CR" D6050, Movp K1 D6000, Movp K4 D6002, G.Output U8 D6000 D6050 M7000 which seems to work okay since M7001 does not turn on? I do not get any data, however, when running Movp K1 D6100, Movp k7 D6102, G.Input U8 D6100 D6150 M7100 at the same time as the G.Output instruction. I have attached the PLC program. Also, for wiring I wired the RS485+ to SDB and RDB, then RS485- to SDA and RDA as suggested by the scale controller manual. I then grounded the cable shielding along with SG and both FG connections.   Any help would be appreciated in figuring this out, thank you!  Scale_111219.gxw
  16. Hi,  I have a problem with modbus communication. I set everything as shown in the pictures and I get a error 04. What is wrong ? program.bmp ustawienia.bmp
  17. Janitza UMG96RM RS485 Bus

    Dear All.     i'm a new user for Janitza. and i have issue related to RS485 actually, not to Janitza itself. i have one device (UMG 96RM), where there is only RS485 (2 pin only), no RS232, no USB, No Ethernet port. i'm trying simply to connect the device to the PC, via (USB to RS485) convertor, but i'm not able to do it. for me, this is the first time i'm see (RS485 2 Pins), usually there is Ground signal also. anyway, could you please somebody help how to connect? shall i add a pull up & pull down resistors at the device? and what is the power supply i must use? noting that, i tried many things, but still nothing happened.   Appreciate if somebody can help   Best regards.  
  18. Hi I'm trying to figure out how to use the OP320-A to control the relays on the FX1N-20MR. I have mastered the OP edit tool, but I havn't learnt how to use GX Developer. The FX3U and op320 by 485 setting youtube is a good start. Does anyone have a GX Developer project file available. Is there an OP320 and FX1N or similar that comes together, pre-programmed, ready to use. I know how to write C++ programs to send RS485 commands, but this GX developer looks complicated. many thanks Tim
  19. FX3GA-60MT Modbus RS485 as Slave

    Can Mitsubishi FX3GA-60MT PLC be used as Modbus RS485 Slave? Any sample code or documentation would be very helpful. I am planning to communicate to Weintek HMI (Modbus RS485 master) to FX3GA-60MT PLC (Modbus RS485 Slave). Any other ideas would be nice. Thanks
  20. Hallo, i want to connect Omron PLC CP1E use CP1W-CIF11 to AD4329A with RS485 communication.  my wiring is CP1w-CIF11     AD4329A SDA-                  SDA & RDA SDB-                 SDB & RDB and until now, i cant get data from AD4329A. Do you have any clue for this project?   Thank you Riandanu PLC to 4329A coba.cxp ad4329aex.pdf
  21. Hi Friends, In My new project I have used two Delta PLC'S (DVP-60ES2 and DVP 14SS2) I want to communicate both through RS 485 Communication protocol.We have  tried communication trough manual help.But Master Slave device not communicating.We have checked for any error code in D1130 but it always showning "K0" value.here with I have attached screen shots and complete program for yours kind reference.Kindly help and guide us to communicate.   Master.pdf RS485 master trail 1.dvp Rs485 trail 1 slave.dvp Slave.pdf
  22. Modbus Addressing in Weintek HMI

    Modbus addressing in Weintek HMI to poll data from Temperature sensor through RS485. In my system i have connected Temperature sensor to I/O Scanner has output in terms of RS-485 which directly connected to COM3 Port pin. No. 6 (as Negative) & 9 (as Positive) of HMI (Model No: MT8071iE) and HMI connected to PC via ETHERNET. I want to read temp on HMI screen via MODBUS protocol. So, can you please provide me instruction about addressing of MODBUS register in Easy-Builder Software so can read data of corresponding register. Because when i do compile i got an error like " Device no Response". I hope i will get reply from your side as Fast as possible to overcome this problem. Thank you.
  23. Parity Error

    Any one  have any experience to due with Parity Error when RS485 input can't get? Below is the circuit trace i get. It shown me that Parity Error when input signal from my device. But some of the time I can get the input message completely. Sometime can't. Is there any way to solve it?  
  24. i am new in plc programming . i know the basics difference between the rs232, rs422, rs485. but i am little bit confused in it. so i have the following question regarding these terms. 1.  can these protocols communicate with each other i mean rs232 can communicate with rs422 or rs485 and same. 2. my plc has port rs422  but i can connect it with my laptop serial port which is rs232 ? 3. what are the main important points that kept in mind during communication or cross communications.   any help will be greatly appreciated.
  25. Dematic PTL

    For the Dematic PTL (Push To Light) systems, does anyone have any information on the protocol used.  I'm assuming it's RS-485 based since the buttons use MAX1487 drivers. What I'm looking for is if anyone has a starting place to look at the handshaking or messaging.