lavinh

MrPLC Member
  • Content count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About lavinh

  • Rank
    Sparky

Contact Methods

  • ICQ 0
  1. Thanks, Ken The reason we have to use Modbus/TCP instead of Ethernet IP because these 2 PLCs are at 2 different companies exchanging information. If using Ethernet IP, there is a risk of the programming ability at the other end. Cheers
  2. Ken, Thanks for your prompt response to my questions. I have another question that I want to clarify since I don't have these modules at hand for testing yet. Assuming I only want to read information between these 2 modules (i.e SLC500 MVI46-MNET  reads data from CLogix via MVI56E-MNET and vice versa). In the Controllogix PLC, data will be copied to the MNET.DATA.WriteData (I assume these data will be mapped to the MVI56E-MNET Database by the Add-On Instruction). From MVI46-MNET, a Command List will be issued with Function Code 3 to read these data (I use Function Code 3 because I found that Modbus addresses in these modules for the database are at 40001-45000). The same will apply for CLogix MVI56E-MNET to reads data from SLC500 via MVI46-MNET. Could you please verify what I think is correct, if not please enlighten me.   Many thanks Lavinh
  3. I have to set up a communication (read & write) between a Controllogix MVI56E-MNET module and a SLC MVI46-MNET module. Since in the Command List, we have to specify the Slave Node address, I don't know how to setup the Modbus node address for these modules. It would be OK if we try to talk to other Modbus devices with these MNET modules, but how do we do when we try to talk between them. Anyone have this experience, please help. Lavinh
  4. You can use a GSM modem, buy a SIM card with data number ( the SIM card you use in your mobile phone only have voice number) for the GSM modem. Then you have to configure the modem with a few AT commands required. Connecting it to the serial port of the PLC. Do some PLC programming to send messages to your mobile phone in a particular conditions. With this setup, you can even go online with your PLC remotely via a landline. I never attempted to send commands to the PLC from the phone so I can not advise you on this, but I think when the machine sends you the fault message, it can also send you all other information that you need. Even if you want more info then you can get online from a laptop/PC to look into the processor. I hope it will help. If this is what you want to do and you want more help to set up a system then I am ready to give you a hand. Good luck
  5. Can you use a mobile phone there? What i mean is if there is mobile phone network around then you can use a GSM modem to send SMS to your phone.
  6. You need to create a DDE Topic in RSLink (ex. topic name is testsol) and then you can read and write to the PLC by reading the following: 1) Visual Basic examples: read a word The following program reads the present value of N7:0 into a text box (txtCold) once the Read button (Command1) is pressed. Sub Command1_Click () 'Read word from N7:0 txtCold.LinkTopic = "RSLinx|testsol" 'Assign application|topic to DDE text box txtCold.LinkItem = "N7:0" Assign link item to DDE text box txtCold.LinkMode = 2 'Set up link as manual; open up link txtCold.LinkRequest 'Request data RSLinx txtCold.LinkMode = 0 'Close DDE link End Sub 2) Visual Basic examples: write a word The following program writes a user inputted number to N7:0 when the Write button (Command1) is clicked, and reads the value stored in N7:0 to verify that the number was actually sent. The inputted number is stored in the text property of the text box named txtWrite_val. The returned value is stored in the text property of the text box named txtRead_val. Sub Command1_Click () 'Write value to N7:0 txtWrite_val.LinkTopic = "RSLinx|testsol" 'Define DDE application & topic txtWrite_val.LinkItem = "N7:0" 'Define DDE item txtWrite_val.LinkMode = 2 'Open DDE link (manual) txtWrite_val.LinkPoke 'Poke Data to RSLinx txtWrite_val.LinkMode = 0 'Close DDE link 'Read value from N7:0 txtRead_val.LinkTopic = "RSLinx|testsol" 'Define DDE application & topic txtRead_val.LinkItem = "N7:0" 'Define DDE item txtRead_val.LinkMode = 2 'Open DDE link (manual) txtRead_val.LinkRequest 'Request data from RSLinx txtRead_val.LinkMode = 0 'Close DDE link End If End Sub Good luck
  7. barcode scanner help needed

    Hi there, In order to make the scanner works, first you have to send a trigger signal to the scanner (to tell it to scan the barcode label). After the scanner has scanned the label, it will send back the label information back to the PLC. So, you have to find out from the scanner manual what ASCII need to send to the scanner to trigger it. After you find out all information you need, I suggest you should do a test with the scanner using hyperterminal before doing it using the PLC. The reason is if you are sucessful with the hyperperminal then you know that the commands you send to the scanner are correct. Then apply the same to the PLC (now you only have to worry about the communication. This is what I use to do with any serial devices attached to the PLC). I used the Microscan scanners before with AB PLCs, so if you do not understand or having problems, just ask. Good luck Lavinh
  8. Remote Access to SLC-5/05

    If i understand you correctly, you want to have dial-in access to the SLC controller (i.e to get online with the PLC remotely). If it is the case, you can use a modem to do the job. Rockwell has a pre-configured modem (9300-RADKIT) which can be used easily. I used one before and it was very good. Check it at http://support.rockwellautomation.com/mode...dmodem_main.asp Good luck
  9. I currently have to set up a system to be able to dial in (getting on line) to a Micrologix 1500 from a laptop via a GSM Modem which is attached to the micrologix. Is there anyone out there who can help. Very much appriciated.
  10. Hi Allan, how do you set up the password via Hyper Terminal? i think when the paging modem try to make a connection to Telstra, it has to send the password every time. Have you ever worked with this paging modem before? Thanks
  11. Hi everyone, I have been testing on a Rockwell 9300-RAPM1/B Paging Modem which has 2 functions: 1) Dial in and 2) Paging to Mobile phone (SMS messages). There is no problem in the dial in to a PLC processor but I have problem in the paging a mobile phone. I live in Australia and the TAP number from Telstra is 018018767 with modem setting of 7e1. Using these information for the configuration, what I get so far is: When I trigger a alarm page from the PLC, the modem start to dial with the sound from the other modem alright but that is all, no messages going through. With Telstra, password required is 'mnmail', but in the configuration software there is no nowhere to place it. Anyone who have succesfully configured a paging modem in Australia, please help, I am very much appreciated. Thanks in advance.