beautypg.com

Serial communication and ecam, Ecam commands for serial communication, The fsp amplifier – Yaskawa FSP Amplifier FlexWorks User Manual

Page 80

background image

Operating the FSP Amplifier Using FlexWorks

80

4.9.16. Serial Communication and ECAM

This chapter has described how ECAM profiles are created and
downloaded to the FSP Amplifier using FlexWorks. ECAM profiles
can also be sent to the FSP Amplifier by a host, using serial

communication. For more information on using serial
communication, see Chapter 6, Serial Interface Protocol.

4.9.16.1. ECAM Commands for Serial Communication

The following commands are used to send an ECAM profile to the
FSP Amplifier, using serial communication. More information on
these commands is available in Chapter 5, Command Reference.

♦ ECAM_TABLE_BEGIN: Clears any existing table from the FSP

Amplifier and initializes the new table.

♦ ECAM_PROFILE: Specifies the identifying number of the

profile that is to be loaded.

♦ ECAM_SEGMENT: Defines the range of the master values

covered by the next segment that is to be defined, and

specifies the size of the increments between consecutive
points.

♦ ECAM_POINTS: Specifies the difference between the slave

positions of consecutive points.

♦ ECAM_TABLE_END: Finalizes the ECAM table that has been

loaded.

4.9.16.2. Example of Using Serial Communication to Send an

ECAM Table to the FSP Amplifier

The code that follows downloads an ECAM table as specified in
Table 14: Sample ECAM Table, and illustrated in Figure 49:
Sample ECAM Profile.
ECAM_TABLE_BEGIN
ECAM_PROFILE 1
ECAM_SEGMENT 200 10 0
ECAM_POINTS 4 0 2 3 4
ECAM_POINTS 4 6 6 8 9
ECAM_POINTS 4 9 11 12 12
ECAM_POINTS 4 13 14 14 15
ECAM_POINTS 4 15 15 16 16
ECAM_SEGMENT 100 100 0

This manual is related to the following products: