Functions

2jack.vdb File Reference

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)

Detailed Description

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:

2jack-help.png

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

Parameters:
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.


Function Documentation

expand ( "pmacVariableWriteSync.vdb"  ,
pmacVariableWriteSync1   
)

Definition at line 44 of file 2jack.vdb.

expand ( "pmacVariableWriteSync.vdb"  ,
pmacVariableWriteSync2   
)

Definition at line 51 of file 2jack.vdb.

expand ( "pmacVariableWriteSync.vdb"  ,
pmacVariableWriteSync3   
)

Definition at line 58 of file 2jack.vdb.

record ( calcout  ,
"$(P):ZEROJ1"   
)

Definition at line 32 of file 2jack.vdb.

record ( fanout  ,
"$(P):ZERO"   
)

This record will zero J1 and J2 when processed.

Definition at line 27 of file 2jack.vdb.

record ( calcout  ,
"$(P):ZEROJ2"   
)

Definition at line 38 of file 2jack.vdb.

 All Classes Files Functions Variables Typedefs Defines