Go to the source code of this file.
Functions | |
record (fanout,"$(P):ZERO") | |
This record will zero J1 and J2 when processed. | |
record (calcout,"$(P):ZEROJ1") | |
record (calcout,"$(P):ZEROJ2") | |
expand ("pmacVariableWriteSync.vdb", pmacVariableWriteSync1) | |
expand ("pmacVariableWriteSync.vdb", pmacVariableWriteSync2) | |
expand ("pmacVariableWriteSync.vdb", pmacVariableWriteSync3) |
This template allows setting of variables for a 2jack CS. It requires PROG10_CS_motion.pmc and an instantiation of CS_2jack.pmc with the variables shown in the image below:
Setup of 2 jack CS
Build instructions for an example IOC are available here, with a pmc file containing the CS definition available in iocs/CS2jack/defs.pmc
P | Required argument. Pv Prefix | |
COORD | Required argument. Co-ordinate system number | |
PREC | Default=3. Precision to display variables | |
J1PV | Default=:J1. Pv of real Jack1 motor, e.g. :J1 | |
J2PV | Default=:J2. Pv of real Jack1 motor, e.g. :J2 | |
name | Default=. Object name and gui association name This associates an edm screen with the template |
Definition in file 2jack.vdb.
expand | ( | "pmacVariableWriteSync.vdb" | , | |
pmacVariableWriteSync1 | ||||
) |
expand | ( | "pmacVariableWriteSync.vdb" | , | |
pmacVariableWriteSync2 | ||||
) |
expand | ( | "pmacVariableWriteSync.vdb" | , | |
pmacVariableWriteSync3 | ||||
) |
record | ( | fanout | , | |
"$(P):ZERO" | ||||
) |