PPFUN WEDMConditions(56) - EDM machining conditions specification command
EDM machining conditions specification command PPFUN WEDMConditions(56) is generated by EDM operations of CAM system. This command is used to pass EDM operation's machining conditions table to the postprocessor. Each row in the machining conditions table represents machining conditions of a single pass. So thereafter the number of rows in the table is equal to the number of passes used. Each table row is passed by a separate PPFUN WEDMConditions(56) command. So the list of technology commands of every EDM operation is opened by the list of WEDMConditions(56) commands, the number of commands is equal to the number of rows in the EDM operations conditions table.
Parameters
| Parameters | CLD array | CLD name | Description |
|---|---|---|---|
| Command SubCode | CLD[1] | CLD.SubCode | WEDMCONDITIONS(56) – a row of machining conditions table of an EDM operation |
| Pass ordinal number | CLD[2] | Run's ordinal numbers are usually assigned sequentially starting with 1. However, ordinal numbers can start with number other than 1, depending on operation settings in CAM system | |
| Pass condition code | CLD[3] | Condition code specifies machining conditions for the given pass. Condition code changing in the course of the program is done by FEDRAT command. | |
| Offset Code | CLD[4] | Offset code defines the corrector number which should be used to specify correction value for the given pass. Corrector number switching is done by CUTCOM command. | |
| Correction value | CLD[5] | Correction value for the given corrector number | |
| Feed value | CLD[6] | Wire feed value in mm per min (inches per min) | |
| Additional parameters | CLD[100] – CLD[256] | List of additional parameters for each pass. The number of additional parameters is specific for each postprocessor. |
Access from sppx
PPFUN has no sub-code-specific handler in sppx. All PPFUN sub-codes are processed in the single program PPFun handler, dispatching on cld[1] (CLD.SubCode); handle WEDMConditions by adding a branch there. See Postprocessor function (PPFUN) for the full handler.
Example:
program PPFun
case cld[1] of
56: begin ! WEDMConditions
! a row of the EDM machining-conditions table
end
end
end
Access from .NET
This sub-code has no dedicated handler - it is delivered through the base OnPPFun (dispatch on cmd.SubCode). See Postprocessor function (PPFUN).