Current location - Trademark Inquiry Complete Network - Overdue credit card - Communication has been established between the host computer of Mitsubishi MX control and L02 PLC. What function should I use to send and receive the soft element m?
Communication has been established between the host computer of Mitsubishi MX control and L02 PLC. What function should I use to send and receive the soft element m?
Writedeviceblock or writedeviceblock 2 word writing function. The former is long and the latter is int.

And GetDevice and SetDevice are bit-reading and bit-writing, and they can read and write the word soft element D of PLC unless the landlord says so.

So you can use SetDevice. Examination:

IRet = Actfxcpu 1。 SetDevice("m0 ", 1)

That is, set m0.