stl

MrPLC Member
  • Content count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About stl

  • Rank
    Sparky

Profile Information

  • Country England
  1. Upgrading Mitsubishi Code

    Thank you for posting the tool Gambit
  2. Help with indirect addressing bits

    Gave up with the DMPX instruction and went back to indirect addressing - its not pretty but it works
  3. Help with indirect addressing bits

    Maybe not works ok on the first 16bits only - back to the manual
  4. Help with indirect addressing bits

    Got it i think 1110 !!
  5. Help with indirect addressing bits

    Hi Scott I believe it is an old CPU, It doesnt support FB, and the options for ST or SFC Programs are greyed out. If the DMPX instruction supports 32 words it should easily be enough and Yes all the Message bits are consecutive. My background is Siemens Step7 - so im familar with most languages and FB's etc The program currently has a message bit for each Input state - all conditions including priority are coded into the particular message rung - this is already coded. Currently there are 52 message bits. I need to send a message number to a Robot which will display the Text for dignostic purposes e.g Message 1: Waiting for Sensor XXX On (Clamp 5 Off) I only have a single Byte to play with on the Robot side which is good for 255 messages. Thanks for your help - I'd never seen any Omron gear prior to this week!
  6. Help with indirect addressing bits

    Hi Scott, SYSMAC CS1G CPU 44-V1 Thanks
  7. Help with indirect addressing bits

    Thanks Scott - unfortunately ill definately need to go over 16 bits
  8. Hi, I'm having a problem understanding what i'm doing wrong with some code i wrote, Purpose: W30 contains message bits used in the PLC Program W30.0 = Default Message W30.1 = Message 1 W30.2 = Message 2 etc What i need to do is convert the bits to a message Number - e.g W30.1 is on so W40 = 1 W30.7 is on so W40 = 7 etc I've attached the code i wrote but it appears to do nothing when bits are high I would appreciate it if someone could give me some pointers?? I've also read the Indirect addressing downloads - but i'm still puzzled Thanks
  9. Hi, I'm trying to get an E100 Text panel talking via a E-C24-422-CAB cable to Port 2 (RS422) of a QJ71C24N. E-Designer settings are as follows: Driver: QnA/Q C24 Protocol/Q series 3.07.7 Default Parameters: Baud Rate: 19200 Parity None Databits: 8 StopBits: 1 Default Station is 0 GX Developer Switch settings Port 1: Redlion HMI(Data Connection over Rs232) working fine Switch 1:05C6 Switch 2:0001 Port 2: RS422(Not working) Switch 3:0762 Switch 4:0005 The screen is flashing "Comms Error 0" however i cant find any material to expand on this Error!!! Please can someone put me out of my misery - i have wasted two days so far on this. Thanks as always for any assistance Steve
  10. replace CPU 314 with 317

    You can also copy over the symbol table, Be sure to note any parameters in the CPU properties if they differ from standard i.e Clock byte and Interupt settings etc Does the CPU 314C-2DP have I/O on board, if so you will need to assign them to other addresses.
  11. R Data Register on Q series

    If you have defined variants, then just use the compare instructions to "compare" your barcode string to your known product types, instead of trying to work in ASCII - use the Hexidecimal equivilents to decide what you are running. In a recent application i only needed to compare a few D registers to discriminate between products. Once you have a valid product - move a unique number to a Product D register and use a textlist to display on your HMI.
  12. Programming

    What PLC range are you using? In a Q series, you can use the DATERD instruction, this will move the current PLC time & Date into 7 D registers in the following format: Year Month Day Hour Minute Second Weekday
  13. R Data Register on Q series

    I dont have GX Developer on the PC i'm writing this on, but you could possibly index through the 53 registers and swap them using indirect addressing.
  14. R Data Register on Q series

    for Upper and lower byte exchanges use the SWAP instruction.
  15. Hi Guys, I have a question regarding statements, If you are online in write mode and you add a some text to a rung, after converting, is this text then loaded into the PLC the same as a programming change? Will Gambits method permenantly stop this or do you need to clear it after you have finished adding new statements? Hope this makes sense?