Pulse edit (cont’d), 31 pls functions – Electro Cam PL-1746 Series User Manual
Page 76

4-31 PLS Functions
Pulse Edit (cont’d)
Command /Status
M0:S.902/0
Execute Pulse Edit. This bit remains on until the edit is complete or
Register Bits
an error occurs. Either condition will clear this bit.
M0:S.902/1 to 4 Command bits specify which command to execute as shown in the
COMMANDS table. Using a reserved code will cause a reserved
bits error.
M0:S.902/5 to 8 Reserved bits. Writing a one to any of these bits will also
cause a reserved bits error (see M0:S.902/12).
M0:S.902/9
Reserved bits. This bit is set if a one is written to any of the
reserved bits.
M0:S.902/10
The Pulse Number error bit is set if the pulse number in a channel
with more than one pulse exceeds the actual number of pulses in
that channel.
M0:S.902/11
The Pulse Edit Off value exceeds the scale factor.
M0:S.902/12
The Pulse Edit On value exceeds the scale factor.
M0:S.902/13
The Channel error bit is set if the channel value is out of range.
M0:S.902/14
This Program error bit is set if the program value is out of range.
M0:S.902/15
The Error bit is set if any of the above errors is set. This provides a
single bit to test for command success/failure. When the Error bit is
set, test the other bits to determine the exact cause.
Screen
No screen is available. This function is programmed through the backplane only. To
edit pulses via the keypad, see the Pulses Section.
Description
The selected pulse is created, modified or deleted. A pulse is created if no other pulse
has the specified program/channel. A pulse is deleted when the on and off values are
both zero. If a pulse is found that matches the specified program/channel, it’s on and
off setpoints are changed to the values specified. When the error bit M0:S.710/15 is
set, the Command Error bit and the Any Error bit are set in the Programming Error
Register (I:S.7). To clear the error condition, toggle the Clear Error (O:S.0/8) ON. No
additional commands will be accepted until the error bits are cleared.
Pulse Edit Command Requirements
The READ command requires the following information: PULSE EDIT PROGRAM and PULSE EDIT CHANNEL. If
there are multiple pulses in the channel, the PULSE EDIT PULSE NUMBER selects which pulse to read. The first pulse
is number zero. The PL-1746 responds to this command by providing the PULSE EDIT ON, PULSE EDIT OFF and
PULSE EDIT PULSES IN CHANNEL values.
The WRITE command requires the following information: PULSE EDIT PROGRAM, PULSE EDIT CHANNEL, PULSE
EDIT ON, and PULSE EDIT OFF. If there are no pulses in the specified channel, a new pulse will be created. The PL-
1746 responds to this command by creating the specified pulse. If the channel already has at one or more pulses in it,
multiple pulses will be created. If the PULSE EDIT ON and PULSE EDIT OFF values are both zero, all pulses in the
specified channel will be deleted.
All the INC and DEC commands for ON, OFF, and BOTH require the following information: PULSE EDIT PROGRAM and
PULSE EDIT CHANNEL. If there are multiple pulses in the channel, the PULSE EDIT PULSE NUMBER is also required.
The PL-1746 responds to these commands by performing the specified operation on the PULSE EDIT ON value, PULSE
EDIT OFF value, or both.
The INC ALL and DEC ALL commands require the following information: PULSE EDIT PROGRAM and PULSE EDIT
CHANNEL. The PL-1746 responds to these commands by performing the specified operation on all the pulses in the
channel.
The CHANGE ON and CHANGE OFF commands require the following information: PULSE EDIT PROGRAM, PULSE
EDIT CHANNEL, and depending on which command, PULSE EDIT ON, or PULSE EDIT OFF. The PL-1746 responds to
these commands by storing the specified ON or OFF edge value. If the PULSE EDIT ON value is the same as the
PULSE EDIT OFF value, that pulse will be deleted leaving other pulses in the same channel unchanged.