rimbi Posted April 16, 2014 Report Posted April 16, 2014 Hello experts, my first task is configured QJ71C24N-R2 and I have problem with them. PLC is Q02CPU must cuminicate with digital scale METTLER TOLEDO IND221 over serial port. I try configured by mitsubishi manual but it does not work. I try download same demo program but it is not work. It is my same srceen what I configured. Other setting in Intelligent Function Module I did not make. I wont use non-procedural protocol. I use ethernet module which is functional. Program I try write from manual but I do not understad and do not work. I wont send data to scale and receive data from scale. Please help. For every aid I will be thankful.
kaare_t Posted April 16, 2014 Report Posted April 16, 2014 You also need to provide some screenshots from your program (preferably the program you've written to talk to the MT weight). The config looks OK (7 Even 1 - correct?).
rimbi Posted April 16, 2014 Author Report Posted April 16, 2014 I have only this about scale it is from scale manual. SICS interface commands The weighing terminal supports the MT-SICS (METTLER TOLEDO Standard Interface Command Set) command set. With SICS commands, it is possible to configure, query and operate the terminal from a PC. SICS commands are divided up into various levels. For further information about the MT-SICS command set, see MT-SICS Manual (Order No. 22 011 459) or contact the METTLER TOLEDO Customer Service. Command Meaning LEVEL 0 @ Reset the scale I0 Inquiry of all available SICS commands I1 Inquiry of SICS level und SICS version I2 Inquiry of scale data I3 Inquiry of scale software version I4 Inquiry of serial number S Send stable weight value SI Send weight value immediately SIR Send weight value immediately and repeatedly Z Zero the scale ZI Zero immediately LEVEL 1 T Tare TAC Clear tare TI Tare immediately Toledo Continuous commands Command Meaning P Print out the current result T Tare the scale Z Zero the display C Clear the current value S Switch the weight unit
kaare_t Posted April 16, 2014 Report Posted April 16, 2014 So you haven't done any programming in the Q yet? By the way: Are you using RS232 or RS485? If using RS232 remember to short-circuit 1-4-6 and 7-8 to enable sending from the C24 module
rimbi Posted April 16, 2014 Author Report Posted April 16, 2014 (edited) I try only program from manual, connect module on PC and send same data, but pc wos connect but not receive. No i haven't program at now only manual. I think that is rs232. Edited April 16, 2014 by rimbi
kaare_t Posted April 16, 2014 Report Posted April 16, 2014 Try the latches/short-circuit (1-4-6 and 7-8) on the RS232 pins
rimbi Posted April 16, 2014 Author Report Posted April 16, 2014 in conectors? its possible test with multimeter when is 1-4-6 and 7-8 pins are linked?
kaare_t Posted April 17, 2014 Report Posted April 17, 2014 Yes you can measure. Simply put the multimeter in "beep mode" and connect to pin 1-4, then 1-6, then 4-6, then 7-8. Should beep between each connection.
rimbi Posted April 19, 2014 Author Report Posted April 19, 2014 ok but at now I haven't cable together. can you tell me what i can do now? maybe in Tuesday I will have cable.
kaare_t Posted April 19, 2014 Report Posted April 19, 2014 If you want to complicate your program you can take a look at controlling the hardware pins on the card, and study if your printer supports HW handshaking... Without the correct cable, you must ensure handshaking is functioning correctly or else nothing will happen, no send and no receive...
rimbi Posted April 22, 2014 Author Report Posted April 22, 2014 ok i measure this cable. pins are not linked. i think that we have not next cable.
Vasa Posted April 29, 2014 Report Posted April 29, 2014 Hey rimbi, I had a similar project a while ago, I was trying to communicate PLC with a PC via serial and the guys here helped me out a lot. You can take a look at the thread below, it might give you some ideas. http://forums.mrplc.com/index.php?showtopic=24746&st=0 - VaSA
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now