Kawasaki Robot Controller E Series. Reference Manual (2015) - page 6

 

  Index      Manuals     Kawasaki Robot Controller E Series. Reference Manual (2015)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     4      5      6      7     ..

 

 

 

Kawasaki Robot Controller E Series. Reference Manual (2015) - page 6

 

 

5. Monitor Commands
HSETCLAMP
Function
Assigns signal numbers to operate material handling clamps.
Example
In the example below, clamp 3 is set as a double solenoid.
>HSETCLAMP
Clamp 1
Clamp 2
Clamp 3
Clamp 4
Spot weld
Handling
Not used
Not used
‘ON’out.signal
10
0
24
24
‘OFF’out.signal
9
11
0
0
Clamp 5
Clamp 6
Clamp7
Clamp 8
Not used
Not used
Not used
Not used
‘ON’out.signal
24
24
24
24
‘OFF’out.signal
0
0
0
0
Clamp number (18, ENTER only:No change, CTRL+C:Exit)㻌 3㻌 㻌
;Select clamp number
Define as Handling clamp ?
(1:Defined as Handling clamp, 0:Not used, ENTER only:No change, CTRL+C:Exit)1
Enter 1 to define as handling clamp.
㻌 For single solenoid valve, define one signal.
For double solenoid valve, define both.
'ON' out. signal
(0:Not used, ENTER only:No change, CTRL+C:Exit) Change ? 12 ;
Set so that ch12 is output
if ON
'OFF' out. signal
(0:Not used, ENTER only:No change, CTRL+C:Exit) Change ?; 13㻌
Set so that ch13 is output
if OFF
Clamp 1
Clamp 2
Clamp 3
Clamp 4
Spot weld
Handling
Handling
Not used
‘ON’out.signal
10
0
12
24
‘OFF’out.signal
9
11
13
0
Clamp 5
Clamp 6
Clamp7
Clamp 8
Not used
Not used
Not used
Not used
‘ON’out.signal
24
24
24
24
‘OFF’out.signal
0
0
0
0
Clamp number (18, ENTER only:No change, CTRL+C:Exit)㻌 3㻌
5-73
5. Monitor Commands
[ NOTE ]
Always use the clamps in order from one to eight. For example clamp 5
cannot be used without using clamp 4.
[ NOTE ]
CtrlC (Exit) cannot be used from the teach pendant keyboard screen.
5-74
5. Monitor Commands
DEFSIG INPUT
DEFSIG OUTPUT
Function
Displays and changes the current setting of the software dedicated signals.
Parameter
INPUT, OUTPUT
OUTPUT (or only O) displays the output signals, INPUT (or only I) the INPUT signals. The
setting can be changed when this parameter is entered. If this parameter is not entered, the
signals currently used as dedicated signals are displayed in a list.
Explanation
The signals in the table below can be used as dedicated signals.
For details on dedicated signals, refer to the External I/O Manual.
Software Dedicated Input Signal
Software Dedicated Output Signal
EXT. MOTOR ON
MOTOR_ON
EXT. ERROR RESET
ERROR
EXT. CYCLE START
AUTOMATIC
EXT. PROGRAM RESET
CYCLE START
Ext. prog. select (JUMP_ON, JUMP_OFF
TEACH MODE
RPS_ON, RPSxx)
HOME1, HOME2
EXT_IT
POWER ON
EXT. SLOW REPEAT MODE
RGSO
Ext. prog. select (JMP_ST, RPS_ST)㻌
The following codes can be used with this command.
L: Go back to the previous signal.
N: Go to the next signal.
Q: Cancel operation (the data input are ignored)
E: Exit
5-75
5. Monitor Commands
[ NOTE ]
1. External program selection
(1) When selecting JMP as a dedicated signal, signals JMP-ON, JMP-OFF, JMP-ST are also
automatically set as dedicated. JMP-ST is an output signal but is set under DEFSIG
INPUT command.
(2) When selecting RPS signal as a dedicated signal, signals RPS-ON, RPS-ST are also
automatically set as dedicated signals. RPS-ST is an output signal but is set under
DEFSIG INPUT command.
2. RPS code
If at least one of the following signals is selected as dedicated signal, a prompt appears and
an RPS code must be input.
JMP, RPS or EXT. PROGRAM RESET
3. Signal numbers
Signals can be set within the following range:
Dedicated output signals: 1 to number of signals installed
Dedicated input signals: 1001 to number of signals installed
4. Others
If a signal number is already assigned to a dedicated signal, it cannot be assigned to another
dedicated signal or used as a general purpose signal.
Example
The following example displays the currently selected software dedicated signals.
>DEFSIG
Dedicated signals are set
EXT. MOTOR ON = 1032
EXT. ERROR RESET = 1031
EXT. CYCLE START = 1030
MOTOR ON = 32
ERROR = 31
AUTOMATIC = 30
Condition : Panel switch in RUN.
Condition : Panel switch in REPEAT.
Condition : Repeat continuous.
Condition : Step continuous.
CYCLE START = 29
5-76
5. Monitor Commands
TEACH MODE = 28
HOME1 = 27
>
The following example resets the selection of the software dedicated output signal MOTOR_ON,
changes the signal number of AUTOMATIC to 30, selects TEACH MODE as dedicated signal
and sets the signal number 3.
>DEFSIG OUTPUT
MOTOR ON Dedication cancel? (Enter 1 to cancel.)1
ERROR Dedication cancel? (Enter 1 to cancel.)
Signal number
31
Change ?
(1 - 32 )
AUTOMATIC Dedication cancel? (Enter 1 to cancel.)
Signal number
2
Change ?
(1 - 32 )
30
CYCLE START Dedication cancel? (Enter 1 to cancel.)
Signal number
29
Change ?
(1 - 32 )
TEACH MODE Dedication set? (Enter 1 to set.) 1
Signal number
0
Change ?
(1 - 32 )
3
HOME1 Dedication cancel? (Enter 1 to cancel.)
>
5-77
5. Monitor Commands
ZZERO joint number
Function
Sets the encoder value corresponding to the mechanical origin of each axis of a robot as zeroing
data. Also, the current zeroing data and the value of encoder rotation counter can be displayed
using this command.
Parameter
Joint number
(1) To reset the encoder rotation counter:
Enter the joint number plus 100. For example, to reset the encoder rotation counter on joint two,
enter:
ZZERO
102
If “100” is entered as the joint number, all the encoder counters are reset.
(2) To set zeroing data:
To set the encoder zeroing data for joint two, enter:
ZZERO
2
If “0” is entered as the joint number, all the joints are zeroed.
If no joint number is specified, the current encoder data and the zeroing data are displayed.
[ NOTE ]
Reset the encoder rotation counter before setting the zeroing data.
DANGER
Use this command only for the following purposes:
1. To check if the zeroing data has changed when the position of the arm is abnormal.
2. To correct the zeroing data when it has changed unexpectedly.
When the zeroing data is changed, the values detected for robot poses also change.
Therefore be aware that the same program ends in different destination pose and
trajectory before and after the zeroing data is changed.
5-78
5. Monitor Commands
Example
1. The following command displays the zeroing data:
>ZZERO
JT1
JT2
JT3
JT4
JT5
JT6
Set data
268435456
268435456
268435456
268435456
268435456
268435456
Current
268435456
268435456
268435456
268435456
268435456
268435456
data
Change?(If not , hit RETURN only)
JT1
JT2
JT3
JT4
JT5
JT6
OFFSET
0
0
0
0
0
0
Change? (If not , hit RETURN only)
>
2.
The following command resets the encoder rotation counter of all the joints.
>ZZERO 100
** Encoder rot. counter reset (all joints) **
Are you sure? (Enter 1 to execute)
1
Setting complete.
>
3.
The following command resets the encoder rotation counter of joint 2 with the joint value
specified for [Current angle] as the current value.
>ZZERO 102
** Encoder rot. counter reset (joint 2) **
Current angle (deg, mm) ?
0
Are you sure? (Enter 1 to execute) 1
Setting complete.
>
4.
The following command sets the zeroing data of all the joints simultaneously. The current
value will become 0°.
>ZZERO 0
JT1
JT2
JT3
JT4
JT5
JT6
Set data 268427264 268427264 268427264 268427264 268427264 268427264
Current
268427264 268427264 268427264 268427264 268427264 268427264
Set current values of all joints as zeroing data? (Enter 1 to set.)1
Setting complete.
5-79
5. Monitor Commands
5. Resets the zeroing data of joint 2 with the value specified for [Current angle] as the current
value.
>ZZERO 2
Current angle (deg.mm)?
0
Change? (If not, Press RETURN only.)
Encoder value? (Current=268435456, Enter 1to set current value) 1
Zeroing value=268435456 (268419072-268451840) OK?
(Enter 0 to change)
Setting complete.
>
5-80
5. Monitor Commands
ERESET
Function
Resets the error condition. Identical to the
ERROR RESET button on the operation panel.
Explanation
When the ERESET command is executed, the ERROR_RESET signal is output. However this
command is ineffective when an error occurs continuously.
SYSINIT
Function
Deletes all program and data in the memory and initializes defined parameters.
Explanation
Initializes the system and deletes all programs, pose variables, numeric variables, and string
variable.
[ NOTE ]
All programs and variables are deleted from the memory when this command is
executed.
5-81
5. Monitor Commands
HELP alpha character
HELP/ M alpha character
HELP/ P alpha character
HELP/ F alpha character
HELP/ PPC alpha character
HELP/ MC alpha character
HELP/ DO alpha character
HELP/ SW alpha character
Function
Displays a list of AS Language commands and instructions.
Parameter
Specifies with which letter in the alphabet the command, instruction, etc. begins. If omitted, all
the commands, instructions are displayed.
For example, entering HELP command followed by an alpha character displays the monitor
commands or program instructions starting with that alphabet. Entering HELP/F command
followed by an alpha character command displays the functions starting with that alphabet.
Explanation
Entering HELP only, displays a list of monitor command and program instructions.
HELP/M lists the monitor commands.
HELP/P lists the program instructions.
HELP/F lists functions.
HELP/PPC lists program instructions usable in PC programs. (Option)
HELP/MC lists monitor commands usable with the MC instruction. (Option)
HELP/DO lists program instructions usable with DO command. (Option)
HELP/SW displays a list of system switches. (Option)
For some commands and instructions, the parameters are also displayed.
Example
>HELP/M
ABORT BASE BITS BATCHK CONTINUE COPY DEFSIG
DELETE DIRECTORY DLYSIG DO EDIT ERESET ERRLOG
>HELP/F
#DEST
#PPOINT
$CHR
$DECODE
$ENCODE
$ERROR
$LEFT
$MID
$RIGHT
$SPACE ABS ASC
5-82
5. Monitor Commands
ID
Function
Displays the version information of the software installed in the robot controller.
Explanation
Displays the following information.
Robot name:
the name of the robot arm controlled by AS software
Joint number:
number of joints of the controlled robot arm
Serial number:
serial number of the controlled robot arm
Number of signals:
maximum number of output, input, and internal signals available in this
system
Clamp number:
maximum number of clamps available in this system
Motion type:
motion type currently set
Servo type:
type of servo software currently set
Acceleration speed change per load: enable/ disable of acceleration speed change function per
load
Servo specification:
control specification of the servo software
Software version:
version number of the AS software
[ NOTE ]
If the above information does not match the actual robot, contact us immediately.
Do not turn ON the motor power nor make the robot do any motion operations.
Example
>ID
Robot name: RS020N-A001 Num of axes: 6
Serial No. 1
㻌 㻌 㻌
Number of signals: output=32
input=32
internal=256
Clamp number
:2 MOTION TYPE: 1 SERVO TYPE:1
Acceleration change function : OFF
SERVO specification:
4
[Software version]
===
AS Group ===
: ASE_010100W30 2014/09/23 14:17
User IF AS
: UASE010100W30 2014/09/23 14:17
User IF TP
: UTPE010100W30 2014/09/23 14:14
Arm Control AS
: AASE010100W30 2014/09/23 14:33
5-83
5. Monitor Commands
User IF AS message file
: MASE0100W30JP 2014/09/23 13:46
User IF TP message file
: MTPE0100W30JP 2014/09/23 13:46
Arm data file
: ARME021310W0K 2014/08/07 19:58
===
SERVO group ===
:
Arm Control SERVO
: ASVE08000003C 2014/01/31 15:51
SERVO data file
: ASPE08000003J 2014/09/23 13:43
Arm Control SERVO FPGA
: ASFE080000007 2013/11/29 18:48
>ID
Robot name
: RS020N-A001 Num of axes: 6 Serial No.䠍
Software version : version
000004-04…08/11/27 13:11
Servo
: SAOA00-RS020N-01
Number of signals: output=32
input=32
internal=256
Clamp number
:2 MOTION TYPE: 1 SERVO TYPE:1
[ NOTE ]
Displayed software version may vary from above according to the selected option.
5-84
5. Monitor Commands
WEIGHT load masscenter of gravity X, center of gravity Y,
center of gravity Z, inertia moment ab. X axis,
inertia moment ab. Y axis, inertia moment ab. Z axis
Function
Sets the load mass data (weight of tool and workpiece). The data is used to determine the
optimum acceleration of the robot arm.
Parameter
Load mass
The mass of the tool and workpiece (in kilograms). Range: 0.0 to the maximum load capacity
(kg).
Center of gravity (unit = mm)
X: the x value of the center of gravity in tool coordinates
Y: the y value of the center of gravity in tool coordinates
Z: the z value of the center of gravity in tool coordinates
Inertia moment about X axis, inertia moment about Y axis, inertia moment about Z axis
(Option)
Sets the inertia moment around each axis. Unit is kg·m2. The inertia moment about each axis
is defined as the moment around the coordinates axes parallel to the null tool coordinates with the
center of rotation at the tool’s center of gravity.
Explanation
If no parameters are specified, the current value is displayed followed by the message “Change?”
DANGER
Always set the correct load mass and center of gravity. Incorrect data may
weaken or shorten the longevity of parts or cause overload / deviation errors.
5-85
5. Monitor Commands
ENCCHK_ EMG
Function
Sets an acceptable deviation range when checking the robot’s pose at an emergency stop versus
the pose when the robot is restarted.
Explanation
Deviation 䠙|(pose after motor power is reapplied) (pose after the emergency stop)|
The acceptable deviation range can be set at each joint. If. 0.0 is set as the range, deviation
check is not performed. Setting too small of a range may trigger an error when motor power is
reapplied after an emergency stop even if the robot is operating within performance
specifications.
ENCCHK_ PON
Function
Sets the acceptable range for the difference in encoder value when the control power is turned ON
versus the value when the power was turned OFF the last time.
Explanation
Acceptable range = | (value when control power is turn ON) (value when the control power was
turned OFF the last time)|
The acceptable range can be set at each joint Setting too small of a range may trigger an error
when motor power is reapplied after an emergency stop even if the robot is operating within
performance specifications.
5-86
5. Monitor Commands
SLOW_ REPEAT
Function
Sets the repeat speed in slow repeat mode.
Explanation
>SLOW REPEAT
SLOW REPEAT MODE Speed㻌 (1-25%)
(Enter only: No change ^C:Exit): Now
10 Change ?
If no change is made, press only
. To change the speed, enter the new value and press
.
[ NOTE ]
CtrlC (Exit) cannot be used from the teach pendant keyboard screen.
REC_ACCEPT
Function
Enables or disables RECORD and PROGRAM CHANGE functions.
Explanation
>REC ACCEPT㻌
RECORD(0:Enable, 1:Disable)
(Enter only: No change ^C:Exit): Now
0 Change ?
PROGRAM CHANGE(0:Enable, 1:Disable)
(Enter only: No change ^C:Exit): Now
0 Change ?
Enter 0 to enable RECORD or PROGRAM CHANGE option. Enter 1 to disable the options.
[ NOTE ]
1.
CtrlC (Exit) cannot be used from the teach pendant keyboard screen.
2. If PROGRAM CHANGE is disabled, the following message appears when EDIT
command is executed: “Program change inhibited. Set ACCEPT and operate again.”
REC_ACCEPT command cannot be used in EDIT mode.
5-87
5. Monitor Commands
ENV_DATA
Function
Sets hardware environmental data.
(Auto servo OFF timer and status of teach pendant
installation)
Explanation
>ENV DATA
AUTO SERVO OFF TIMER(0:Servo not off)
(Enter only: No change ^C:Exit): Now
0 Change ?
If no change is to be made, press only
. Enter 0 to disable the auto servo OFF timer. To
enable the timer, enter after how much time (in seconds) the servo turns OFF.
Next, a prompt for the teach pendant is displayed.
TEACH PENDANT(0:Connect, 1:Disconnect)
(Enter only: No change ^C:Exit): Now
0 Change ?
If no change is made, press only
. To operate the robot without connecting the teach pendant,
enter 1. Connect the short circuit plug after disconnecting the teach pendant.
[ NOTE ]
CtrlC (Exit) cannot be used from the teach pendant keyboard screen.
ENV2_DATA
Function
Sets software environmental data.
Explanation
>ENV2 DATA
TEACH PENDANT (0:Connect, 1:Disconnect)
(Enter only: No change ^C:Exit): Now
0 Change ?
If no change is made, press only
. Next, a prompt for the terminal setting is displayed.
TERMINAL (0:Connect, 1:Disconnect)
(Enter only: No change ^C:Exit): Now
0 Change ?
If no change is made, press only
. Usually the personal computer is set as the terminal.
[ NOTE ]
CtrlC (Exit) cannot be used from the teach pendant keyboard screen.
5-88
5. Monitor Commands
CHSUM
Function
Enables or disables the resetting of abnormal check sum error.
Explanation
>CHSUM
CLEAR CHECK SUM ERROR(0:Ineffect, 1:Effect)
(Enter only: No change ^C:Exit): Now
0 Change ?
If “0” is entered, error cannot be reset. If “1” is entered the error is reset. The default value is
“0”. CHSUM is reset to “0” when the control power is turned OFF.
The following message appears if the error cannot be reset:
>CHSUM
Cannot clear check sum error. Check the following command or auxiliary data.
ZZERO
DEFSIG
:
:
>
If any data still contains an abnormal check sum, the message in the first example (CLEAR
CHECK SUM ERROR) does not appear. Instead, a message (as in the second example) is
displayed identifying additional troubleshooting.
[ NOTE ]
CtrlC (Exit) cannot be used from the teach pendant keyboard screen.
5-89
5. Monitor Commands
TPLIGHT
Function
Turns on the teach pendant backlight.
Explanation
If the backlight of the teach pendant screen is OFF, then this command turns ON the light. If
this command is executed when the backlight is ON, the light stays on for the next 600 seconds.
5-90
5. Monitor Commands
IPEAKLOG
Option
Function
Displays the peak current value for each joint.
Explanation
Displays the program name, step number, effective current value [Arms], and the ratio of peak
value to mechanical limit or motor limit when the motor torque is at its highest for each joint.
Example
>IPEAKLOG
Log since
00/1/24
13:44:23
Joint
Program Step
Effective current
Date
JT1
pg223
5
4.1[Arms]
29.5[%]
00/1/24
13:44
JT2
pg223
13
1.4[Arms]
9.8[%]
00/1/24
13:44
JT3
pg223
10
13.7[Arms]
98.2[%]
00/1/24
13:44
JT4
pg223
1
2.1[Arms]
55.5[%]
00/1/24
13:45
JT5
pg223
7
2.4[Arms]
64.8[%]
00/1/24
13:45
JT6
pg223
4
1.0[Arms]
27.8[%]
00/1/24
13:45
IPEAKCLR
Option
Function
Clears the peak current value log and restarts logging values.
Explanation
The logged values are reset using the IPEAKCLR command, the SYSINI command, or by
initializing the system by turning on No.8 dip switch on 1TA board.
Example㻌
>IPEAKCLR
Are you sure? (Yes:1,No;0) 1
>
5-91
5. Monitor Commands
OPEINFO robot number: joint number
Function
Displays the operation information.
Parameter
Robot number
Specifies the robot if more than one robot is controlled by one controller.
Joint number
Specifies for which joint the information is to be displayed. If not specified, the data on all the
joints are displayed.
Example
>OPEINFO
Operation Info. (02/1/14
9:54:1 - )(FILE LOAD
02/1/14)
;describes from which hour data
Control ON
0.2 [H]
accumulation started
Servo ON
0.1 [H]
Motor ON
4 times
Servo ON
10 times
Emergency stop (while in motion)
2 times
JT1
Operation hour
0.1 [H]
Operation distance
301.28 [x100 deg, mm]
JT2
Operation hour
0.1 [H]
Operation distance
193.84 [x100 deg, mm]
:
[ NOTE ]
Limits on data accumulation
1. Hours[H]:69 years
2. Number of operation [times]: ab. 2000 million times (1176 years if operated
10000 times a day)
3. Distance [deg, mm]: 12.5 years if operated at 500mm/s
OPEINFOCLR
Function
Resets the operation information to 0.
5-92
5. Monitor Commands
REFFLTSET_STATUS
Function
Displays the default and current values for moving average span of the command values.
Explanation
This instruction allows checking the default and current values of the moving average span
modified by REFFLTSET instruction.
Example
In the sample program below, the default value of the command value moving average span is
48 ms. The screen display will show as below if REFFLTSET_STATUS instruction is executed
while the robot is moving from #p1 to #p2.
Program example
1 JMOVE #p1
2 REFFLTSET 128
3 JMOVE #p2
Example of screen display (REFFLTSET_STATUS instruction is executed while step 3 is being
executed):
>REFFLTSET_STATUS
Default value [ms] = 48 48 48 24
Current value [ms] = 128 128 128 64
5-93
5. Monitor Commands
FFSET_STATUS
Function
Displays the default and current values of robot speed/ acceleration speed feed forward gain.
Explanation
Allows checking the default and current values of speed / acceleration feed forward gain changed
via FFSET instruction.
Example
In this example, the below sample program is executed with the default value of 0.7 for speed/
acceleration speed feed forward gain. The screen display shows as below when
FFSET_STATUS instruction is executed while the robot is moving from #p1 to #p2.㻌
Program example
1 JMOVE #p1
2 FFSET 0.5
3 JMOVE #p2
Example of screen display (FFSET_STATUS instruction is executed while step 3 is being
executed):
>FFSET_STATUS
Default value: KVFF = 0.70, 0.70, 0.70, 0.70, 0.70, 0.70
Current value: KVFF = 0.50, 0.50, 0.50, 0.50, 0.50, 0.50
Default value: KAFF = 0.70, 0.70, 0.70, 0.70, 0.70, 0.70
Current value: KAFF = 0.50, 0.50, 0.50, 0.50, 0.50, 0.50
5-94
5. Monitor Commands
5.7 BINARY SIGNAL COMMANDS
The E series robot controller uses two types of binary signals: external I/O signals between the
robot and external devices, and internal I/O signals used within the robot. Internal I/O signals
are used between robot and PC programs, or as test signals to check programs before actually
connecting external devices.
The binary signals are controlled or defined using the following commands.
RESET
Turns OFF all external I/O signal.
SIGNAL
Turns ON (or OFF) output signals.
PULSE
Turns ON output signal for the specified amount of time.
DLYSIG
Turns ON output signal after the specified time has passed.
BITS
Sets signals to be equal to the specified value (up to 16 signals).
BITS32
Sets signals to be equal to the specified value (up to 32 signals).
SCNT
Outputs counter signal upon reading a specified value.
SCNTRESET
Clears the counter signal number.
SFLK
Turns ON/OFF the flicker signal.
SFLP
Turns ON/OFF signals with SET/RESET signals.
SOUT
Outputs signal when specified condition is met.
STIM
Turns ON timer signal when specified signal is ON.
SETPICK
Sets the time to start clamp close control.
SETPLACE
Sets the time to start clamp open control.
HSENSESET
Starts monitoring of specified sensor signal. (Option)
HSENSE
Reads the data stored by HSENSESET. (Option)
5-95
5. Monitor Commands
RESET
Function
Turns OFF all the external output signals. Dedicated signals, clamp signals and antinomy
signals for multifunction OX/WX are not affected by this command.
By using the optional setting, the signals used in the Interface Panel screen are not affected by this
command.
(Option)
[ NOTE ]
Beware that this command turns OFF all the signals other than those mentioned
above even in repeat mode.
5-96
5. Monitor Commands
SIGNAL signal number, ……
Function
Turns ON (or OFF) the specified external or internal I/O signal.
Parameter
Signal number
Selects the number of external output signal or internal signal. Positive number turns ON the
signal, negative number turns OFF.
Explanation
The signal number determines if the signal is an external or internal signal.
Acceptable Signal Numbers
External output signal
1 㻌 actual number of signals
Internal signal
20012960
External input signal
Cannot be defined
If the signal number is positive, the signal is turned ON; if negative, the signal is turned OFF. If
“0” is given, all the signals are turned OFF. This command does not take effect upon dedicated
signals, clamp signals, and multipurpose double OX/WX signals.
Example
>SIGNAL
-1,4,2010
External output signal1is OFF, 4 is ON, Internal signal
2010 is ON.
>SIGNAL
-reset,4
If the value of the variable “reset” is positive, the output
signal determined by that value is turned OFF, and
output signal 4 is turned ON.
5-97
5. Monitor Commands
PULSE signal number, time
Function
Turns ON the specified signal for the given period of time.
Parameter
Signal number
Selects the number of the external output signal or internal signal (only positive values). Error
occurs if the signal number is already used as a dedicated signal.
Acceptable Signal Numbers
External output signal
1 㻌 actual number of signals
Internal signal
20012960
Time
Sets for how long the signal is output (in seconds). If not specified, it is automatically set at 0.2
seconds.
DLYSIG signal number, time
Function
Outputs the specified signal after the given time has passed.
Parameter
Signal number
Selects the number of the external output signal or internal signal. If the signal number is
positive, the signal is turned ON; if negative, the signal is turned OFF. Error occurs if the signal
number is already used by a dedicated signal.
Acceptable Signal Numbers
1 㻌 actual number of signals
External output signal
Internal signal
20012960
Time
Specifies the time to hold the output of the signal in seconds.
5-98
5. Monitor Commands
BITS starting signal number, number of signals = value
Function
Arranges a group of external output signals or internal signals in a binary pattern. The signal
states are set ON/OFF according to the binary equivalent of the specified value. If the value is
not specified, the current signal states are displayed.
Parameter
Starting signal number
Specifies the first signal to set the signal state.
Number of signals
Specifies the number of signals to be set ON/OFF. The maximum number allowed is 16. To
set more than 16 signals, use BITS32 command, explained below.
Value
Specifies the value used to set the desired ON/OFF signal states. The value is transformed into
binary notation and each bit of the binary value sets the signal state. The least significant bit
corresponds to the signal with the smallest signal number, and so on. If the binary notation of
this value has more bits than the number of signals, only the state of the given number of signals
(starting from the specified signal number) is set and the remaining bits are ignored.
If this parameter is omitted, the current signal states are displayed.
Explanation
Sets (or resets) the signal state of one or more external output signals or internal signals according
to the given value.
Acceptable Signal Numbers
External output signal
1 㻌 actual number of signals
Internal signal
20012960
Specifying a signal number greater than the number of signals actually installed results in error.
Selecting a dedicated signal also results in error.
Example
>BITS
2001,3
Displays the values of internal signals 2001-2003.
(3 bits starting from signal number 2001).
5-99
5. Monitor Commands
>BITS
1,8=100
External output signals 18 are set to output 01100100
(the binary notation of 100).
5-100
5. Monitor Commands
BITS32 starting signal number, number of signals = value
Function
Arranges a group of external output signals or internal signals in binary pattern. The signal
states are set ON/OFF according to the binary equivalent to the specified value. If the value is
not specified, the current signal states are displayed.
Parameter
Starting signal number
Specifies the first signal to set the signal state.
Number of signals
Specifies the number of signals to be set ON/OFF. The maximum number allowed is 32.
Value
Specifies the value used to set the desired ON/OFF signal states. The value is transformed into
binary notation and each bit of the binary value sets the signal state. The least significant bit
corresponds to the signal with the smallest signal number, and so on. If the binary notation of
this value has more bits than the number of signals, only the state of the given number of signals
(starting from the specified starting signal number) is set and the remaining bits are ignored.
If this parameter is omitted, the current signal states are displayed.
Explanation
Sets (or resets) the signal state of one or more external output signals or internal signals according
to the given value.
Acceptable Signal Numbers
External output signal
1 㻌 actual number of signals
Internal signal
20012960
Specifying a signal number greater than the number of signals actually installed results in error.
Selecting a dedicated signal also results in error.
Example
>BITS32
1,32=^H7FFFFFFF
External output signals 132 are set to correspond
to binary notation of 7FFFFFFF. External output
signals 131 turn ON.
5-101
5. Monitor Commands
SCNT counter signal number = count up signal, count down signal,
counter clear signal, counter value
Function
Outputs counter signal when the specified counter value is reached.
Parameter
Counter signal number
Specifies the signal number to output. Setting range for counter signal numbers: 3097 to 3128.
Count up signal
Specified by signal number or logical expressions. Each time this signal changes from OFF to
ON, the counter counts up by 1.
Count down signal
Specified by signal number or logical expressions. Each time this signal changes from OFF to
ON, the counter counts down by 1.
Counter clear signal
Specified by signal number or logical expressions. If this signal is turned ON, the internal
counter is reset to 0.
Counter value
When the internal counter reaches this value, the specified signal is output. If “0”is given, the
counter signal is turned OFF.
Explanation
If the count up signal changes from OFF to ON when the SCNT command is executed, then the
internal counter value increases by 1. If the count down signal changes from OFF to ON, the
internal counter value decreases by 1. When the internal counter value reaches the value
specified in the parameter (counter value), the counter signal is output. If the counter clear
signal is output, value of the internal counter is set at 0. Each counter signal has its own
individual counter value. To force reset of the internal counter to 0, use SCNTRESET
command.
To check the states of signals 3001 to 3128, use the IO/E command. (Option)
5-102

 

 

 

 

 

 

 

Content      ..     4      5      6      7     ..