• Support
  • Articles
  • Resources
  • Products

com port startup command

Moderator: boris

3 postsPage 1 of 1

mrc333777
Newbie

Posts:
5
Joined: Mon Sep 03, 2012 2:27 pm
by mrc333777 » Mon Sep 03, 2012 2:31 pm
is there a way to make TT do a 1 time startup command or initialization command through com1

for example when i first load TT it will automatically do an ATZ to reset the modem
Trevor
Guru

Posts:
480
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Mon Sep 03, 2012 5:09 pm
Start Tera Term with a macro file to run specified: /M=<macro file>. In the macro put the following:

Code: Select all

  1. timeout = 2
  2. sendln "ATZ"
  3. waitln "OK"
  4.  


So if the macro was called reset_modem.ttl and lived in c:\macros you'd put this in the shortcut settings when starting Tera Term.

/M=c:\macros\reset_modem.ttl

Regards
Trevor
mrc333777
Newbie

Posts:
5
Joined: Mon Sep 03, 2012 2:27 pm
by mrc333777 » Mon Sep 03, 2012 5:23 pm
thank you, works like a charm

Trevor wrote:Start Tera Term with a macro file to run specified: /M=<macro file>. In the macro put the following:

Code: Select all

  1. timeout = 2
  2. sendln "ATZ"
  3. waitln "OK"
  4.  


So if the macro was called reset_modem.ttl and lived in c:\macros you'd put this in the shortcut settings when starting Tera Term.

/M=c:\macros\reset_modem.ttl

Regards
Trevor
Display posts from previous:
Sort by:

3 postsPage 1 of 1

Users browsing this forum: No registered users
cron