question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Ryusuke T commented

Transfer Mitsubishi PLC device values ​​to global table

When connecting to a Mitsubishi PLC, please tell me how to write the device value "D0" to the global table.

As shown in the image below, if I set the data type to DInt, enter D0 in the address, select "Write to global table" in the action, and enter "newValue" in the value field, will it be possible to write?

1724144950510.png

This is a question from a customer, but I don't have a verification environment so I can't give a clear answer. Could you please give me some advice?


Thank you in advance.

FlexSim 24.0.4
plc emulation
1724144950510.png (31.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Luciano Cavallero avatar image
0 Likes"
Luciano Cavallero answered Ryusuke T commented

The 'Action' picklist provide two variables: "oldValue" and "newValue"1724658863971.png
You can use "newValue" for write the value to the global table.

Hope this help.


1724658863971.png (74.6 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ryusuke T avatar image Ryusuke T commented ·

Thank you for your reply. We will pass on your reply to our customer.

0 Likes 0 ·
Ryusuke T avatar image Ryusuke T Ryusuke T commented ·

@Luciano Cavallero ,

I communicated your answer to the customer, but no matter what value I enter into the device value "D0," "0" remains written to the global table and the correct device value cannot be written.

Do you have any advice on how to write the device value?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ryusuke T commented ·
Hey were you able to figure this out with Flexcon, and if so could you share the resolution here?
0 Likes 0 ·
Show more comments