AMX AXC-232++ instruction manual Xmodem Timing Commands, AXlink Master Statements

Page 18

Programming

Xmodem Timing Commands

The following table lists the AXC-232++ Xmodem timing commands. Xmodem timeouts exist to accommodate potential Ethernet delays and for consistency among and within products. Any Xmodem timing command will change timing and retries for Axcess code download as well as SOFTROM transfer.

Xmodem Timing Commands

Command

Description

 

 

'TIMEOUT XX'

Xmodem timeouts via the Program Port. (Default is 10 sec.)

 

 

SEND_COMMAND

Over AXlink, where XX is from one to 50 seconds in 1-second increments.

SERIAL, 'XMTO XX'

 

 

 

'RETRY XX'

Xmodem retries via the Program Port. (Default is 5.)

 

 

SEND_COMMAND

Over AXlink where XX is from one to 10 in increments of one.

SERIAL, 'XMRT XX'

 

 

 

AXlink Master Statements

The following table lists the AXlink Master statements for the AXC-232++.

AXlink Master Statements

Statement

Function

 

 

MIN_TO

Activates a channel or variable for a minimum amount of time-even if the corre-

 

sponding device-channel is released. The time duration is determined by

 

SET_PULSE_TIME.

 

 

ON[AXC_232,

Executes PUSH[0,channel] within AXC-232++.

channel]

 

 

 

OFF[AXC_232,

Executes RELEASE[0,channel] within AXC-232++.

channel]

 

 

 

PULSE

Turns on a channel or variable for a certain amount of time. Once the time

 

elapses, the channel or variable is turned off. The Pulse time remains the same

 

value until it is changed within the program.

 

Example:

 

SET_PULSE_TIME(12)

 

Sets the current duration of future Pulses to 1.2 seconds.

 

 

SEND_COMMAND

AXC-232++ interprets command.

AXC_232,command

 

 

 

SEND_LEVEL

Places the variable into the CREATE_LEVEL variable, if it were defined in the

AXC_232,level,

AXC-232++ DEFINE_START section.

variable

 

 

 

SEND_STRING

Places the string into the CREATE_BUFFER buffer, if you defined the buffer in

AXC_232,string

the AXC-232++ DEFINE_START section. If it were not, this command trans-

 

mits the string out the RS-232 port.

 

 

TO

Activates a channel or variable for as long as the corresponding

 

device-channel of its Push statement is activated. When the device-channel

 

referenced by the Push statement changes from off to on, the TO starts activat-

 

ing the device-channel or variable in the brackets following it. When the

 

device-channel of its Push is released, the TO statement stops activating its

 

device-channel or variable. For this reason, TO must be found only underneath

 

a Push statement.

 

 

 

14

AXC-232++ RS-232/422/485 Interface Card

 

 

 

Image 18
Contents AXC-232++ Page Table of Contents AXC-232++ RS-232/422/485 Interface Card Specifications SpecificationsIntroduction Baud rates 300, 600, 1200 , 4800, 9600, 19200 Setting jumper JP1 to terminate RS-422 input with 100 ohms Installation and WiringSetting the Internal Jumpers Setting jumper JP2 to set the RS-422 port for RS-485 useSetting the RS-232/422 DIP Switch RS-232/422 DIP Switch SettingsUsing RS-232 Wiring Devices to the AXC-232++Preparing captive wires Card Edge PinoutsUsing Hardware Handshaking Using RS-422Using RS-485 Installing the AXC-232++ in a CardFrameLithium battery and socket Replacing the Lithium BatteriesInstallation and Wiring SendCommands AXC-232++ SendCommandsProgramming Sendcommand AXC232,CTSPSHF Sendcommand AXC232,CHARD-10Sendcommand AXC232,CTSPSH Sendcommand AXC232,EOFFAxcess program characteristics SendString Escape Sequences SendString Escape SequencesAXC-232++ statements AXC-232++ Program StatementsAXlink Master Statements Xmodem Timing CommandsXmodem Timing Commands AXlink Master StatementsAxcess Master Mode Reserved ChannelsReserved Channels RevisionLast9/12/05