24.11.2014 Views

General Information

General Information

General Information

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.

Sigwatch<br />

Specifications<br />

Packages required: advanced-tools<br />

License required: level1<br />

Home menu level: /tool sigwatch<br />

Standards and Technologies: none<br />

Hardware usage: Not significant<br />

Description<br />

Sigwatch can be used to monitor the state of serial port pins.<br />

Property Description<br />

count (read-only: integer) - how many times the event for this item was triggered. Count is reset on<br />

reboot and on most item configuration changes<br />

log (yes | no; default: no) - whether to add a message in form of name-of-sigwatch-item: signal<br />

changed [to high | to low] to System-Info facility whenever this sigwatch item is triggered<br />

name (name) - name of the sigwatch item<br />

on-condition (on | off | change; default: on) - on what condition to trigger action of this item<br />

• on - trigger when state of pin changes to high<br />

• off - trigger when state of pin changes to low<br />

• change - trigger whenever state of pin changes. If state of pin changes rapidly, there might be<br />

triggered only one action for several state changes<br />

port (name) - serial port name to monitor<br />

script (name) - script to execute when this item is trigered<br />

signal (dtr | rts | cts | dcd | ri | dsr; default: rts) - name of signal of number of pin (for standard<br />

9-pin connector) to monitor<br />

• dtr - Data Terminal Ready (pin #4)<br />

• rts - Request To Send (pin #7)<br />

• cts - Clear To Send (pin #8)<br />

• dcd - Data Carrier Detect (pin #1)<br />

• ri - Ring Indicator (pin #9)<br />

• dsr - Data Set Ready (pin #6)<br />

state (read-only: text) - last remembered state of monitored signal<br />

Notes<br />

You can type actual script source instead of the script name from /system script list.<br />

Example<br />

Page 541 of 568<br />

Copyright 1999-2005, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.<br />

Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

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

Saved successfully!

Ooh no, something went wrong!