| |
Mnemonics naming rules
|
Some mnemonics names must applies for the rules included in the following table.
A variable that apply for a mnemonic rule may not be connected to an other mnemonic even if that mnemonic has no rule.
|
| ActiGRAF wiring |
StraTon declaration |
| connector name |
name |
Type |
Description |
| Input_Freq_OFF |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| Input_Freq_ON |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| Input_AnaV4 |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| Equipment |
E_xxxx |
Boolean |
Boolean variable |
| Fault |
D_xxxx |
Boolean |
Boolean variable |
| Trip_Value |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| Odo_Value |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| RST_Value |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| TAC_Odo |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
| TAC_Trip |
xxxx_L |
unsigned 16 bit : WORD |
LSB of the variable xxxx |
| xxxx_M |
unsigned 16 bit : WORD |
MSB of the variable xxxx |
|
Warning : For an input or output, you must take care with the mnemonic name with or without prefix.
If you use a mnemonic with a prefix "D_" , "E_", "I__", etc...
The mnemonic name between mnemonic with prefix and mnemonic without prefix must be different.
|
Example 1:
The mnemonic "name"to read the "Threshold-Fault" of an input like UINx is "D_Name".
So you will not be able to use a mnemonic "xxName" to read the "Input_Boo" status.
You must declare two mnemonics like this:
For the "Threshold-Fault" mnemonic, you must declare "D_Name1" .
For the "Input_Boo" mnemonic, you must declare "Name2"
|
Example 2:
The mnemonic "name" to read the "Equipment" of an input like OUTx is "E_Name".
So you will not be able to use a mnemonic "xxName" to read the "Output_Boo" status.
You must declare two mnemonics like this:
For the "Equipment" mnemonic, you must declare "E_Name1"
For the "Output_Boo" mnemonic, you must declare "Name2"
|
|
|