12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

586 ASCII Serial Port <strong>Instructions</strong> (ABL, ACB, ACL, AHL, ARD, ARL, AWA, AWT)Example:When get_control_line_status becomes set, obtain the status of thecontrol lines of the serial port and store the status in the ChannelStatus operand. To view the status of a specific control line, monitorthe SerialPortControl tag and expand the POS member.Relay Ladderget_control_line_statusAHLASCII Handshake LinesChannel 0AND Mask 0OR Mask 0SerialPort Controlserial_portChannel Status(Decimal) 29ENDNERStructured Textosri_1.InputBit := get_control_line_status;OSRI(osri_1);IF (osri_1.OutputBit) THENEND_IF;AHL(0,0,0,serial_port);Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!