Search the Community

Showing results for tags 'twincat. beckhoff. seriall. rs232'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 119 results

  1. I have a Micrologix 1400 and one PC which sends 102 Characters in RS-232. I need to read all characters with Micrologix 1400, Is there any way to read all characters? I know the limit of ARL and ARD instruction is 82 characters. I do not know if two ARD instructions could read all characters. Do you have any experienced like that? Could you help me? Thank you in advance
  2. My goal is: HMI development in Win 64-bit while supporting old HMI and TwinCat 2.11 PLC in Win-32 bit. Current PC setup: -              Windows 7 64-bit for developing HMI in Visual Studio; -              TwinCat 2 for x64 Engineering installed; -              VMware Workstation installed on same PC; -              XP mode VM imported to Workstation; -             32-bit Twincat 2.11 is installed and running in XP mode VM.
  3. Hello everybody, I'm new to Beckhoff and I couldn't find the solution yet, I hope someone can enlight me. I need to integrate two distinct and already functional systems: one is working with a Raspberry connected to other devices; the other one is a Bechoff unit getting sensors data. Now I need to get these data captured by the Beckhoff and send them to the Raspberry. Does someone know if I can access these sensors data in a Beckhoffs unit (it's a CX9020, but we can use a EK1100 as well...) by the Raspberry without using any other intermediate device (just the board and the unit)? Thank you!
  4. Hello all, I'm new to Beckhoff and running a PLC with EtherCAT I/O slaves. If one of the slaves is disconnected from the network (power loss or network cable broken) the whole PLC freezes, is there a way of configuring ethercat such that it remains (partially) operational, thus showing me the I/O on the unaffected stations.
  5. I am using a Beckhoff windows based controller, with  TwinCAT modular I/O (EL series). I have several problems: 1) Our HMI frequently loses comm. with the PLC. Beckhoff seems to use their own special networking. 2) The PLC ladder language supported is very rudimentary. For example, I had to create my own function block just to do simple analog scaling. 3) Their documentation is pretty bad -- Web based and very hard to find specific information. I would like to replace the Beckhioff controller with a more standard industrial PLC (like Automation Direct Productivity -- I like the programming language and ease of use.) My question is -- how can I use the existing Twincat I/O with AD, for example Modbus TCP. Is there some sort of gateway available for this purpose?
  6. Hello, I am new to the Beckhoff PLC systems and PROFINET. For one of the applications I am trying to connect ETHERCAT module to the PROFINET Controller which is in turm connected to IO modules. I am using the following modules: ETHERCAT coupler EK1100,EL6631 (Controller), EL6631(Device) --> EL6631(Controller)*,EL1008 (Input module) The connection between EL6631(Device) --> EL6631(Controller)* is via Ethernet cable. I am not able to configure the connection in the above mentioned fashion. Please let me know if this is a valid configuration? Is there any simpler way to achive this. And I am using the TwinCAT3 software on my PC.   Thanksk in advance :)
  7. thesis project

    Hello, For my thesis i'm using a beckhoff cx9020,a sunnyboy and a sunnyisland with rs485 communication protocol sma net. One of the things I need to do is to log everything from the sunny devices realtime. and here is where my problem starts. I am using rs485 to communicate with the devices via plc but I don't find any documention for what i need to request or send to get usefull data. does anyone here have an idea? Yours truly Jonas Vanhulle
  8. Hi, there, I'm totally new to OMRON PLC, right now I'm using CP1H PLC have two CP1W-CIF01 on it 1st CP1W-CIF01 set as 115200, 7,2,E, Host Link, station 0 connected to Pro-Face HMI 2nd CP1W-CIF01 also set as 115200, 7,2,E, Host Link, station 1, I want to use this COM to talk to my PC that I can run vb.net program to monitor the bit and set the bit value. can you guild me how to start this project? thank you very much! Chen
  9. Sending Ascii from PLC

    I have an omron cp1le plc and a sato s84ex printer I need to learn how to send print jobs to it. I know I can use the Serial card option and send the code to the printer over RS232. I am using the NiceLabel software and printing to file which extracts the SBL code. That is where I am stuck. What part of the code do I use and where do I put it in the CX-Programmer. And what instructions should I be learning to send Ascii to the printer. I am very new at all this and just want a few hinters and direction. Thanks.
  10. I am converting a PLC-5-40 processor that also has a SST side car for Profibus Dp communication to BK3100 modules on the equipment. To a Control Logix L-72 processsor using a Molex SST-PB3-CLX card to the Profibus modules. Everything went some what smooth until I got to the SSI transducers in the Profibus. The word arrangement is not coming in the same as with the PLC-5. Is there anybody else that has run into this problem and is there a solution. I have contacted Molex, Balluff and Beckhoff the first 2 got back to me I am still waiting on Beckhoff.
  11. Hello Everyone, I want to have a serial communication using Siemens S7-1200 with CM 1241 (RS-232) and communicate with my Arduino. Here is the setup of the communication. I have 2 temperature sensor and one Led connected to my Arduino, and on the PLC side I have S7-1200 from Siemens and CM-1241. Arduino and my PLC are connected just by using Tx and Rx pin no handshake is done. I am sending the temperature data from both the sensor to the PLC. on the PLC side i decide when to turn on the Led connected to my arduino depending on the different temperature values. I have assigning a ID to both the sensors before sending out the data. This is how the transmitted data from Arduino looks like $AOPT_TEMP1_20_TEMP2_21 . So far its good, I am receiving serial data on my PLC using RCV_PTP (received data are placed on the buffer) and sending data using SEND_PTP. I have also implement a filter on the PLC which will only accepts the serial data starting with '$AOPT_'. Now, I want to receive the temperature value from two temperature sensor TEMP1 & TEMP2 and then control the Led. For instance if (TEMP1>TEMP2 ) then turn ON the Led else turn OFF. I am able to receive the data on the PLC from Arduino but now I don't know how to proceed with comparing the received information. How do i extract the only required data from the received buffer? Any suggestions will be highly appreciated. Thanks in advance....
  12. Hi I just given a swanky new laptop at work, which is lovely and everything, but does not have an ethernet port. Unfazed by this, I just got hold of a USB to LAN adapter and got to work. My primary development environment is Beckhoff TwinCAT, and was rather gutted to find there are no real-time ethernet devices on the machine(attached image for reference). I was wondering if there was any adapter that I could use for real-time ethernet device. I am aware of latency issues and this would only be used to test communication and make sure everything talk to each other. Cheers
  13. Hi, We have Beckhoff CPU module CX1020-0113 and two Beckhoff AC servo drives conneted using EL7201 card. I want to run both of the motors simultaneously using TwinCAT 2 PLC Control. Since I want to control the position, so I am using MC_AbsolutePosition function block. The sinusoidal trajectory can be taken as 60*SIN(w*t) /*here t is time. w is angular frequency which is constant*/Below is the snippet from PLC program - Please see below image for System Manager Info - Can somebody tell me how to provide sinusoidal trajectory as position? Please note that both the motors must run simultaneously. - Thanks Ravi
  14. Hi, I am calculating velocity and acceleration from position inside TwinCAT PLC Control V2. All these equations have only one variable which is time. Below is the PLC code- (* We are using the external set point generator functionality *)NewPosition := theta_max*COS(omega*t); (* t is time in second *)NewVelocity := -theta_max*omega*SIN(omega*t);NewAcceleration := -omega*omega*theta_max*COS(omega*t);IF NewVelocity=0 AND NewAcceleration=0 THEN NewDirection := 0; (* stand still *)ELSIF NewVelocity >= 0 THEN NewDirection := 1; (* positive motion *)ELSE NewDirection := -1; (* negative motion *)END_IFt:=t+0.01; (* The task is called at every 10 ms = 0.01sec *)(* feed the dynamic data into the external setpoint generator interface of axis *)MC_ExtSetPointGenFeed( Position := NewPosition, Velocity := NewVelocity, Acceleration := NewAcceleration, Direction := NewDirection, Axis := Joint_2);-------------------------------------------------------------(* Below parameters are defined in Global Variables file *)VAR_GLOBAL CONSTANT theta_max: INT := 60; (* in degree *) omega: REAL := 0.62; (* 2PI/Time Period=10sec *)END_VARThe MATLAB simulation of the above equations gives me following results- But this does not work in real Beckhoff motor. Please suggest.
  15. Beckhoff CX1000 PLC question

    I have a machine with a CX1001-0121 controller in it. I don't have the sourcecode for it. I am able to connect and see and force the outputs. Is there a way to extract the PLC program? Even if it's only contact and coils that would be something.
  16. Connect OMRON CJ1H to GSM modem

    Hello guys, actually I am new to this Omron PLC. but i have small project to transmit a command to the GSM modem via the RS232 port so it can trigger the modem to send text msg. Can you show me the steps/guide/sample program to accomplish this program coding? I already read some topic in this forum regarding to this PLC RS232 port but still cant get the ideas when to create the ladder program. PLC Type : CJ1H (CPU65H) - RS232 port First input to trigger the GSM send text msg: AT+CMGS="+YOUR HP NUMBER" Second input to trigger GSM send text msg: YOUR TEXT MSG CONTAINS (Ctrl+z to send) Many Thanks, AlexB
  17. I have the following situation; I have a distribution network connecting about 400 RTUs, using 101 protocol to connect to their PDH MUX, which data slot is transported using SDH STM-1/4, to the Primary Substations. Then the primary substations connect to the LDC building using STM-16. At the Control Centre Building where the Front End is located, there is a STM-16 node with some PDH ports, but definetly not 400, so how can I extract this 101 asyncronous data channels to connect them to the SCADA Front End? Note that conversion to 104 is not allowed by the client. Thanks in advance!
  18. Hi, I have a problem with my BC9020 and hope that someone can help me. I managed to set the IP adress of my PLC in the 10.2.5... add a root, run a program and make the PLC working for a while. I then tried another program, a new one... and now that I want to re-read the first program, Twincat System Manager doesn't allow me to enter in the "run mode" and stays in "config mode". It also has lost the IP address I set (10.2.5.....) and came back to the 172.16.22... (manufacturer settings) I cannot determine if the problem is in the PLC Control or In System Manager... This is my method to change the IP *** IP config *** 1) Reset the PLC First I place the end terminal next to the PLC. I set the DIP switches 1,6,7 to ON, power on the PLC and power off. I set the DIP switches 2,6,7 to ON, power on the PLC and power off. I set the DIP switches 1,2,6,7 to ON, power on the PLC and power off. 2) Set my PLC on the same AMS than my own IP (172.16.22...1.1) 3) In System Manager, add a new route 4) change the setting in I/O Configuration -> I/O Device -> Device 2(BX9000) -> clic on BX9000 define "set IP Address" to Manual define " IP Address" to 10.2.5...., the AMS change automatically. Press the configuration button and then Ctrl+F4 (run mode) This method worked but seems not to be the best... If you have any Ideas ? or questions? Thank you in advance Gregi
  19. Hello, Im trying to configure a CANOpen master klemme (EL6751) to communicate with a device (Jetter JXM-IO-E09-G07-K00) in the System Manager, I have several problems, and the communication doesn't work, I explain what i did step by step. First of all the JXM works perfectly with a jetter controller, and i have traced the messages, therefore i could understand that the controller in this case sends constantly RTR request for each object and the JXM replies without any problem. I also tested some SDO commands, and seemed to work This time i need to work with a CX8090 Controller attached to a EL6751, that's why I need to configure this now. - After scanning the devices connected, and having the EL6751 recognized, i attempted to add the CanOpen slave also scanning. The process cannot find any CanOpen Device online. - I add the CanOpen device with "Append Box" and I use the EDS file provided by the supplier and the result is not good. Some SDO read/write failed. So i decide to add the device manually. - I use again the "append Box" option, and configure manually the ID, every TXPDO and RXPDO and Parameters NOTE: My CANopen device send constantly a heartbeat and the values only under request => Trans. Type for every PDO: 253. For this I set manually the inhibit and event times. - I uncheck "Automatic adjust PDO COB Ids" and "Automatic PDO Parameter Download". Also, under advanced configuration i disable the object 0x1000 and 0x1006, since the reply never matched to expected values. After doing all this configurations, and activate them, my CanOpen bus stops responding. the LED Code is - Run Led: blink 2 hz - Err led: ON - The system manager is showing much more errors which i show attached in a file. I also include the sys manager file and the EDS file from the supplier Any hint would be of great help JXM-IO-E09_HCN_V0_4.eds.txt Test02.2.b.tsm.zip