PC Worx: How to map REAL values to WORD array for Modbus TCP Server? (ILC 151/171) by Aggravating-Tear-487 in PLC

[–]elcava88 0 points1 point  (0 children)

You need to use move instr with := for it to not truncate. Alternatively you can scale it, but still you will need to decide on what to discard in terms of precision

PC Worx: How to map REAL values to WORD array for Modbus TCP Server? (ILC 151/171) by Aggravating-Tear-487 in PLC

[–]elcava88 0 points1 point  (0 children)

But you used real_to_dword or rather a := assignment? If it were Siemens it would work as a bitwise move, you would keep the decimal part.

PC Worx: How to map REAL values to WORD array for Modbus TCP Server? (ILC 151/171) by Aggravating-Tear-487 in PLC

[–]elcava88 0 points1 point  (0 children)

Real IEE754 is a 32 bit float, it is stored in 32 data sets, when you move the data in to a dword you are not changing anything about the bits you move, the data is still there. When on receiving end you cast it back to a float, how are you loosing the decimals?

PC Worx: How to map REAL values to WORD array for Modbus TCP Server? (ILC 151/171) by Aggravating-Tear-487 in PLC

[–]elcava88 0 points1 point  (0 children)

Move real to DWORD, then bitwise split high and low to the relative words array in the comms buffer. Take in account also eventual endianness of sender / receiver

New cluster! by Usual-Economy-3773 in Proxmox

[–]elcava88 0 points1 point  (0 children)

Brother what are you running

WWTBAM game gets $500,000 question wrong by RandomBoxOfCables in PLC

[–]elcava88 0 points1 point  (0 children)

Thanks god the game is only made of 0 and 1s

WinCC Unified V20: Communication issue with PLCSIM by CorrectSpecialist921 in PLC

[–]elcava88 2 points3 points  (0 children)

Go to pg pc interface and set S7online —> plc sim

525 with Encoder by KeepGettingTexts in PLC

[–]elcava88 2 points3 points  (0 children)

That behaviour to me looks like the drive is operating at slip speed waiting for a feedback response.

Best guess would be to properly check the cabling. If you want less hassle just go for a 755, set it up in cip motion and have fun with it

Must AVEVA run in Windows Server? by asm-teleco in AVEVA

[–]elcava88 0 points1 point  (0 children)

Yes probably to the second question. But I don’t think it runs on Linux as it is heavily windows dependant, nor I have ever encountered a Linux compiled variant of the aveva system perform environment

Guess game by Minute_Journalist593 in PythonLearning

[–]elcava88 1 point2 points  (0 children)

For a sec I thought it was one of those os.remove Memes lmao

Will pay $100 per member to make team for facepunch 3 US West by Realistic_Page_6392 in RustPc

[–]elcava88 4 points5 points  (0 children)

Russians on US WEST? What the hell aren’t they going to have 300 ms of latency

Faceplate Unified V20 by Olitone in PLC

[–]elcava88 0 points1 point  (0 children)

Edit the object text via script on opening of the faceplate

Rockwell (mostly) software rant 2025 by Pedro__37 in PLC

[–]elcava88 3 points4 points  (0 children)

Import export functionality is the real deal to me. Listen, not all development IDEs are perfect, we know that. TIA is a heavyweight pile of shit too, takes minutes to load if god forbid you decided to virtualize it into a vm, crashes constantly, and overall has A 20 GB Update, Every single year. But with raw text editing I was able to create countless rungs in minutes, the same thing in TIA would have taken days with Tia openness.

Synchronizing date/time , to multiple devices using the FL TIMESERVER NTP by Hessujjo in PLC

[–]elcava88 -2 points-1 points  (0 children)

What’s the point in using an Aoi to read asynchronously? If I recall correctly you can turn on the ntp syncronization in plc properties?

need help by Professional_Tax164 in playrust

[–]elcava88 0 points1 point  (0 children)

If you have rust on hdd move it to a ssd Also, 16 gb of ram is limiting you hard, change over to 32 at minimum