-
Content count
1801 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Michael Walsh
-
Put your programs here and we can look.
-
CP1L-EM40DR-D PLC's communicatoin using FINS
Michael Walsh replied to niyaz's topic in CX-Programmer
Look at the SEND command. It is pretty straight forward. -
Here is my example: This is what the example does: Here is the code to do that: It gets more confusing when you start wrapping around with the digits, but for extracting a byte or a digit and moving it to another word (like above), it is pretty straight forward.
-
Sysmac Studio, NJ, NA HMI, Alarms problem
Michael Walsh replied to kingkumak's topic in NJ Series / Sysmac Studio
You are welcome. -
Sysmac Studio, NJ, NA HMI, Alarms problem
Michael Walsh replied to kingkumak's topic in NJ Series / Sysmac Studio
Your button that is supposed to take you to the alarm screen actually takes you to the HMIParameters screen. The HMIParameters screen does not have an alarm viewer on it. Even the button on the HMIParameters screen that says Alarms points to the HMIParameters screen (you likely copied it). Change your switch screen buttons. -
Sysmac Studio, NJ, NA HMI, Alarms problem
Michael Walsh replied to kingkumak's topic in NJ Series / Sysmac Studio
Export your project and attach it here. -
Done.
-
For internal temperature / process control, you might use the PID or PIDAT instructions as well as the TPO instruction (if you have a digital output to control the heater). You should also look at scaling instructions for the analog I/O (APR, SCL, SCL2, etc.). You might look at function blocks a bit for scaling as well, here is a good one that I wrote a while back: http://forums.mrplc.com/index.php?/files/file/996-analog-scaling-function-block/ As far as PID is concerned, look around a bit, here is a good link: http://forums.mrplc.com/index.php?/topic/7168-sample-pid-program/
-
Caress is using a G-Series drive, not a G5.
-
Correct. If you use pins 1 and 2, then the resistor is built into the drive. If you use pins 3 and 5, it is not. See below:
-
Check it again as I added another sample as you replied.
-
This is one way to do it. ForNextIntExtract.cxp Be aware that this will increase your cycle time. Sometimes it is a good idea to not use the for next loop and just execute 1/80th of the loop each time the PLC scans. In other words, it would look something like this (I would recommend this way if you do not need to do it in one scan): IntExtractNoForNext.cxp
-
A for next loop using the MOVD instruction would be a good way to do this.
-
You have already started a topic on this (Although this is neither a CX-One or CX-Programmer question as you are not using our PLCs), please wait for an answer there. Here is the original question: http://forums.mrplc.com/index.php?/topic/30617-basic-programming/
-
He is already using NTST... he just capitalized the wrong letters. NT series Support Tool. And even NTST is very old. As you can see, my installation (which is the newest version) was last updated in November, 2008.
-
The one that I listed above will work. Not sure about the other. It is likely that the communication parameters are not set properly in your software. (connect pulldown menu, then Comms Setting).
-
Is it possible to open a TCP telnet session with an NJ?
Michael Walsh replied to AngryRobot's topic in NJ Series / Sysmac Studio
Yes, look up the Socket Services functionality. -
Great, then post your question in that forum, not the Omron forum. http://forums.mrplc.com/index.php?/forum/20-modicon-telemecanique-schneider-electric/
-
The NT11S does not use a standard serial cable. You need to make your own, or buy one from Omron. This is the pinout:
-
Writing/Reading Word Values As Addresses?
Michael Walsh replied to AngryRobot's topic in NJ Series / Sysmac Studio
Yes. You can accomplish exactly what you want using a union. -
gateways setup for PLC CJ1M with Ethernet module
Michael Walsh replied to Raffali's topic in CX-Programmer
about the setup... should i have to configure the router for gateways? You will have to configure the router so that your communications can get through somehow. and about the ip router table.. the first column (which is ip address) is stance for what? I have answered this twice in this post already. It is the networks that you will communicate through the gateway. 0.0.0.0 means that you will allow communications from any network through the gateway. also second column in the dialog (which is it say ip router address) is stance for what? I have also answered this twice in this post. It is the "default gateway" IP Address. if am set for my network in control panel 10.61.47.237 and 255.255.252.0 then can i set the ip address for plc start with 10.61.47.x 255.255.255.0 or i should only use 192.168.1.x 255.255.255.0 only? You should set your subnet as 255.255.252.0 and use the addresses you want to use. This may cause some issues with the node number dialed in on the front of the PLC matching the node number of the IP Address. See here: http://forums.mrplc.com/index.php?/topic/25148-cj2m-ethernet-ip-error-f3/#comment-121115 -
Since your subnet is 255.255.252.0 (from other post), you will also have to worry about this issue: http://forums.mrplc.com/index.php?/topic/25148-cj2m-ethernet-ip-error-f3/#comment-121115
-
Quick drawing of subnet mask to help with the discussion: Therefore, with a subnet mask of 255.255.254.0, the last bit of the third octet becomes a part of the node address. So, if your IP address is 192.168.1.101, then your node address is really this in binary: FINS Node numbers can range from 1-254. Since your node number is 357 in this case, then it cannot automatically map the IP Address to a valid FINS node number. By making the IP Address table, you are mapping IP Address 192.168.1.101 (node 357) to node 101. In the automatic mode, it would have assumed that node 101 was 192.168.0.101. What this in effect gives you is one network whose IP Addresses start with 192.168.0 or 192.168.1 and has 508 possible nodes (with no router required). This is compared to a standard class C network (subnet of 255.255.255.0) which would have IP Addresses that start with either 192.168.0 or 192.168.1 (and would require a router to communicate between the 2 networks). Each network could have 254 nodes in this case.
-
NQ Design and CX-Programmer
Michael Walsh replied to Stanciu Gabriela's topic in Other Omron Software
It sounds like she is asking how to assign the button to the address as well. I do not have NQ Designer on my PC, or I would help.