Specify the output frequency, output pulse count, initial output frequency, and acceleration/deceleration time to run the "Create Acceleration/Deceleration table request" and create the acceleration/deceleration table.
Then, acknowledge the completion under [Create table request complete]. Depending on the CH to which you allocate the pulse output, the request flag and completion flag will have different bit positions.
Furthermore, to delete the acceleration/deceleration table, set the initial frequency and the acceleration/deceleration both to 0. The table is deleted when you create the acceleration/deceleration table.
Setup Process
Using the "Request table creation" in the system variable (#L_ExIOAccelPlsTbl), change the acceleration/deceleration table.
#L_ExIOAccelPlsTbl
Acceleration/Deceleration table creation
a: CH1 acceleration/deceleration pulse table creation request |
[1]: Creation requested |
b: CH2 acceleration/deceleration pulse table creation request |
[1]: Creation requested |
c: CH3 acceleration/deceleration pulse table creation request |
[1]: Creation requested |
d: CH4 acceleration/deceleration pulse table creation request |
[1]: Creation requested |
Regarding the details of the variable allocated in [Create Acceleration/Deceleration table complete], the watch bit will differ, depending on the CH to which you allocate the pulse output, as shown below.
a: CH1 acceleration/ deceleration pulse table created successfully |
[1]: Created successfully |
b: CH1 acceleration/deceleration pulse table available/not available |
[1]: Table available for output [0]: Table not available (output not available) |
c: CH2 acceleration/ deceleration pulse table created successfully |
[1]: Created successfully |
d: CH2 acceleration/deceleration pulse table available/not available |
[1]: Table available for output [0]: Table not available (output not available) |
e: CH3 acceleration/ deceleration pulse table created successfully |
[1]: Created successfully |
f: CH3 acceleration/deceleration pulse table available/not available |
[1]: Table available for output [0]: Table not available (output not available) |
g: CH4 acceleration/ deceleration pulse table created successfully |
[1]: Created successfully |
h: CH4 acceleration/deceleration pulse table available/not available |
[1]: Table available for output [0]: Table not available (output not available) |
The following shows the flag timing chart for the creation request of acceleration/deceleration pulse table and completion.
1) Set the output frequency, Output pulse count, initial output frequency, and acceleration/deceleration time.
2) Turn ON the request flag for the acceleration/deceleration table creation to create the table.
3) Once the table is created, the completion flag turns ON.
4) Acknowledge that the completion flag is ON and turn the request flag OFF.
5) When the request flag is recognized as OFF, the completion flag turns OFF.
Notes on creating the table
While the acceleration/deceleration pulse output is ON ("Request acceleration/deceleration pulse output" is ON), no request for creating acceleration/deceleration pulse table is accepted.