News:
Home
Help
Search
Login
Register
February 17, 2026, 05:13:18 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Sample Code Request for DO-More controlling GS4 thru GS-EDVR.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sample Code Request for DO-More controlling GS4 thru GS-EDVR. (Read 256 times)
Saturn_Europa1
Newbie
Posts: 9
Sample Code Request for DO-More controlling GS4 thru GS-EDVR.
«
on:
February 15, 2026, 04:14:04 PM »
Does anyone have any sample ladder logic code to write to a .RS485SpeedRef and a .RunCommand . I could not find any samples online.
I found this in another program at my facility that takes a 0-100 input from a C-More and writes it into a .RS485SpeedRef. However, I am confused because I thought that the GS drives took unsigned 16 bits instead of Real. (see attached).
Logged
MikeS
Host Moderator
Hero Member
Posts: 257
Re: Sample Code Request for DO-More controlling GS4 thru GS-EDVR.
«
Reply #1 on:
February 16, 2026, 08:46:33 AM »
this is a piece of code that manipulates the values you're asking about. it calculates a random speed between 100 and 250Hz, sets the direction, sets the accel and decel rates, then sets the run command:
«
Last Edit: February 16, 2026, 08:48:32 AM by MikeS
»
Logged
Good design costs a lot. Bad design costs even more.
Print
Pages: [
1
]
« previous
next »
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Sample Code Request for DO-More controlling GS4 thru GS-EDVR.