Error number sending to HMI_PLC (Programs running continuously, Always mode)
This is an universal solution describing how to send actual error code or other data from robot all the time (even if robot is in Error State).
This solution uses State Variable, Multitasking function and program set in Always (permanent) mode.
I Program for data exchanging
Define a separate program which will be performed independently in Always mode. In example below program name is: DATA
In the program use desired rewriting to outputs. For example in order to rewrite actual robot's error code, a special M_ErrNo state variable is used. In this case the value is written to CC-Link network (6000 outputs area).
If the same manner the other important data can be sent from robot all the time.
II Registration program in Always mode
Register selected program in an order below
1 Open Slot Table paremeters
2 Select one spare slot (with no program name)
3 Click Set… and confirm next window about reading program list
4 In Slot Table Parameter Setting chose desired program
5 Set condition to ALWAYS
6 Write parameters and restart robot
After restarting the robot the program will run.
III Working test
If any error occures, its code is sent by defined outputs:
IV Program's (run in Always mode) changing
If there is a need to make changes in a program which already works in Always mode, the special stopping procedure must be run.
1 Open Slot Run State in a Monitor tab
2 Click Stop All Program button
Now all programs are stopped and can be opened and edited.
After changes done, reboot a robot to run programs in Always mode again.
Related Articles
PLC loads robot’s programs by control register
Robot can be controlled by general PLC or other system. This article shows how to easly run any robot’s program by one control register and its deferent values. Komendy Tool, Oadl są zachowane zarówno przy wywołaniu programu instrukcją CallP, jak i ...
INV - FR-E800 - Position control in Vector Mode
The article provides information on how to prepare the FR-E800 frequency converter and FR-A8AP -E-kit encoder card for positional vector operation. For details, refer to the manual: FR-E800 Instruction Manual (Function), Chapter 7 FR-A8AP E-kit card ...
Sample GOT screens for robot control (FR Series, CR800-D), Full Project
An official sample GOT2000 project for robot FR Series (CR800-D controller) controlling and monitoring System configuration: Project contains follwing screens: Robot operation Position Edit JOG control HAND control Variable edit Load level monitor ...
Summary of the programs included in iQ Works suite
This article summarizes all the software included in the Mitsubishi iQ Works software suite. An iQ Works license code is required for all programs to work. All software can be downloaded from Mitsubishi Electric main site: ...
Setting robot additional mechanism (external)
The article describes how to set and program robot additional servo axis as a separate mechanism (for example rotary table). The detailed information can be found in: ADDITIONAL AXIS FUNCTION INSTRUCTION MANUAL (BFP-A3504) The article do not describe ...