Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ashish

Pages: 1 [2]
16
Technical support / 485 communication
« on: October 01, 2006, 10:54:13 AM »
we have a requirement to compare the codes from 2 different bar code scanners and generate digital high or low outputs according to code comparison.
both the bar code scanners are of RS 232 output type.
we tried to use T100MD 88 plc for this application.
one bar code scanner connected to rs232 port (port1) and another to rs485 port(port3) through 232 to 485 converter.
but we are not getting able to get the bar code data on port3.
for trials, we connect the bar code scaner to port3 ie rs485 port through 232 to 485 converter (2 wire auto type) and we tried to monitor the input contents by connecting trilogy software through port1.
but we did not get the data in register.
is it possible to use rs485 port to read the data from external device such as bar code scanner ?
data is in ascii format and boud rate, protocol settings were made as per required for system.

this is very urgent since we are on site for this work.

17
Technical support / pc kbd interface
« on: June 12, 2006, 06:22:48 AM »
i have T100MD PLC with me.
i need to interface / connect a PC keyboard with this PLC for data input from operator.
how it could be done. any tips ?

18
Technical support / Re:485 communication
« on: May 08, 2006, 05:46:49 AM »
thanks for your long term reply and support.

the problem has been sorted out.

we was trying out this activity in simulation with pc brfore connecting to cnc.

activity was to send the data through on 232 port and then check the contents of dm array through on line monitoring window.

both the activities were done through same serial port.
hence the garbage data we was seeing was the instructions which plc is receiving from triology software after making the online monitoring window ON.

monitoring port and data port was same one.

19
Technical support / Re:485 communication
« on: May 04, 2006, 09:48:52 PM »
1) plc boud rate is same as that of pc.

2) i cleared the DM completely (till -1) and then tried to
    receive the data

3) dip s/w is in off position.

 system is giving data with input command if i send data with CR. but facing this difficulty with incomm command only.

20
Technical support / Re:485 communication
« on: May 04, 2006, 06:09:22 AM »
thanks.
i did it according to instruction.
i read the input buffer till i get -1.
even, after restarting, when i scan input buffer with incomm i found some data in dm array.

second most important thing is that, whatever data i send through external device (pc) serially, i do not found that data but lot of characters which do not have any significance with data sent.
e.g. i sent '92' from my pc.
when i scan input buffer using incomm i found following data in dm array :
48,88,62,2A,58,22,10,16...... there were 74 such numbers / characters in array. but nothing was there which shows atleast some relation with 92.

 for serial communication with pc, protocol was set  
 (by 'setprotocol' command) to NONE (10)

21
Technical support / Re:485 communication
« on: May 03, 2006, 09:39:39 PM »
thanks.
i tried with incomm function, but i am receiving lot of garbage data values which i am not getting able to decode.

(I AM DOING THIS COMMUNICATION THROUGH COMM1)

e.g.
1) i set up the program and i send a string "27" from my pc serial port.
i was expecting to receive these values in DM array but i receive some different numbers and values in DM array. it was not containing 27 or it's equivalent any way.

2) i switch off the plc and switch on again.
    after this action, i execute the function again without sending data from PC. still i got some data im DM array (actually nothing should be there since plc was power reset.)

3) how to clear the receive buffer of plc ? since no of time i execute the 'incomm' i get the data in DM array i am not sure that if plc input buffer is getting clear even after power reset

22
Technical support / Re:485 communication
« on: May 02, 2006, 08:42:42 PM »

i have got T100MD88+ plc.
i am using it for receiving data from my CNC.
i send a request string from plc to CNC and in response CNC sends the data.
as mentioned in help, to read the received data from rs232 input buffer of plc i tried to used 'input#' command.
but my CNC do not send carrige return, at the end of string. hence this command does not work.
then i tried with 'incomm' command but it also does not work and do not read the data.

i tried communication of this plc with my pc with carrige return at end of string. it worked fine.
hence, if i do not have carriage return character at the end of string i receive, hoe to read this data from receive buffer?
this is very urgent. i am online waiting for reply.

23
Technical support / Re:485 communication
« on: April 15, 2006, 11:47:25 PM »
i have a CNC controller with rs 232 port.
this controller sends data out on request.
my operational sequence is as follows :

1) send a requst string from PLC to CNC on 232.
     request string is in Hex format and string length is of  
    8 bytes. Ascii equivalent of hex should be sent
2) In responce to this string, CNC controller will reply and  
    send data of 70 bytes. Data is in BCD format.
3) PLC should read the data and pick the words from
    particular location in string i.e. seperate the string.
4)Set the digital I/O according to string value.
5) Generate next request. (repeat from step 1)

Communication boud rate is 9600 (or 38400 optional)

Is it possible to do this communication with H series PLC ?

i.e.  built a string, send on serial port, receive a string through same port, seperate and use for further process.
Also, whether transmit and  receive buffers are different? or same memory is allocated for both transmit and receive buffer ?


24
Technical support / Re:485 communication
« on: April 09, 2006, 07:33:53 PM »
thanks.
is it possible with T100MX+ also?

25
Technical support / 485 communication
« on: April 07, 2006, 04:11:05 AM »
i have a E10+ PLC.
i have a temperature controller which is having rs 232 port and sends temperature data out on this port.
i want to read  data from my temp. controller on RS 232 port of PLC (data length 52 bytes) and forward it through rs 485 port of PLC.
also i want to compare the temparature value with set value.
if 'ok' then one output should high (which is connected with green indicator) and if NotOk then another o/p should be high (which is connected with red indicator).
it needs only 2 outputs, 1 rs 232 port and 1 485 port.
how it could be done with E10+ PLC ? ( to read the data string on 232 port and out it in free dump mode to rs 485 port of plc.)

Pages: 1 [2]