12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc function ref - 34.35<br />

MSG - MeSsaGe<br />

A<br />

MSG<br />

SEND/RECEIVE MESSAGE<br />

<strong>Control</strong> Block MG9:0<br />

Description:<br />

This is a multipurpose instruction that deals with communications in general.<br />

The instruction is controlled by the contents of the control block,<br />

which is normally set up using the programming software. The<br />

instruction can send <strong>and</strong> receive data across most interfaces including<br />

DH, DH+, Ethernet, RS-232, RS-422 <strong>and</strong> RS-485. The message<br />

blocks ’MG’ are preferred for storing the configuration, but integer<br />

memory may also be used. The messages are segments of PLC memory.<br />

These can be read from, or written to a remote destination.<br />

Status Bits:<br />

EN<br />

ST<br />

DN<br />

ER<br />

CO<br />

EW<br />

NR<br />

TO<br />

enable - indicates when the instruction is active<br />

start -<br />

done - indicates when the instruction is complete<br />

error - an error occurred<br />

continuous - when set the instruction doesn’t need a true input<br />

enabled waiting -<br />

no response - the remote destination was not detected<br />

time out - the remote destination did not respond in time<br />

Registers: many refer to manuals<br />

Available on: Micrologix, PLC-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!