ID : 7925
FB That Returns Initial Values (for Version.5.35)
In MULTIPROG version 5.35, you cannot configure the initial values for the structured type data or array type.
Therefore, on the structured type data that is supplied with DENSO-provided FB library file, initial value of all elements will be "0".
To enter the DENSO-configured initial values, use "FB that returns initial values" that is included in the DENSO-provided FB library file.
FBs are prepared for each structured type data. Use a suitable FB for the structure type you use.
The following table shows the target FBs and variables.
FB name | Variable |
---|---|
MC_MoveDirectAbsolute | CoordSystem |
MC_MoveDirectRelative | |
MC_MoveLinearAbsolute | |
MC_MoveLinearRelative | |
MC_MoveCircularAbsolute | |
MC_MoveApproachDirect | |
MC_MoveApproachLinear | |
MC_MoveDepartDirect | |
MC_MoveDepartLinear | |
MC_MoveSpline | |
MC_MoveRotateH | ExtAxPosition |
MC_SetDynamic | Dynamic |
MC_WriteAreaDataOp2 | ExOption 1 to 4 |
MC_WriteRCDT | DTValue |
MC_WriteRCBatteryDT | |
MC_WriteEncBatteryDT | |
MC_WriteRCEtherConfig | CommunicationData |
MC_WriteExcutableToken |
F_CoordSys
This FB is used for "CoordSystem" variable.
FB | FB capture | DataType | Output | Value |
---|---|---|---|---|
F_CoordSys | eRC_CoordSys | CoordSys.Tool | -1 | |
CoordSys.Work | -1 |
F_Joint
This FB is used for "ExtAxPosition" variable.
FB | FB capture | DataType | Output | Value |
---|---|---|---|---|
F_Joint | eRC_Joint | Joint.J1 | -1.0 | |
Joint.J2 | 0.0 | |||
Joint.J3 | 0.0 | |||
Joint.J4 | 0.0 | |||
Joint.J5 | 0.0 | |||
Joint.J6 | 0.0 | |||
Joint.J7 | 0.0 | |||
Joint.J8 | 0.0 |
F_Dynamic
This FB is used for "Dynamic" variable.
FB | FB capture | DataType | Output | Value |
---|---|---|---|---|
F_Dynamic | eRC_Dynamic | Dynamic.Velcity | 1.0 | |
Dynamic.Accel | 1.0 | |||
Dynamic.Decel | 1.0 |
F_ArrExOpt
This FB is used for "ExOption 1"to "ExOption 4".
FB | FB capture | DataType | Output | Value |
---|---|---|---|---|
F_ArrExOpt | REAL[3] | ExOptin[0] | 0.0 | |
ExOptin[1] | 0.0 | |||
ExOptin[2] | 0.1 |
F_DTL
This FB is used for "DTValue" variable.
FB | FB capture | DataType | Output | Value |
---|---|---|---|---|
F_DTL | DTL | DTValue.YEAR | 1970 | |
DTValue.MONTH | 1 | |||
DTValue.DAY | 1 | |||
DTValue.WEEKDAY | 5 | |||
DTValue.HOUR | 0 | |||
DTValue.MINUTE | 0 | |||
DTValue.SECOND | 0 | |||
DTValue.NANOSECOND | 0 |
F_Ethernet
This FB is used for "CommunicationData" variable.
FB | FB capture | DataType | Output | Value |
---|---|---|---|---|
F_Ethernet | eRC_Ethernet | Ethernet.DHCP | FALSE | |
Ethernet.IPAddress[1] | 192 | |||
Ethernet.IPAddress[2] | 168 | |||
Ethernet.IPAddress[3] | 0 | |||
Ethernet.IPAddress[4] | 1 | |||
Ethernet.SubnetMask[1] | 255 | |||
Ethernet.SubnetMask[2] | 255 | |||
Ethernet.SubnetMask[3] | 255 | |||
Ethernet.SubnetMask[4] | 0 | |||
Ethernet.Gateway[1] | 0 | |||
Ethernet.Gateway[2] | 0 | |||
Ethernet.Gateway[3] | 0 | |||
Ethernet.Gateway[4] | 0 |
Usage
Enter a return value of FB suitable for the target variable.
ID : 7925