User Tools

Site Tools


ffc:cm:api-ld

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffc:cm:api-ld [2021/12/08 22:19] – external edit 127.0.0.1ffc:cm:api-ld [2022/03/29 17:19] (current) – external edit 127.0.0.1
Line 14: Line 14:
  
 *  **Downloads** *  **Downloads**
-    * {{ :ffc:cm:ffc_gen2_laser_driver_command_api.docx |}}+    * {{ :ffc:cm:ffc_gen2_laser_driver_command_api_r03.docx |}}
  
 =====Implementation Instructions===== =====Implementation Instructions=====
  
-Listed below is the command set for the Application Programming Interface (API) for the FFC-100. Since the FFC-CM does not have a touch screen or GUI, all commands must be performed via the API+Listed below is the command set for the Application Programming Interface (API) for the FFC-CM Laser Driver boards. Since the FFC-CM does not have a touch screen or GUI, all commands must be performed via the API.
- +
-Computer communication to the FFC-100 occurs by first establishing a Serial COM port via the USB 2.0 physical interface. Computer communication should be platform independent, though appropriate USB drivers may have to be installed. The following table shows the serial port settings: +
- +
-^ Baud Rate      155200 +
-^ Data Bits      8       | +
-^ Parity        |  None    | +
-^ Stop Bits      1       | +
-^ Flow Control  |  None    | +
- +
- +
-To perform an operation, an ASCII-based text message is first constructed from a command and its arguments, and then the message is transmitted to the FFC-CM through the COM port. The following rules apply: +
- +
-  - Syntax is //insensitive// to case. +
-  - A message is an ASCII string composed of a command followed by zero or more arguments. +
-  - A command and its arguments are delimited by spaces. +
-  - Messages are terminated by a carriage return ("\r"). +
-  - All valid messages return an ASCII string value. +
-  - [Int] refers to an integer argument that has no decimal point. +
-  - [Float] refers to a floating point argument that has a decimal point in its value. +
-  - Changes effected by issuing a serial command from this API are not permanently stored in non-volatile memory until you issue a SAVE command. Configuration changes without the SAVE command will be lost with power cycling. The Save command stores the entire configuration and so several configuration changes can be implemented and then a single SAVE command could be issued. +
- +
-For most complete version of API, download the FFC-Serial API PDF from the [[ffc:cm:api-ld#Links|downloads]] section.+
  
 +Computer communication to the FFC-CM Laser Driver Boards occurs through the [[ffc:cm:api_i2c|I2C interface]]. Implementation of this interface has been left to the user. However, a list of API commands can be found below, or by downloading the FFC Gen2 Laser Driver Command API from the [[ffc:cm:api-ld#Links|downloads]] section. 
ffc/cm/api-ld.1639001943.txt.gz · Last modified: 2021/12/08 22:19 by 127.0.0.1