You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old June 11th, 2019, 08:40 AM   #1
mathias39
Member
France

mathias39 is offline
 
Join Date: Jun 2019
Location: jura
Posts: 5
M340 Communication / Domino Printer

Hello everyone,
I am currently working on the communication between a Schneider M340 PLC and 2 Domino M230i printers. I wish I could retrieve the status of printers (printing in progress, defects etc ..).
I would like to know if people have some ideas to propose to me.
Thank you
  Reply With Quote
Old June 11th, 2019, 09:42 AM   #2
tragically1969
Member
United Kingdom

tragically1969 is offline
 
Join Date: Jun 2007
Location: uk
Posts: 1,370
Quote:
Originally Posted by mathias39 View Post
Hello everyone,
I am currently working on the communication between a Schneider M340 PLC and 2 Domino M230i printers. I wish I could retrieve the status of printers (printing in progress, defects etc ..).
I would like to know if people have some ideas to propose to me.
Thank you
What communication protocol does the printer support ?
  Reply With Quote
Old June 12th, 2019, 01:14 AM   #3
mathias39
Member
France

mathias39 is offline
 
Join Date: Jun 2019
Location: jura
Posts: 5
I communicate in Ethernet / IP but unfortunately I can not find an Ethernet manual for the printer in question
  Reply With Quote
Old June 12th, 2019, 06:14 AM   #4
mathias39
Member
France

mathias39 is offline
 
Join Date: Jun 2019
Location: jura
Posts: 5
Here is the screen that the provider gave me. How is it possible to do that with my M340 on unity pro?
Attached Images
File Type: png image001.png (194.3 KB, 31 views)
  Reply With Quote
Old June 12th, 2019, 06:55 PM   #5
Jeev
Member
Australia

Jeev is offline
 
Jeev's Avatar
 
Join Date: May 2008
Location: Brisbane
Posts: 496
The printers do ASCII over ethernet. I'm not familiar with the M340, but I use socket comms with AB PLC's to send and receive messages from the printers. Create Socket, Open Socket, Send String, Receive String & Close Socket. Closing the socket each time is optional, but make sure you are keeping an eye on what's happening with how many sockets you have instantiated at once.

Code:
#000??]
Sending this command as an ASCII string to the printer is a status request. The printer will send you a reply that is the status or fault. The document I have attached is a reference for Command41, but it has a table for the status or fault replies in it (Pages 13, 14, 15 & 17).
Attached Files
File Type: pdf Command 41 -Mectec Variable Cmd41.pdf (203.2 KB, 3 views)
  Reply With Quote
Old June 13th, 2019, 01:47 AM   #6
mathias39
Member
France

mathias39 is offline
 
Join Date: Jun 2019
Location: jura
Posts: 5
Thanks a lot for all these informations. You do not know how I can do this on Unity Pro?
  Reply With Quote
Old June 13th, 2019, 02:12 AM   #7
Jeev
Member
Australia

Jeev is offline
 
Jeev's Avatar
 
Join Date: May 2008
Location: Brisbane
Posts: 496
I haven't used the Schneider stuff, but this info looks relevant.



https://download.schneider-electric....33002551K01000
  Reply With Quote
Old June 13th, 2019, 02:29 AM   #8
mathias39
Member
France

mathias39 is offline
 
Join Date: Jun 2019
Location: jura
Posts: 5
Ok thanks
  Reply With Quote
Old June 18th, 2019, 05:44 AM   #9
chud
Member
South Africa

chud is offline
 
chud's Avatar
 
Join Date: Oct 2007
Location: KALAHARI
Posts: 912
You are going to have to use read and write var function blocks.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Serial Communication Cable with Schneider M340 PLC TahirQ LIVE PLC Questions And Answers 1 November 7th, 2013 09:06 PM
vijeo citect and M340 communication Problem sandipdash LIVE PLC Questions And Answers 0 October 18th, 2013 07:05 AM
Micrologix communication with BX printer using RS 232 port mona LIVE PLC Questions And Answers 0 December 14th, 2010 01:02 AM
Communication between PLC and a Printer Dr4k3 LIVE PLC Questions And Answers 7 August 14th, 2010 06:31 AM


All times are GMT -5. The time now is 02:11 PM.


.