74
Epsilon EP-P Drive Reference Manual
www.controltechniques.com
Revision: A4
Figure 84:
User Bits Mask View
To configure the mask in a user program, the parameter named BitRegisiter.#.ValueMask is written to. The mask can be written to using
Hexadecimal based values or decimal based values. To write a hexadecimal value to the parameter, the hex value must be preceded with the
characters "0x". To write a decimal value to the parameter, normal notation is used. For examples of writing the Mask to a value in a program,
see below.
Example: BitRegister.1.ValueMask = 0xFFFF0000
This example writes a 1 into all bits of the upper sixteen bits, and 0 into each of the lower sixteen bits using hexadecimal value. To write the
same value using decimal notation, the following instruction would be used.
Example: BitRegister.1.ValueMask = 4294901760
This instruction would also write a 1 into each of the upper sixteen bits, and a 0 into each of the lower sixteen bits.
3.24.4 Packed Bits
Packed Bits are 16-bit words configured by the user to read and write groupings of bit-level parameters (booleans and input/output events).
Packed Bits are broken into Control Word(s) and Status Word(s). These words, once configured, can then be accessed via communication
networks and/or within user programs to handle the bits as desired.
Control Words
A master device such as a PLC or HMI writes to the Control Word(s) as a 16-bit word. The data within that word is then broken into individual
bits and written to the bit-level parameters that the user has mapped (see Figure 85). Note that if one of the bit-level parameters within the
control word is modified from some other means (i.e. a user program or an Assignment), that the value of that parameter is not written into the
Control Word value. For example, if a user initiates a Jog Plus within a user program, Bit0 of the Control Word in the Figure 85 below would not
automatically change to 1. Bit0 will only be 1 if the master device sets that bit when writing to the Control Word.
Figure 85:
Control Words Communications Example
Status Words
Status Words are read by the master device as a 16-bit word. The drive assembles the bit-level parameters mapped by the user into 16-bit
Modbus, EtherNet I/P,
Profibus, DeviceNet
PLC
HMI
Jog.0.PlusActivate
Jog.0.MinusActivate
Home.0.Initiate
Index.0.Initiate
Index.1.Initiate
Program.0.Initiate
Program.0.Stop
Stop
Feedhold
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
Bit8
Bit9
Bit10
Bit11
Bit12
Bit13
Bit14
Bit15
ControlWord.0
Value
Summary of Contents for Epsilon EP-P
Page 2: ......
Page 124: ...110 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Page 200: ...186 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Page 218: ...204 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Page 238: ...224 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Page 244: ...230 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Page 247: ......