Casio PA-2400W manual Details of Command and Option

Models: PA-2400W

1 83
Download 83 pages 37.32 Kb
Page 58
Image 58

7.13 Details of Command and Option

Title

 

Command

FLCE /Y

This command sets up the device, baud rate, and communication mode used for communication. If this command is omitted, the default value {IrDA, , } is used.

Any of the parameters can be omitted. If this is done, the default values for each parameter will be used. Always insert this command directly after the word “FLCE”. Placing it in another place will result in a parameter error.

￿C Language Interface￿

Calling Sequence￿

FLCE /Y={ [<device>], [<baud rate>], [<mode>] }

￿

(Comma must be written and no space allowed. Parameters in [ ] can be omitted.)

Parameters￿

 

Device

Select either "IrDA" or "COM1".

Baud rate

￿￿If "IrDA" is selected – the baud rate setting can not be allowed.

 

If "COM1" is selected - The following baud rates can be selected for RS-232C communication.

 

9600, 19200, 38400, 57600, 115200

 

Combinations other than those described above are not permitted and will cause a parameter

 

error.

Mode

￿"H" - PA-2400W-to-PA-2400W command specification mode (Session-wait timeout is

 

1 minute.)

 

This option is used by one side which specifies the operation command when performing

 

communication between two PA-2400Ws.

 

(The FLCE on the communication partner should operate in the idle start mode.)

 

"I" - Normal mode (Session-wait timeout is infinite.)

 

￿Only "H" or "I" can be specified.

 

If mode specification is omitted, the normal mode with the session-wait timeout set to 1

 

minute is automatically specified.

 

Table 7.7

￿

Startup

Communication Partner

Session Wait Timeout

 

 

1 minute

Infinite

Idle (including script)

PC (I/O Box)/PA-2400W

No mode

Mode

Designation of

PC (I/O Box)

specification

Specification, “I”

Operation command

PA-2400W

Mode

 

 

 

specification, “H”

-

Startup Examples￿

FLCE /Y={COM1, 115200, } /S "\casio\*.dat" "d:\casiodat\"

Communication is performed using the RS-232C port at a baud rate of 115.2 Kbps. (Session-wait timeout is 1 minute.)

FLCE /Y={, , I} /S "\casio\*.dat" "d:\casiodat\"

Communication is performed through command specification with the device name and the baud rate are default-set. (Session-wait timeout is infinite.)

FLCE /Y={, , H} /S "\casio\*.dat" "d:\casiodat\"

Communication is performed between two PA-2400Ws through command specification with the device name and the baud rate are default-set. (Session-wait timeout is 1 minute.)

FLCE /Y={, , I}

Communication is performed in the idle mode with the device name and the baud rate are default-set.

￿(Session-wait timeout is 1 minute.)

FLCE /Y={, , } /S "\casio\*.dat" "d:\casiodat\"

Communication is performed under the same conditions (with default values) of which "/Y" is omitted.

58

Page 58
Image 58
Casio PA-2400W manual Details of Command and Option